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.001136/0.001136, allocations: 80.05 kB / 20.72 MB, free: 3.762 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.001198/0.001198, allocations: 169 kB / 24.14 MB, free: 352 kB / 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.9741/0.9741, allocations: 158.6 MB / 186 MB, free: 2.75 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.1573/0.1573, allocations: 32.38 MB / 270.7 MB, free: 14.59 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.994e-06/1.994e-06, allocations: 0 / 299.1 MB, free: 2.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.325e-05/2.525e-05, allocations: 2.312 kB / 299.1 MB, free: 2.125 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.1681/0.1681, allocations: 16.66 MB / 315.8 MB, free: 10.7 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01222/0.1803, allocations: 13.98 MB / 329.8 MB, free: 15.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000466/0.1808, allocations: 31.69 kB / 329.8 MB, free: 15.49 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007031/0.1815, allocations: 250.3 kB / 330 MB, free: 15.24 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01089/0.1924, allocations: 4.503 MB / 334.6 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003798/0.1962, allocations: 1.885 MB / 336.4 MB, free: 8.836 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00178/0.198, allocations: 2.035 MB / 338.5 MB, free: 6.789 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004638/0.1984, allocations: 453.9 kB / 338.9 MB, free: 6.324 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007757/0.2062, allocations: 7.624 MB / 346.5 MB, free: 14.59 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002154/0.2083, allocations: 2.143 MB / 348.7 MB, free: 12.42 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.225e-05/0.2084, allocations: 71.98 kB / 348.8 MB, free: 12.35 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01104/0.2195, allocations: 7.218 MB / 356 MB, free: 5.121 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002658/0.2197, allocations: 295 kB / 356.3 MB, free: 4.832 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003307/0.2201, allocations: 323.3 kB / 356.6 MB, free: 4.516 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009498/0.2296, allocations: 5.558 MB / 362.1 MB, free: 14.95 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.2296, allocations: 0 / 362.1 MB, free: 14.95 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.2296, allocations: 0 / 362.1 MB, free: 14.95 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.2296, allocations: 0 / 362.1 MB, free: 14.95 MB / 330.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.002674/0.2323, allocations: 1.509 MB / 363.6 MB, free: 13.4 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.2323, allocations: 8.031 kB / 363.7 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009531/0.2332, allocations: 377 kB / 364 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005442/0.2338, allocations: 451.3 kB / 364.5 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.2339, allocations: 160.7 kB / 364.6 MB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.318e-05/0.234, allocations: 64.36 kB / 364.7 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.2351, allocations: 1.073 MB / 365.8 MB, free: 11.06 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/0.2352, allocations: 11.88 kB / 365.8 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.459e-05/0.2352, allocations: 31.98 kB / 365.8 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-05/0.2353, allocations: 44.97 kB / 365.8 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005747/0.2358, allocations: 396.1 kB / 366.2 MB, free: 10.59 MB / 330.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.002725/0.2386, allocations: 3.798 MB / 370 MB, free: 6.652 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006191/0.2392, allocations: 346.3 kB / 370.4 MB, free: 6.285 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.738e-05/0.2393, allocations: 87.14 kB / 370.4 MB, free: 6.191 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1253/0.3645, allocations: 67.21 MB / 437.7 MB, free: 2.91 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.649e-05/0.3646, allocations: 46.48 kB / 437.7 MB, free: 2.855 MB / 394.7 MB Notification: Performance of pre-optimization done (n=39): time 3.436e-06/0.3646, allocations: 0 / 437.7 MB, free: 2.855 MB / 394.7 MB Notification: Performance of matching and sorting (n=44): time 0.004231/0.3688, allocations: 1.246 MB / 438.9 MB, free: 1.574 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.874e-05/0.3689, allocations: 191.9 kB / 439.1 MB, free: 1.344 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004572/0.3694, allocations: 0.4948 MB / 439.6 MB, free: 0.8359 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/0.3694, allocations: 37.7 kB / 439.7 MB, free: 0.793 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001958/0.3696, allocations: 368.8 kB / 440 MB, free: 440 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.3697, allocations: 170.5 kB / 440.2 MB, free: 268 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/0.3699, allocations: 162.4 kB / 440.4 MB, free: 100 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.37, allocations: 374.6 kB / 440.7 MB, free: 15.72 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.3701, allocations: 70.03 kB / 440.8 MB, free: 15.65 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00039/0.3705, allocations: 0.5453 MB / 441.3 MB, free: 14.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000577/0.3711, allocations: 0.6071 MB / 441.9 MB, free: 14.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.401e-06/0.3711, allocations: 4 kB / 441.9 MB, free: 14.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0006919/0.3718, allocations: 0.5143 MB / 442.5 MB, free: 13.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.3718, allocations: 8 kB / 442.5 MB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/0.3719, allocations: 16 kB / 442.5 MB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001946/0.3738, allocations: 232.5 kB / 442.7 MB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007974/0.3746, allocations: 263.6 kB / 443 MB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/0.3757, allocations: 1.794 MB / 444.8 MB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000347/0.376, allocations: 36.09 kB / 444.8 MB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.907e-05/0.3761, allocations: 35.98 kB / 444.8 MB, free: 11.1 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 10 (fixedMassFlowRate.medium.phase,ambient.medium.phase,ambient.state.phase,shortPipe.flowModel.states[1].phase,shortPipe.flowModel.states[2].phase,volume.medium.phase,volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 95 * 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.0002099/0.3763, allocations: 181 kB / 445 MB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.3764, allocations: 51.94 kB / 445.1 MB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001218/0.3776, allocations: 1.208 MB / 446.3 MB, free: 9.641 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.193e-05/0.3777, allocations: 28.02 kB / 446.3 MB, free: 9.613 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3777, allocations: 4 kB / 446.3 MB, free: 9.609 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.3777, allocations: 3.938 kB / 446.3 MB, free: 9.605 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001721/0.3794, allocations: 1.456 MB / 447.8 MB, free: 8.117 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.3794, allocations: 3.188 kB / 447.8 MB, free: 8.117 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005534/0.38, allocations: 163.8 kB / 447.9 MB, free: 7.957 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009152/0.3809, allocations: 247.2 kB / 448.2 MB, free: 7.711 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.265e-05/0.3809, allocations: 15.92 kB / 448.2 MB, free: 7.695 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009869/0.3819, allocations: 1.799 MB / 450 MB, free: 5.773 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.3819, allocations: 0 / 450 MB, free: 5.773 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009873/0.3829, allocations: 1.098 MB / 451.1 MB, free: 4.656 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001625/0.383, allocations: 111.1 kB / 451.2 MB, free: 4.547 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.498e-05/0.3831, allocations: 27.84 kB / 451.2 MB, free: 4.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002604/0.3834, allocations: 16 kB / 451.2 MB, free: 4.504 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.704e-05/0.3834, allocations: 36.38 kB / 451.3 MB, free: 4.469 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.656e-05/0.3835, allocations: 11.98 kB / 451.3 MB, free: 4.457 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002972/0.3838, allocations: 284.5 kB / 451.6 MB, free: 4.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3838, allocations: 0 / 451.6 MB, free: 4.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003009/0.3868, allocations: 1.096 MB / 452.6 MB, free: 3.082 MB / 410.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.003468/0.3902, allocations: 1.406 MB / 454.1 MB, free: 1.684 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009146/0.3912, allocations: 0.4952 MB / 454.5 MB, free: 1.191 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.246e-05/0.3912, allocations: 12.5 kB / 454.6 MB, free: 1.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005412/0.3917, allocations: 315.4 kB / 454.9 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.3929, allocations: 361 kB / 455.2 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1533/0.5462, allocations: 1.791 MB / 457 MB, free: 116.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.5465, allocations: 237.2 kB / 457.2 MB, free: 116.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007468/0.5472, allocations: 259.3 kB / 457.5 MB, free: 116.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006259/0.5479, allocations: 284 kB / 457.8 MB, free: 116.2 MB / 410.7 MB Notification: Performance of SimCode: time 3.777e-06/0.5479, allocations: 1 kB / 457.8 MB, free: 116.2 MB / 410.7 MB Notification: Performance of Templates: time 0.04723/0.5951, allocations: 49.36 MB / 0.4953 GB, free: 80.23 MB / 410.7 MB " [Timeout remaining time 659] 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 240] 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","",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.443608745932579]