Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009699/0.0009699, 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.00181/0.00181, allocations: 160.8 kB / 25.61 MB, free: 8.895 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.9628/0.9628, allocations: 177.1 MB / 206 MB, free: 4.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1626/0.1626, allocations: 32.81 MB / 295.4 MB, free: 15.39 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.h|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.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.h|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.072e-05/1.223e-05, allocations: 5.406 kB / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.01082/0.01084, allocations: 16.61 MB / 393.9 MB, free: 8.918 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01136/0.02219, allocations: 13.78 MB / 407.7 MB, free: 11.09 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003439/0.02254, allocations: 35.69 kB / 407.7 MB, free: 11.05 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005491/0.02309, allocations: 246.3 kB / 407.9 MB, free: 10.81 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007978/0.03106, allocations: 4.953 MB / 412.9 MB, free: 5.836 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003265/0.03433, allocations: 1.955 MB / 414.9 MB, free: 3.875 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001931/0.03626, allocations: 2.074 MB / 416.9 MB, free: 1.789 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006823/0.03694, allocations: 469.9 kB / 417.4 MB, free: 1.312 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01093/0.04788, allocations: 7.654 MB / 425 MB, free: 9.551 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002913/0.05079, allocations: 2.19 MB / 427.2 MB, free: 7.332 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.05091, allocations: 72 kB / 427.3 MB, free: 7.262 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009729/0.06064, allocations: 6.789 MB / 434.1 MB, free: 476 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002609/0.0609, allocations: 311.1 kB / 434.4 MB, free: 164 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000335/0.06124, allocations: 327.3 kB / 434.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007011/0.06825, allocations: 5.636 MB / 440.3 MB, free: 10.19 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.06825, allocations: 0 / 440.3 MB, free: 10.19 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.06825, allocations: 0 / 440.3 MB, free: 10.19 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.06826, allocations: 0 / 440.3 MB, free: 10.19 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.002232/0.0705, allocations: 1.657 MB / 442 MB, free: 8.492 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.07053, allocations: 19.97 kB / 442 MB, free: 8.473 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/0.07172, allocations: 443.1 kB / 442.5 MB, free: 8.039 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005834/0.07231, allocations: 0.5202 MB / 443 MB, free: 7.492 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003715/0.07268, allocations: 160.7 kB / 443.1 MB, free: 7.312 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.001e-05/0.07276, allocations: 64.36 kB / 443.2 MB, free: 7.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.07395, allocations: 1.253 MB / 444.5 MB, free: 5.781 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.07397, allocations: 15.88 kB / 444.5 MB, free: 5.766 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.555e-05/0.07402, allocations: 31.98 kB / 444.5 MB, free: 5.734 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.924e-05/0.07407, allocations: 45.28 kB / 444.5 MB, free: 5.691 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006194/0.07469, allocations: 428.4 kB / 445 MB, free: 5.273 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.003137/0.07783, allocations: 5.153 MB / 450.1 MB, free: 15.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008981/0.07873, allocations: 402.2 kB / 450.5 MB, free: 15.53 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.07884, allocations: 100.3 kB / 450.6 MB, free: 15.42 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04206/0.1209, allocations: 22.56 MB / 473.2 MB, free: 8.832 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.405e-05/0.1209, allocations: 45.33 kB / 473.2 MB, free: 8.777 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 2.314e-06/0.121, allocations: 0 / 473.2 MB, free: 8.777 MB / 394.7 MB Notification: Performance of matching and sorting (n=46): time 0.002679/0.1236, allocations: 1.227 MB / 474.4 MB, free: 7.504 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.1237, allocations: 158.2 kB / 474.6 MB, free: 7.312 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003993/0.1241, allocations: 0.5605 MB / 475.2 MB, free: 6.734 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.395e-05/0.1241, allocations: 37.7 kB / 475.2 MB, free: 6.691 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/0.1243, allocations: 474.6 kB / 475.7 MB, free: 6.223 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.642e-05/0.1244, allocations: 186.4 kB / 475.8 MB, free: 6.039 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/0.1246, allocations: 172.2 kB / 476 MB, free: 5.863 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1247, allocations: 0.5624 MB / 476.6 MB, free: 5.289 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.1248, allocations: 77.92 kB / 476.6 MB, free: 5.215 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003699/0.1252, allocations: 0.6873 MB / 477.3 MB, free: 4.273 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004922/0.1257, allocations: 0.7367 MB / 478.1 MB, free: 3.309 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.1257, allocations: 4 kB / 478.1 MB, free: 3.305 MB / 394.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0008863/0.1266, allocations: 0.6222 MB / 478.7 MB, free: 2.676 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.1266, allocations: 12 kB / 478.7 MB, free: 2.664 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.1266, allocations: 12.09 kB / 478.7 MB, free: 2.652 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001482/0.1268, allocations: 47.66 kB / 478.8 MB, free: 2.602 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000575/0.1273, allocations: 255.6 kB / 479 MB, free: 2.352 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001018/0.1283, allocations: 2.626 MB / 481.6 MB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/0.1286, allocations: 28 kB / 481.7 MB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.674e-05/0.1286, allocations: 36 kB / 481.7 MB, free: 15.52 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.0001811/0.1288, allocations: 216.2 kB / 481.9 MB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.1289, allocations: 83.69 kB / 482 MB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000989/0.1299, allocations: 1.284 MB / 483.3 MB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.959e-05/0.1299, allocations: 35.94 kB / 483.3 MB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.1299, allocations: 0 / 483.3 MB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1299, allocations: 3.984 kB / 483.3 MB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001472/0.1314, allocations: 1.837 MB / 485.2 MB, free: 12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.1314, allocations: 4 kB / 485.2 MB, free: 12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004134/0.1318, allocations: 163.9 kB / 485.3 MB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001798/0.132, allocations: 55.56 kB / 485.4 MB, free: 11.78 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.132, allocations: 8 kB / 485.4 MB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001206/0.1332, allocations: 2.595 MB / 488 MB, free: 9.031 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1332, allocations: 4 kB / 488 MB, free: 9.027 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008623/0.1341, allocations: 1.195 MB / 489.2 MB, free: 7.805 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001541/0.1342, allocations: 171.1 kB / 489.3 MB, free: 7.637 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.627e-05/0.1343, allocations: 23.89 kB / 489.4 MB, free: 7.613 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002063/0.1345, allocations: 23.98 kB / 489.4 MB, free: 7.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.925e-05/0.1345, allocations: 32.44 kB / 489.4 MB, free: 7.559 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.637e-05/0.1346, allocations: 15.98 kB / 489.4 MB, free: 7.543 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002228/0.1348, allocations: 394.8 kB / 489.8 MB, free: 7.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1348, allocations: 0 / 489.8 MB, free: 7.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002205/0.137, allocations: 1.1 MB / 490.9 MB, free: 6.059 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.002532/0.1395, allocations: 1.321 MB / 492.2 MB, free: 4.727 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007722/0.1403, allocations: 0.5332 MB / 492.8 MB, free: 4.195 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.1403, allocations: 4 kB / 492.8 MB, free: 4.191 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004523/0.1407, allocations: 359.8 kB / 493.1 MB, free: 3.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/0.142, allocations: 368.4 kB / 493.5 MB, free: 3.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002225/0.1442, allocations: 1.897 MB / 495.4 MB, free: 1.555 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001632/0.1443, allocations: 258.3 kB / 495.6 MB, free: 1.281 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004286/0.1448, allocations: 367.8 kB / 496 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005104/0.1453, allocations: 373.9 kB / 496.4 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.1453, allocations: 0 / 496.4 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of Templates: time 0.1978/0.3431, allocations: 51.28 MB / 0.5348 GB, free: 61.12 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 6.38324478128925]