Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.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.00143/0.00143, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001568/0.001568, allocations: 162.2 kB / 25.6 MB, free: 8.59 MB / 18.57 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 0.9319/0.9319, allocations: 177.1 MB / 206 MB, free: 4.504 MB / 186.7 MB " [Timeout remaining time 179] 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.1384/0.1384, allocations: 34.26 MB / 296.9 MB, free: 13.91 MB / 282.7 MB " [Timeout remaining time 180] 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.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.h",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.h",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.459e-05/1.602e-05, allocations: 2.312 kB / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.01674/0.01676, allocations: 16.62 MB / 395.9 MB, free: 6.707 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0102/0.02695, allocations: 13.78 MB / 409.7 MB, free: 8.879 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003381/0.02729, allocations: 27.75 kB / 409.7 MB, free: 8.852 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005063/0.0278, allocations: 250.3 kB / 410 MB, free: 8.605 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007329/0.03513, allocations: 4.956 MB / 414.9 MB, free: 3.629 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002851/0.03798, allocations: 1.951 MB / 416.9 MB, free: 1.672 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001398/0.03938, allocations: 2.082 MB / 419 MB, free: 15.58 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004121/0.03979, allocations: 462 kB / 419.4 MB, free: 15.11 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009647/0.04943, allocations: 7.658 MB / 427.1 MB, free: 7.344 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004244/0.05368, allocations: 2.194 MB / 429.3 MB, free: 5.121 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001668/0.05385, allocations: 75.94 kB / 429.3 MB, free: 5.047 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008579/0.06243, allocations: 6.778 MB / 436.1 MB, free: 14.26 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003284/0.06275, allocations: 319 kB / 436.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004227/0.06318, allocations: 327.3 kB / 436.7 MB, free: 13.63 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009265/0.07244, allocations: 5.632 MB / 442.4 MB, free: 7.984 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.07245, allocations: 3.938 kB / 442.4 MB, free: 7.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.07245, allocations: 0 / 442.4 MB, free: 7.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.07246, allocations: 0 / 442.4 MB, free: 7.98 MB / 362.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.002838/0.0753, allocations: 1.657 MB / 444 MB, free: 6.281 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.07533, allocations: 12.03 kB / 444 MB, free: 6.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001231/0.07656, allocations: 439.1 kB / 444.5 MB, free: 5.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005977/0.07716, allocations: 0.5202 MB / 445 MB, free: 5.293 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.07726, allocations: 172.6 kB / 445.2 MB, free: 5.102 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.97e-05/0.07734, allocations: 60.38 kB / 445.2 MB, free: 5.043 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/0.07853, allocations: 1.26 MB / 446.5 MB, free: 3.566 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.07855, allocations: 7.938 kB / 446.5 MB, free: 3.559 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.594e-05/0.07861, allocations: 28 kB / 446.5 MB, free: 3.531 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.362e-05/0.07865, allocations: 45.23 kB / 446.6 MB, free: 3.488 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006189/0.07927, allocations: 428.4 kB / 447 MB, free: 3.07 MB / 362.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.003185/0.08246, allocations: 5.157 MB / 452.1 MB, free: 13.74 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007033/0.08316, allocations: 398.3 kB / 452.5 MB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.08327, allocations: 106.7 kB / 452.6 MB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04104/0.1243, allocations: 22.56 MB / 475.2 MB, free: 6.629 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.417e-05/0.1244, allocations: 45.39 kB / 475.2 MB, free: 6.574 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 2.304e-06/0.1244, allocations: 4 kB / 475.2 MB, free: 6.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=46): time 0.002547/0.1269, allocations: 1.219 MB / 476.5 MB, free: 5.305 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.127, allocations: 162.2 kB / 476.6 MB, free: 5.109 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003799/0.1273, allocations: 0.5683 MB / 477.2 MB, free: 4.523 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/0.1274, allocations: 37.7 kB / 477.2 MB, free: 4.48 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002149/0.1276, allocations: 474.6 kB / 477.7 MB, free: 4.012 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.452e-05/0.1277, allocations: 182.5 kB / 477.9 MB, free: 3.832 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/0.1278, allocations: 176.1 kB / 478 MB, free: 3.652 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.128, allocations: 0.5546 MB / 478.6 MB, free: 3.086 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.1281, allocations: 77.92 kB / 478.7 MB, free: 3.012 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003409/0.1284, allocations: 0.6795 MB / 479.3 MB, free: 2.074 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004889/0.1289, allocations: 0.7483 MB / 480.1 MB, free: 1.102 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/0.1289, allocations: 4 kB / 480.1 MB, free: 1.098 MB / 394.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0006227/0.1295, allocations: 0.6219 MB / 480.7 MB, free: 476 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.1296, allocations: 15.98 kB / 480.7 MB, free: 460 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.1296, allocations: 12 kB / 480.7 MB, free: 448 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001471/0.1297, allocations: 43.66 kB / 480.8 MB, free: 400 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005608/0.1303, allocations: 260.1 kB / 481 MB, free: 140 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001012/0.1313, allocations: 2.622 MB / 483.7 MB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002415/0.1315, allocations: 28 kB / 483.7 MB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-05/0.1316, allocations: 40.19 kB / 483.7 MB, free: 13.3 MB / 410.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 (ambient.state.phase,shortPipe.flowModel.states[1].phase,shortPipe.flowModel.states[2].phase,volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1],fixedMassFlowRate.medium.phase,ambient.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 96 * 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 {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001842/0.1318, allocations: 220.2 kB / 483.9 MB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.1319, allocations: 83.56 kB / 484 MB, free: 13 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009775/0.1328, allocations: 1.284 MB / 485.3 MB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/0.1329, allocations: 35.94 kB / 485.3 MB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.1329, allocations: 4.031 kB / 485.3 MB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1329, allocations: 0 / 485.3 MB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001498/0.1344, allocations: 1.833 MB / 487.2 MB, free: 9.789 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.1344, allocations: 0 / 487.2 MB, free: 9.789 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004117/0.1348, allocations: 159.8 kB / 487.3 MB, free: 9.633 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001673/0.1349, allocations: 55.62 kB / 487.4 MB, free: 9.574 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.135, allocations: 8 kB / 487.4 MB, free: 9.566 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008931/0.1359, allocations: 2.591 MB / 490 MB, free: 6.832 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1359, allocations: 4 kB / 490 MB, free: 6.828 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000953/0.1368, allocations: 1.199 MB / 491.2 MB, free: 5.602 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/0.137, allocations: 166.8 kB / 491.4 MB, free: 5.438 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.644e-05/0.137, allocations: 23.89 kB / 491.4 MB, free: 5.414 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002133/0.1372, allocations: 23.98 kB / 491.4 MB, free: 5.391 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.083e-05/0.1373, allocations: 36.42 kB / 491.4 MB, free: 5.355 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-05/0.1373, allocations: 19.92 kB / 491.5 MB, free: 5.336 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002306/0.1375, allocations: 395 kB / 491.8 MB, free: 4.953 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1376, allocations: 0 / 491.8 MB, free: 4.953 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002444/0.14, allocations: 1.1 MB / 492.9 MB, free: 3.852 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003004/0.143, allocations: 1.323 MB / 494.3 MB, free: 2.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008593/0.1439, allocations: 0.5321 MB / 494.8 MB, free: 1.992 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1439, allocations: 1.25 kB / 494.8 MB, free: 1.992 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004653/0.1443, allocations: 363.8 kB / 495.2 MB, free: 1.637 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009806/0.1453, allocations: 356.1 kB / 495.5 MB, free: 1.297 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1294/0.2747, allocations: 1.906 MB / 497.4 MB, free: 94.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001559/0.2748, allocations: 258.2 kB / 497.7 MB, free: 94.55 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005394/0.2754, allocations: 364 kB / 498 MB, free: 94.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004888/0.2758, allocations: 374.5 kB / 498.4 MB, free: 94.49 MB / 410.7 MB Notification: Performance of SimCode: time 1.483e-06/0.2758, allocations: 1.812 kB / 498.4 MB, free: 94.49 MB / 410.7 MB Notification: Performance of Templates: time 0.04008/0.3159, allocations: 51.28 MB / 0.5368 GB, free: 57.3 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.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.648640798404813]