Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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.00149/0.00149, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001485/0.001485, allocations: 208.5 kB / 23.73 MB, free: 4.387 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.499/1.499, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2408/0.2408, allocations: 46.94 MB / 360.8 MB, free: 4.023 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.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002654/0.002654, allocations: 67.89 kB / 0.4966 GB, free: 7.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3246, allocations: 66.03 MB / 0.5611 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.04609/0.3707, allocations: 35.87 MB / 0.5961 GB, free: 156 kB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02635/0.397, allocations: 18.05 MB / 0.6137 GB, free: 14.04 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007178/0.3977, allocations: 27.75 kB / 0.6138 GB, free: 14.01 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001245/0.399, allocations: 417.4 kB / 0.6142 GB, free: 13.6 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01384/0.4128, allocations: 5.123 MB / 0.6192 GB, free: 8.48 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007031/0.4199, allocations: 2.551 MB / 0.6217 GB, free: 5.934 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002861/0.4227, allocations: 1.981 MB / 0.6236 GB, free: 3.945 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001059/0.4238, allocations: 409.8 kB / 0.624 GB, free: 3.531 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01148/0.4353, allocations: 4.173 MB / 0.6281 GB, free: 15.3 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01355/0.4488, allocations: 5.479 MB / 0.6334 GB, free: 9.738 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003997/0.4492, allocations: 68 kB / 0.6335 GB, free: 9.672 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01571/0.4649, allocations: 7.2 MB / 0.6405 GB, free: 2.465 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006033/0.4655, allocations: 279.1 kB / 0.6408 GB, free: 2.191 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009458/0.4665, allocations: 378.4 kB / 0.6411 GB, free: 1.82 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01337/0.4798, allocations: 4.972 MB / 0.646 GB, free: 12.84 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.096e-06/0.4798, allocations: 8 kB / 0.646 GB, free: 12.83 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.4798, allocations: 0 / 0.646 GB, free: 12.83 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.328e-05/0.4799, allocations: 0 / 0.646 GB, free: 12.83 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.004946/0.4848, allocations: 1.6 MB / 0.6476 GB, free: 11.19 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.4849, allocations: 8.031 kB / 0.6476 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001683/0.4866, allocations: 232.2 kB / 0.6478 GB, free: 10.96 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.4878, allocations: 0.4986 MB / 0.6483 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001884/0.488, allocations: 168.7 kB / 0.6484 GB, free: 10.24 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.4881, allocations: 60.12 kB / 0.6485 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002328/0.4905, allocations: 1.318 MB / 0.6498 GB, free: 8.695 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.723e-05/0.4905, allocations: 3.938 kB / 0.6498 GB, free: 8.691 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.585e-05/0.4906, allocations: 31.98 kB / 0.6498 GB, free: 8.66 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.706e-05/0.4906, allocations: 44.97 kB / 0.6499 GB, free: 8.617 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001809/0.4924, allocations: 0.8232 MB / 0.6507 GB, free: 7.793 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.006745/0.4992, allocations: 4.494 MB / 0.6551 GB, free: 3.145 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/0.5007, allocations: 0.5193 MB / 0.6556 GB, free: 2.598 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003777/0.501, allocations: 206.8 kB / 0.6558 GB, free: 2.387 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09493/0.596, allocations: 26.1 MB / 0.6812 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.802e-05/0.596, allocations: 54.3 kB / 0.6813 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=39): time 3.166e-06/0.596, allocations: 0 / 0.6813 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.007371/0.6034, allocations: 2.061 MB / 0.6833 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001403/0.6036, allocations: 191.9 kB / 0.6835 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008569/0.6044, allocations: 0.5572 MB / 0.684 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.642e-05/0.6045, allocations: 33.77 kB / 0.6841 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003537/0.6048, allocations: 427.8 kB / 0.6845 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001732/0.605, allocations: 166.6 kB / 0.6846 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002571/0.6053, allocations: 154.6 kB / 0.6848 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002108/0.6055, allocations: 374.8 kB / 0.6851 GB, free: 4.133 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000484/0.606, allocations: 229.9 kB / 0.6854 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008604/0.6068, allocations: 0.665 MB / 0.686 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001425/0.6083, allocations: 0.8645 MB / 0.6869 GB, free: 2.023 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.138e-05/0.6083, allocations: 4 kB / 0.6869 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001804/0.6101, allocations: 0.8967 MB / 0.6877 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/0.6101, allocations: 14.66 kB / 0.6878 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.3e-05/0.6101, allocations: 15.98 kB / 0.6878 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003765/0.6139, allocations: 268.5 kB / 0.688 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/0.6153, allocations: 275.6 kB / 0.6883 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002184/0.6175, allocations: 1.995 MB / 0.6902 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006911/0.6182, allocations: 31.98 kB / 0.6903 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.991e-05/0.6183, allocations: 43.94 kB / 0.6903 GB, free: 14.36 MB / 0.5294 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.0004797/0.6187, allocations: 279.8 kB / 0.6906 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000232/0.619, allocations: 71.58 kB / 0.6906 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002833/0.6218, allocations: 2.065 MB / 0.6927 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-05/0.6218, allocations: 19.97 kB / 0.6927 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.6218, allocations: 0 / 0.6927 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.6218, allocations: 15.98 kB / 0.6927 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004171/0.626, allocations: 2.815 MB / 0.6954 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.626, allocations: 7.984 kB / 0.6954 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001076/0.6271, allocations: 183.8 kB / 0.6956 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00212/0.6292, allocations: 303.9 kB / 0.6959 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.147e-05/0.6293, allocations: 15.94 kB / 0.6959 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002059/0.6313, allocations: 2.065 MB / 0.6979 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.6313, allocations: 3.938 kB / 0.6979 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002595/0.6339, allocations: 1.98 MB / 0.6999 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004283/0.6344, allocations: 147.2 kB / 0.7 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001587/0.6345, allocations: 27.78 kB / 0.7001 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004589/0.635, allocations: 16 kB / 0.7001 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.568e-05/0.6351, allocations: 44.47 kB / 0.7001 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.457e-05/0.6351, allocations: 19.98 kB / 0.7001 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007426/0.6359, allocations: 0.5029 MB / 0.7006 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.6359, allocations: 0 / 0.7006 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003334/0.6392, allocations: 1.104 MB / 0.7017 GB, free: 2.477 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.004533/0.6437, allocations: 1.188 MB / 0.7029 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002206/0.6459, allocations: 0.9132 MB / 0.7037 GB, free: 376 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.6459, allocations: 4 kB / 0.7038 GB, free: 372 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001345/0.6473, allocations: 0.6048 MB / 0.7043 GB, free: 15.75 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001788/0.6491, allocations: 321.3 kB / 0.7046 GB, free: 15.45 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003377/0.6525, allocations: 2.167 MB / 0.7068 GB, free: 13.25 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005572/0.653, allocations: 0.4999 MB / 0.7073 GB, free: 12.72 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007203/0.6537, allocations: 333.1 kB / 0.7076 GB, free: 12.39 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.6539, allocations: 63.42 kB / 0.7076 GB, free: 12.33 MB / 0.545 GB Notification: Performance of SimCode: time 7.11e-07/0.6539, allocations: 0 / 0.7076 GB, free: 12.33 MB / 0.545 GB Notification: Performance of Templates: time 0.3458/0.9997, allocations: 45.9 MB / 0.7525 GB, free: 156.5 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.879882798995823]