Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008637/0.0008637, allocations: 84.44 kB / 20.69 MB, free: 3.871 MB / 18.57 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.0008042/0.0008042, allocations: 173.9 kB / 23.96 MB, free: 0.5977 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.7583/0.7583, allocations: 158.6 MB / 185.7 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1148/0.1148, allocations: 32.37 MB / 270.4 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_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.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 3.938 kB / 408.1 MB, free: 1.711 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.547e-05/1.664e-05, allocations: 5.938 kB / 408.1 MB, free: 1.707 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.02208/0.02209, allocations: 35.49 MB / 443.6 MB, free: 14.08 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01305/0.03514, allocations: 18.03 MB / 461.6 MB, free: 11.99 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003216/0.03546, allocations: 31.69 kB / 461.7 MB, free: 11.96 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007064/0.03617, allocations: 421.2 kB / 462.1 MB, free: 11.55 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006974/0.04314, allocations: 5.186 MB / 467.3 MB, free: 6.34 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003974/0.04712, allocations: 2.582 MB / 469.9 MB, free: 3.742 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001331/0.04845, allocations: 2.012 MB / 471.9 MB, free: 1.723 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003709/0.04882, allocations: 417.7 kB / 472.3 MB, free: 1.301 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1486/0.1974, allocations: 4.4 MB / 476.7 MB, free: 48.72 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004273/0.2017, allocations: 5.428 MB / 482.1 MB, free: 47.31 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 7.95e-05/0.2018, allocations: 66.41 kB / 482.2 MB, free: 47.31 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006831/0.2086, allocations: 6.913 MB / 489.1 MB, free: 47.3 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001777/0.2088, allocations: 303.5 kB / 489.4 MB, free: 47.29 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002296/0.209, allocations: 317.3 kB / 489.7 MB, free: 47.29 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004677/0.2137, allocations: 6.098 MB / 495.8 MB, free: 47.21 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.2137, allocations: 0 / 495.8 MB, free: 47.21 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2137, allocations: 0 / 495.8 MB, free: 47.21 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.347e-06/0.2137, allocations: 0 / 495.8 MB, free: 47.21 MB / 442.7 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.001988/0.2157, allocations: 1.583 MB / 497.4 MB, free: 46.43 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.2157, allocations: 9.406 kB / 497.4 MB, free: 46.43 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007216/0.2164, allocations: 223.6 kB / 497.6 MB, free: 46.38 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000529/0.217, allocations: 0.4994 MB / 498.1 MB, free: 46.18 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.178e-05/0.2171, allocations: 170.6 kB / 498.3 MB, free: 46.05 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.469e-05/0.2171, allocations: 61.62 kB / 498.3 MB, free: 46.05 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.2182, allocations: 1.349 MB / 499.7 MB, free: 45.41 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.2182, allocations: 7.094 kB / 499.7 MB, free: 45.41 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.584e-05/0.2182, allocations: 32.78 kB / 499.7 MB, free: 45.41 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.452e-05/0.2183, allocations: 38.8 kB / 499.8 MB, free: 45.41 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009043/0.2192, allocations: 0.8165 MB / 0.4888 GB, free: 45.41 MB / 442.7 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.002786/0.222, allocations: 4.481 MB / 0.4932 GB, free: 42.54 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007218/0.2227, allocations: 0.5164 MB / 0.4937 GB, free: 42.47 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002002/0.2229, allocations: 201.7 kB / 0.4939 GB, free: 42.44 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03833/0.2612, allocations: 25.16 MB / 0.5185 GB, free: 39.19 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.2613, allocations: 45.3 kB / 0.5185 GB, free: 39.15 MB / 442.7 MB Notification: Performance of pre-optimization done (n=39): time 1.934e-06/0.2613, allocations: 4 kB / 0.5185 GB, free: 39.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=44): time 0.003275/0.2645, allocations: 2.055 MB / 0.5205 GB, free: 38.42 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.2646, allocations: 183.5 kB / 0.5207 GB, free: 38.2 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003782/0.2649, allocations: 0.5551 MB / 0.5212 GB, free: 37.98 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.265, allocations: 33.2 kB / 0.5213 GB, free: 37.95 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.2651, allocations: 426.5 kB / 0.5217 GB, free: 37.68 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.58e-05/0.2651, allocations: 167.8 kB / 0.5218 GB, free: 37.56 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.2653, allocations: 156.5 kB / 0.522 GB, free: 37.49 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.905e-05/0.2653, allocations: 373.1 kB / 0.5223 GB, free: 37.13 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/0.2655, allocations: 232.7 kB / 0.5226 GB, free: 37.02 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002966/0.2658, allocations: 0.6579 MB / 0.5232 GB, free: 36.34 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000535/0.2663, allocations: 0.8814 MB / 0.5241 GB, free: 35.52 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.2663, allocations: 3.125 kB / 0.5241 GB, free: 35.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0007075/0.2671, allocations: 0.8868 MB / 0.5249 GB, free: 34.69 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.2671, allocations: 8 kB / 0.525 GB, free: 34.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.2671, allocations: 12 kB / 0.525 GB, free: 34.67 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001349/0.2684, allocations: 268.5 kB / 0.5252 GB, free: 34.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005226/0.269, allocations: 285.6 kB / 0.5255 GB, free: 34.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00069/0.2696, allocations: 1.992 MB / 0.5274 GB, free: 32.03 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002131/0.2699, allocations: 38.8 kB / 0.5275 GB, free: 32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.866e-05/0.2699, allocations: 42.58 kB / 0.5275 GB, free: 31.96 MB / 442.7 MB 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.0002029/0.2701, allocations: 275.1 kB / 0.5278 GB, free: 31.69 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.921e-05/0.2702, allocations: 63.62 kB / 0.5278 GB, free: 31.63 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/0.2712, allocations: 2.108 MB / 0.5299 GB, free: 29.52 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.2712, allocations: 23.97 kB / 0.5299 GB, free: 29.5 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.2713, allocations: 0 / 0.5299 GB, free: 29.5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.2713, allocations: 3.984 kB / 0.5299 GB, free: 29.5 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001558/0.2728, allocations: 2.818 MB / 0.5327 GB, free: 26.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.2728, allocations: 10.61 kB / 0.5327 GB, free: 26.65 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004053/0.2732, allocations: 183.4 kB / 0.5329 GB, free: 26.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006987/0.2739, allocations: 304.4 kB / 0.5331 GB, free: 26.18 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.434e-05/0.2739, allocations: 16 kB / 0.5332 GB, free: 26.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005968/0.2745, allocations: 2.058 MB / 0.5352 GB, free: 23.99 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2745, allocations: 4.031 kB / 0.5352 GB, free: 23.98 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.2755, allocations: 1.982 MB / 0.5371 GB, free: 21.98 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.2757, allocations: 155 kB / 0.5373 GB, free: 21.83 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.513e-05/0.2757, allocations: 27.78 kB / 0.5373 GB, free: 21.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.2759, allocations: 16 kB / 0.5373 GB, free: 21.79 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.276, allocations: 32.44 kB / 0.5373 GB, free: 21.76 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.887e-05/0.276, allocations: 19.98 kB / 0.5374 GB, free: 21.74 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002931/0.2763, allocations: 0.5068 MB / 0.5378 GB, free: 21.24 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2763, allocations: 0 / 0.5378 GB, free: 21.24 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001781/0.2781, allocations: 1.096 MB / 0.5389 GB, free: 20.14 MB / 442.7 MB 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.002266/0.2803, allocations: 1.336 MB / 0.5402 GB, free: 18.93 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008781/0.2812, allocations: 0.9093 MB / 0.5411 GB, free: 18.06 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2812, allocations: 4.125 kB / 0.5411 GB, free: 18.06 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004952/0.2817, allocations: 0.5874 MB / 0.5417 GB, free: 17.48 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008487/0.2825, allocations: 330.6 kB / 0.542 GB, free: 17.19 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.2841, allocations: 2.119 MB / 0.5441 GB, free: 15.05 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002171/0.2843, allocations: 0.4921 MB / 0.5446 GB, free: 14.54 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.663e-05/0.2844, allocations: 64.5 kB / 0.5446 GB, free: 14.47 MB / 442.7 MB Notification: Performance of SimCode: time 6.31e-07/0.2844, allocations: 0 / 0.5446 GB, free: 14.47 MB / 442.7 MB Notification: Performance of Templates: time 0.02298/0.3073, allocations: 36.96 MB / 0.5807 GB, free: 9.621 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 7.436247515492141]