Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001791/0.001791, allocations: 77.7 kB / 21.25 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002097/0.002097, allocations: 160.8 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 177.1 MB / 204.7 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.213/0.213, allocations: 34.26 MB / 295.4 MB, free: 14.47 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002435/0.002435, allocations: 79.88 kB / 443.2 MB, free: 6.453 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2877, allocations: 66.06 MB / 0.4973 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.02935/0.3171, allocations: 35.89 MB / 0.5323 GB, free: 5.895 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0226/0.3397, allocations: 18.04 MB / 0.55 GB, free: 9.953 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009733/0.3407, allocations: 27.84 kB / 0.55 GB, free: 9.938 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001358/0.342, allocations: 409.4 kB / 0.5504 GB, free: 9.73 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01647/0.3585, allocations: 5.126 MB / 0.5554 GB, free: 6.145 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007403/0.3659, allocations: 2.543 MB / 0.5579 GB, free: 4.266 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004014/0.3699, allocations: 1.973 MB / 0.5598 GB, free: 3.137 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009235/0.3708, allocations: 409.7 kB / 0.5602 GB, free: 2.84 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01072/0.3815, allocations: 4.173 MB / 0.5643 GB, free: 256 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01294/0.3945, allocations: 5.487 MB / 0.5696 GB, free: 11.21 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002598/0.3947, allocations: 64 kB / 0.5697 GB, free: 11.15 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01425/0.409, allocations: 6.915 MB / 0.5764 GB, free: 4.227 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004737/0.4095, allocations: 275.1 kB / 0.5767 GB, free: 3.957 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007587/0.4102, allocations: 370.4 kB / 0.577 GB, free: 3.594 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01148/0.4217, allocations: 4.992 MB / 0.5819 GB, free: 14.59 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.4217, allocations: 0 / 0.5819 GB, free: 14.59 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4217, allocations: 0 / 0.5819 GB, free: 14.59 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.4217, allocations: 0 / 0.5819 GB, free: 14.59 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.004282/0.426, allocations: 1.6 MB / 0.5835 GB, free: 12.95 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.426, allocations: 8.031 kB / 0.5835 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001596/0.4276, allocations: 224.3 kB / 0.5837 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.4287, allocations: 0.4987 MB / 0.5842 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001738/0.4289, allocations: 160.7 kB / 0.5843 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.429, allocations: 64.12 kB / 0.5844 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002173/0.4312, allocations: 1.33 MB / 0.5857 GB, free: 10.46 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.871e-05/0.4312, allocations: 7.938 kB / 0.5857 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.948e-05/0.4313, allocations: 28 kB / 0.5857 GB, free: 10.42 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.658e-05/0.4313, allocations: 40.98 kB / 0.5858 GB, free: 10.38 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001723/0.4331, allocations: 0.8193 MB / 0.5866 GB, free: 9.562 MB / 494.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.005697/0.4388, allocations: 4.494 MB / 0.591 GB, free: 4.91 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/0.4401, allocations: 0.5171 MB / 0.5915 GB, free: 4.367 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003509/0.4404, allocations: 214.7 kB / 0.5917 GB, free: 4.148 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09612/0.5365, allocations: 26.11 MB / 0.6172 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.25e-05/0.5366, allocations: 46.31 kB / 0.6172 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=39): time 2.304e-06/0.5366, allocations: 0 / 0.6172 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.006645/0.5432, allocations: 2.058 MB / 0.6192 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/0.5433, allocations: 191.9 kB / 0.6194 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007058/0.544, allocations: 0.5611 MB / 0.62 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.015e-05/0.5441, allocations: 37.7 kB / 0.62 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003185/0.5444, allocations: 423.8 kB / 0.6204 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/0.5446, allocations: 162.6 kB / 0.6205 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002285/0.5448, allocations: 158.6 kB / 0.6207 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001903/0.545, allocations: 370.8 kB / 0.6211 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004177/0.5454, allocations: 233.9 kB / 0.6213 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007695/0.5462, allocations: 0.6689 MB / 0.6219 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/0.5474, allocations: 0.8649 MB / 0.6228 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/0.5474, allocations: 4 kB / 0.6228 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001576/0.549, allocations: 0.8922 MB / 0.6236 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.549, allocations: 8 kB / 0.6237 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.549, allocations: 12 kB / 0.6237 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003201/0.5522, allocations: 265.2 kB / 0.6239 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/0.5534, allocations: 283.6 kB / 0.6242 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001949/0.5554, allocations: 1.999 MB / 0.6261 GB, free: 200 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004706/0.5559, allocations: 32 kB / 0.6262 GB, free: 168 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.422e-05/0.5559, allocations: 47.92 kB / 0.6262 GB, free: 120 kB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],volume.medium.phase,shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004166/0.5564, allocations: 273.5 kB / 0.6265 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001689/0.5565, allocations: 71.52 kB / 0.6265 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002666/0.5592, allocations: 2.097 MB / 0.6286 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.808e-05/0.5592, allocations: 23.95 kB / 0.6286 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.5592, allocations: 4 kB / 0.6286 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.5592, allocations: 3.938 kB / 0.6286 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005403/0.5646, allocations: 2.821 MB / 0.6314 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.5646, allocations: 0 / 0.6314 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001441/0.5661, allocations: 187.8 kB / 0.6316 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002606/0.5687, allocations: 300.4 kB / 0.6318 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.974e-05/0.5688, allocations: 23.92 kB / 0.6319 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00285/0.5716, allocations: 2.054 MB / 0.6339 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.5716, allocations: 4.156 kB / 0.6339 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004081/0.5757, allocations: 1.986 MB / 0.6358 GB, free: 6.078 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005379/0.5763, allocations: 143.2 kB / 0.636 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002229/0.5765, allocations: 35.78 kB / 0.636 GB, free: 5.902 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006966/0.5772, allocations: 11.98 kB / 0.636 GB, free: 5.891 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.5773, allocations: 40.31 kB / 0.636 GB, free: 5.852 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002152/0.5775, allocations: 20.03 kB / 0.6361 GB, free: 5.832 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0014/0.5789, allocations: 0.5068 MB / 0.6366 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5789, allocations: 0 / 0.6366 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004826/0.5837, allocations: 1.104 MB / 0.6376 GB, free: 4.215 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007639/0.5914, allocations: 1.196 MB / 0.6388 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004163/0.5955, allocations: 0.9137 MB / 0.6397 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-05/0.5956, allocations: 4 kB / 0.6397 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002362/0.5979, allocations: 0.5933 MB / 0.6403 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003491/0.6014, allocations: 333.1 kB / 0.6406 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006049/0.6075, allocations: 2.184 MB / 0.6427 GB, free: 14.96 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008914/0.6084, allocations: 0.496 MB / 0.6432 GB, free: 14.43 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001399/0.6097, allocations: 337.4 kB / 0.6435 GB, free: 14.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002182/0.61, allocations: 60.5 kB / 0.6436 GB, free: 14.04 MB / 0.545 GB Notification: Performance of SimCode: time 1.052e-06/0.61, allocations: 0 / 0.6436 GB, free: 14.04 MB / 0.545 GB Notification: Performance of Templates: time 0.118/0.7279, allocations: 44.11 MB / 0.6867 GB, free: 2.129 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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: 8.294178846059367]