Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_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.0008982/0.0008982, allocations: 91.22 kB / 20.43 MB, free: 4.145 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.001441/0.001441, allocations: 165 kB / 23.8 MB, free: 0.7773 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 1.023/1.023, allocations: 158.6 MB / 185.7 MB, free: 2.926 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.133/0.133, allocations: 32.38 MB / 270.4 MB, free: 14.7 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_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 347.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.096e-05/3.304e-05, allocations: 9.344 kB / 347.7 MB, free: 9.426 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.01994/0.01998, allocations: 16.71 MB / 364.4 MB, free: 8.645 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02063/0.04061, allocations: 13.98 MB / 378.4 MB, free: 10.62 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001124/0.04173, allocations: 31.75 kB / 378.4 MB, free: 10.59 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009823/0.04272, allocations: 262.2 kB / 378.7 MB, free: 10.33 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01692/0.05964, allocations: 4.933 MB / 383.6 MB, free: 5.379 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006305/0.06594, allocations: 1.951 MB / 385.6 MB, free: 3.422 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002538/0.06848, allocations: 2.055 MB / 387.6 MB, free: 1.355 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008152/0.0693, allocations: 461.9 kB / 388.1 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01048/0.07978, allocations: 7.634 MB / 395.7 MB, free: 9.145 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003235/0.08301, allocations: 2.194 MB / 397.9 MB, free: 6.922 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001952/0.08321, allocations: 72 kB / 398 MB, free: 6.852 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01119/0.09439, allocations: 6.773 MB / 404.7 MB, free: 72 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005889/0.09498, allocations: 307.2 kB / 405 MB, free: 15.77 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007728/0.09575, allocations: 327.3 kB / 405.4 MB, free: 15.45 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01157/0.1073, allocations: 5.616 MB / 411 MB, free: 9.816 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.1073, allocations: 0 / 411 MB, free: 9.816 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1073, allocations: 0 / 411 MB, free: 9.816 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.41e-05/0.1074, allocations: 0 / 411 MB, free: 9.816 MB / 346.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.003318/0.1107, allocations: 1.665 MB / 412.6 MB, free: 8.109 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.1107, allocations: 8.031 kB / 412.6 MB, free: 8.102 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001299/0.112, allocations: 455.1 kB / 413.1 MB, free: 7.656 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007285/0.1127, allocations: 0.5436 MB / 413.6 MB, free: 7.086 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/0.1129, allocations: 172.6 kB / 413.8 MB, free: 6.891 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.507e-05/0.113, allocations: 60.38 kB / 413.9 MB, free: 6.832 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001456/0.1144, allocations: 1.329 MB / 415.2 MB, free: 5.301 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.1144, allocations: 7.875 kB / 415.2 MB, free: 5.293 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.558e-05/0.1145, allocations: 32 kB / 415.2 MB, free: 5.262 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.772e-05/0.1145, allocations: 41.3 kB / 415.3 MB, free: 5.223 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.1156, allocations: 0.6277 MB / 415.9 MB, free: 4.594 MB / 346.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.003893/0.1195, allocations: 5.382 MB / 421.3 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.1205, allocations: 0.5768 MB / 421.9 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.1207, allocations: 139.3 kB / 422 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01531/0.136, allocations: 8.466 MB / 430.5 MB, free: 5.809 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.737e-05/0.1361, allocations: 49.28 kB / 430.5 MB, free: 5.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=45): time 2.604e-06/0.1361, allocations: 0 / 430.5 MB, free: 5.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=49): time 0.003724/0.1398, allocations: 1.716 MB / 432.2 MB, free: 3.992 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003749/0.1402, allocations: 158.7 kB / 432.4 MB, free: 3.801 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004961/0.1407, allocations: 0.5647 MB / 432.9 MB, free: 3.219 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.731e-05/0.1407, allocations: 33.7 kB / 433 MB, free: 3.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/0.1409, allocations: 458.8 kB / 433.4 MB, free: 2.727 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.1411, allocations: 182.5 kB / 433.6 MB, free: 2.547 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/0.1412, allocations: 180.2 kB / 433.8 MB, free: 2.363 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.1414, allocations: 0.5469 MB / 434.3 MB, free: 1.805 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.1416, allocations: 141.9 kB / 434.5 MB, free: 1.664 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004234/0.142, allocations: 0.7117 MB / 435.2 MB, free: 0.707 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006496/0.1427, allocations: 0.8062 MB / 436 MB, free: 15.69 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.1427, allocations: 4 kB / 436 MB, free: 15.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0008762/0.1436, allocations: 0.727 MB / 436.7 MB, free: 14.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.1436, allocations: 11.98 kB / 436.7 MB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.1436, allocations: 15.98 kB / 436.7 MB, free: 14.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001928/0.1438, allocations: 44.27 kB / 436.8 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006442/0.1444, allocations: 303.5 kB / 437.1 MB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001465/0.1459, allocations: 2.633 MB / 439.7 MB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003147/0.1462, allocations: 32 kB / 439.7 MB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.301e-05/0.1463, allocations: 47.98 kB / 439.8 MB, free: 11.72 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.heatTransfer.states[1].phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.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.0001927/0.1464, allocations: 220.2 kB / 440 MB, free: 11.49 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.1466, allocations: 79.62 kB / 440.1 MB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001429/0.148, allocations: 1.661 MB / 441.7 MB, free: 9.738 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-05/0.148, allocations: 35.94 kB / 441.8 MB, free: 9.703 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.148, allocations: 0 / 441.8 MB, free: 9.703 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.148, allocations: 7.922 kB / 441.8 MB, free: 9.695 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002204/0.1502, allocations: 2.333 MB / 444.1 MB, free: 7.312 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.1502, allocations: 0 / 444.1 MB, free: 7.312 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004877/0.1507, allocations: 203.8 kB / 444.3 MB, free: 7.113 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001978/0.1509, allocations: 55.59 kB / 444.4 MB, free: 7.055 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.658e-05/0.151, allocations: 19.92 kB / 444.4 MB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001443/0.1524, allocations: 2.617 MB / 447 MB, free: 4.266 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.1524, allocations: 3.938 kB / 447 MB, free: 4.262 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.1536, allocations: 1.481 MB / 448.5 MB, free: 2.754 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001982/0.1538, allocations: 170.9 kB / 448.7 MB, free: 2.586 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.372e-05/0.1539, allocations: 39.72 kB / 448.7 MB, free: 2.547 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.1541, allocations: 32.08 kB / 448.7 MB, free: 2.516 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.273e-05/0.1542, allocations: 52.34 kB / 448.8 MB, free: 2.465 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.1542, allocations: 27.92 kB / 448.8 MB, free: 2.438 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003561/0.1546, allocations: 462.9 kB / 449.3 MB, free: 1.984 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1546, allocations: 0 / 449.3 MB, free: 1.984 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002536/0.1571, allocations: 1.092 MB / 450.4 MB, free: 0.8906 MB / 378.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: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.1349/0.292, allocations: 1.299 MB / 451.7 MB, free: 81.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001421/0.2935, allocations: 0.6841 MB / 452.3 MB, free: 81.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.2935, allocations: 3.844 kB / 452.3 MB, free: 81.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007039/0.2942, allocations: 468.1 kB / 452.8 MB, free: 81.56 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.2953, allocations: 375.8 kB / 453.2 MB, free: 81.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002483/0.2978, allocations: 2.14 MB / 455.3 MB, free: 80.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001906/0.298, allocations: 270.1 kB / 455.6 MB, free: 80.65 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005937/0.2986, allocations: 408.1 kB / 456 MB, free: 80.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.2987, allocations: 68.17 kB / 456 MB, free: 80.63 MB / 378.7 MB Notification: Performance of SimCode: time 2.124e-06/0.2987, allocations: 6.781 kB / 456 MB, free: 80.63 MB / 378.7 MB Notification: Performance of Templates: time 0.04485/0.3436, allocations: 53.07 MB / 0.4972 GB, free: 40.82 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_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_ph/WaterIF97_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.500227169133723]