Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002047/0.002047, allocations: 115.6 kB / 20.43 MB, free: 1.465 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002341/0.002341, allocations: 212 kB / 23.74 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.516/1.516, allocations: 230.6 MB / 257.5 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.236/0.236, allocations: 46.93 MB / 360.8 MB, free: 4.285 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002175/0.002175, allocations: 63.91 kB / 0.4967 GB, free: 7.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3699, allocations: 66.02 MB / 0.5611 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02575/0.3957, allocations: 20.7 MB / 0.5814 GB, free: 15.65 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007505/0.4032, allocations: 4.337 MB / 0.5856 GB, free: 11.3 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007887/0.404, allocations: 27.75 kB / 0.5856 GB, free: 11.27 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.4051, allocations: 326 kB / 0.5859 GB, free: 10.95 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002622/0.4077, allocations: 0.8823 MB / 0.5868 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00282/0.4105, allocations: 0.9254 MB / 0.5877 GB, free: 9.148 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002679/0.4132, allocations: 1.821 MB / 0.5895 GB, free: 7.32 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006846/0.4139, allocations: 397.6 kB / 0.5898 GB, free: 6.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002086/0.4159, allocations: 0.9574 MB / 0.5908 GB, free: 5.969 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001269/0.4172, allocations: 0.6812 MB / 0.5914 GB, free: 5.285 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.4173, allocations: 60 kB / 0.5915 GB, free: 5.227 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009452/0.4183, allocations: 319.6 kB / 0.5918 GB, free: 4.914 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003185/0.4186, allocations: 267.2 kB / 0.5921 GB, free: 4.652 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004575/0.4191, allocations: 390.2 kB / 0.5924 GB, free: 4.27 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001574/0.4206, allocations: 1.097 MB / 0.5935 GB, free: 3.172 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/0.4206, allocations: 0 / 0.5935 GB, free: 3.172 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.4206, allocations: 0 / 0.5935 GB, free: 3.172 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.4206, allocations: 0 / 0.5935 GB, free: 3.172 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002735/0.4234, allocations: 0.9912 MB / 0.5945 GB, free: 2.148 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/0.4234, allocations: 8.031 kB / 0.5945 GB, free: 2.141 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003768/0.4238, allocations: 96.41 kB / 0.5946 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009932/0.4248, allocations: 478.7 kB / 0.595 GB, free: 1.551 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001871/0.425, allocations: 156.3 kB / 0.5952 GB, free: 1.375 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.4251, allocations: 52.33 kB / 0.5952 GB, free: 1.324 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/0.4265, allocations: 0.8135 MB / 0.596 GB, free: 444 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/0.4265, allocations: 4 kB / 0.596 GB, free: 440 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.539e-05/0.4266, allocations: 31.97 kB / 0.5961 GB, free: 408 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.468e-05/0.4267, allocations: 40.92 kB / 0.5961 GB, free: 368 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/0.4278, allocations: 0.6439 MB / 0.5967 GB, free: 15.71 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005571/0.4334, allocations: 4.158 MB / 0.6008 GB, free: 11.28 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009424/0.4344, allocations: 405.6 kB / 0.6012 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003649/0.4347, allocations: 197.4 kB / 0.6014 GB, free: 10.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000304/0.435, allocations: 60.27 kB / 0.6014 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/0.4351, allocations: 34.89 kB / 0.6015 GB, free: 10.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.244e-06/0.4351, allocations: 0 / 0.6015 GB, free: 10.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.003455/0.4385, allocations: 1.459 MB / 0.6029 GB, free: 9.082 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.4386, allocations: 136.5 kB / 0.603 GB, free: 8.918 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007685/0.4394, allocations: 0.5732 MB / 0.6036 GB, free: 8.332 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.285e-05/0.4395, allocations: 37.7 kB / 0.6036 GB, free: 8.289 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003363/0.4398, allocations: 367.8 kB / 0.604 GB, free: 7.926 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/0.44, allocations: 162.6 kB / 0.6041 GB, free: 7.766 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002216/0.4402, allocations: 142.6 kB / 0.6042 GB, free: 7.621 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002141/0.4404, allocations: 378.7 kB / 0.6046 GB, free: 7.242 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004104/0.4408, allocations: 221.9 kB / 0.6048 GB, free: 7.023 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006936/0.4415, allocations: 0.5201 MB / 0.6053 GB, free: 6.367 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/0.4427, allocations: 0.7835 MB / 0.6061 GB, free: 5.457 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.4427, allocations: 4 kB / 0.6061 GB, free: 5.453 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001915/0.4446, allocations: 0.9337 MB / 0.607 GB, free: 4.508 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/0.4446, allocations: 12 kB / 0.607 GB, free: 4.496 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/0.4446, allocations: 11.98 kB / 0.607 GB, free: 4.484 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001187/0.4458, allocations: 264.9 kB / 0.6073 GB, free: 4.223 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004466/0.4463, allocations: 119.8 kB / 0.6074 GB, free: 4.105 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001171/0.4474, allocations: 0.8791 MB / 0.6083 GB, free: 3.203 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004866/0.4479, allocations: 28 kB / 0.6083 GB, free: 3.176 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.42e-05/0.448, allocations: 35.98 kB / 0.6083 GB, free: 3.141 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0004025/0.4484, allocations: 241.5 kB / 0.6085 GB, free: 2.895 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.4485, allocations: 67.64 kB / 0.6086 GB, free: 2.828 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001432/0.4499, allocations: 0.7171 MB / 0.6093 GB, free: 2.113 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.398e-05/0.45, allocations: 8 kB / 0.6093 GB, free: 2.105 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.45, allocations: 0 / 0.6093 GB, free: 2.105 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.45, allocations: 0 / 0.6093 GB, free: 2.105 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002365/0.4523, allocations: 1.364 MB / 0.6107 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.4523, allocations: 8.156 kB / 0.6107 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009901/0.4533, allocations: 199.7 kB / 0.6109 GB, free: 472 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002538/0.4536, allocations: 52.75 kB / 0.6109 GB, free: 416 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.252e-05/0.4536, allocations: 19.98 kB / 0.6109 GB, free: 396 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002811/0.4564, allocations: 2.779 MB / 0.6136 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.4564, allocations: 4.031 kB / 0.6136 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/0.4581, allocations: 1.002 MB / 0.6146 GB, free: 12.33 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003254/0.4585, allocations: 131.4 kB / 0.6147 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.751e-05/0.4586, allocations: 12 kB / 0.6148 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003566/0.4589, allocations: 23.92 kB / 0.6148 GB, free: 12.17 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.459, allocations: 47.95 kB / 0.6148 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-05/0.4591, allocations: 19.98 kB / 0.6148 GB, free: 12.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005606/0.4596, allocations: 423 kB / 0.6152 GB, free: 11.68 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4596, allocations: 0 / 0.6152 GB, free: 11.68 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000767/0.4604, allocations: 203.9 kB / 0.6154 GB, free: 11.48 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004052/0.4608, allocations: 223.4 kB / 0.6157 GB, free: 11.26 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001231/0.462, allocations: 0.589 MB / 0.6162 GB, free: 10.67 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.462, allocations: 8 kB / 0.6162 GB, free: 10.66 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001215/0.4633, allocations: 466.3 kB / 0.6167 GB, free: 10.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001671/0.4649, allocations: 377.9 kB / 0.617 GB, free: 9.836 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002605/0.4675, allocations: 1.423 MB / 0.6184 GB, free: 8.363 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006148/0.4681, allocations: 0.9384 MB / 0.6193 GB, free: 7.398 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006253/0.4688, allocations: 198.6 kB / 0.6195 GB, free: 7.219 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/0.4689, allocations: 59.42 kB / 0.6196 GB, free: 7.16 MB / 462.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4689, allocations: 4 kB / 0.6196 GB, free: 7.156 MB / 462.1 MB Notification: Performance of Templates: time 0.02902/0.4979, allocations: 15.88 MB / 0.6351 GB, free: 7.473 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.996264316141605]