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.001086/0.001086, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.001474/0.001474, allocations: 169 kB / 24.14 MB, free: 364 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.9909/0.9909, allocations: 158.6 MB / 186 MB, free: 2.77 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.1408/0.1408, allocations: 32.38 MB / 270.7 MB, free: 14.61 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 1.923e-06/1.923e-06, allocations: 0 / 299.1 MB, free: 2.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.1e-05/2.292e-05, allocations: 2.312 kB / 299.1 MB, free: 2.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.1835/0.1835, allocations: 16.62 MB / 315.7 MB, free: 10.81 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01249/0.196, allocations: 13.98 MB / 329.7 MB, free: 15.64 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006954/0.1967, allocations: 27.75 kB / 329.7 MB, free: 15.61 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008599/0.1976, allocations: 250.3 kB / 330 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01546/0.213, allocations: 4.967 MB / 334.9 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005105/0.2181, allocations: 1.97 MB / 336.9 MB, free: 8.414 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003094/0.2212, allocations: 2.047 MB / 338.9 MB, free: 6.355 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008474/0.2221, allocations: 469.9 kB / 339.4 MB, free: 5.875 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01116/0.2332, allocations: 7.65 MB / 347 MB, free: 14.11 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003076/0.2363, allocations: 2.17 MB / 349.2 MB, free: 11.91 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002476/0.2366, allocations: 68 kB / 349.3 MB, free: 11.84 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01198/0.2485, allocations: 6.778 MB / 356.1 MB, free: 5.062 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004816/0.249, allocations: 299.1 kB / 356.3 MB, free: 4.77 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006454/0.2497, allocations: 327.3 kB / 356.7 MB, free: 4.449 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01268/0.2623, allocations: 5.608 MB / 362.3 MB, free: 14.83 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.2623, allocations: 0 / 362.3 MB, free: 14.83 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2623, allocations: 0 / 362.3 MB, free: 14.83 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.776e-05/0.2624, allocations: 0 / 362.3 MB, free: 14.83 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.003913/0.2663, allocations: 1.536 MB / 363.8 MB, free: 13.26 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.2663, allocations: 8.031 kB / 363.8 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001302/0.2676, allocations: 475.5 kB / 364.3 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006664/0.2683, allocations: 455.2 kB / 364.7 MB, free: 12.31 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/0.2684, allocations: 164.7 kB / 364.9 MB, free: 12.13 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.573e-05/0.2685, allocations: 68.36 kB / 365 MB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.2698, allocations: 1.222 MB / 366.2 MB, free: 10.67 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.2699, allocations: 11.88 kB / 366.2 MB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.768e-05/0.2699, allocations: 24 kB / 366.2 MB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.861e-05/0.27, allocations: 45.28 kB / 366.3 MB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/0.2711, allocations: 0.5283 MB / 366.8 MB, free: 10.06 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.003042/0.2741, allocations: 3.69 MB / 370.5 MB, free: 6.246 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009553/0.2751, allocations: 0.5169 MB / 371 MB, free: 5.711 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.2752, allocations: 97.67 kB / 371.1 MB, free: 5.609 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08445/0.3597, allocations: 47.8 MB / 418.9 MB, free: 5.758 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.413e-05/0.3597, allocations: 42.52 kB / 418.9 MB, free: 5.707 MB / 378.7 MB Notification: Performance of pre-optimization done (n=45): time 3.206e-06/0.3597, allocations: 4 kB / 418.9 MB, free: 5.703 MB / 378.7 MB Notification: Performance of matching and sorting (n=49): time 0.003093/0.3628, allocations: 1.367 MB / 420.3 MB, free: 4.305 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/0.3629, allocations: 158.7 kB / 420.5 MB, free: 4.113 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000378/0.3632, allocations: 494.8 kB / 420.9 MB, free: 3.617 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.541e-05/0.3633, allocations: 41.64 kB / 421 MB, free: 3.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.3634, allocations: 360.9 kB / 421.3 MB, free: 3.215 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.993e-05/0.3635, allocations: 178.5 kB / 421.5 MB, free: 3.039 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/0.3637, allocations: 154.5 kB / 421.7 MB, free: 2.883 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.3638, allocations: 382.6 kB / 422 MB, free: 2.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.364, allocations: 101.9 kB / 422.1 MB, free: 2.398 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003336/0.3643, allocations: 0.5405 MB / 422.7 MB, free: 1.676 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004906/0.3648, allocations: 0.6199 MB / 423.3 MB, free: 0.9023 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.3648, allocations: 4 kB / 423.3 MB, free: 0.8984 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0005778/0.3654, allocations: 0.5574 MB / 423.9 MB, free: 340 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.3654, allocations: 12 kB / 423.9 MB, free: 328 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.3654, allocations: 8 kB / 423.9 MB, free: 320 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001611/0.3656, allocations: 40.83 kB / 423.9 MB, free: 276 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005768/0.3661, allocations: 267.6 kB / 424.2 MB, free: 8 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001268/0.3674, allocations: 1.763 MB / 425.9 MB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002964/0.3677, allocations: 32 kB / 426 MB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.122e-05/0.3677, allocations: 43.81 kB / 426 MB, free: 14.05 MB / 394.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,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]) * 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.0002057/0.3679, allocations: 184.5 kB / 426.2 MB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.595e-05/0.368, allocations: 59.94 kB / 426.3 MB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001177/0.3692, allocations: 1.515 MB / 427.8 MB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.241e-05/0.3692, allocations: 39.88 kB / 427.8 MB, free: 12.24 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.3692, allocations: 0 / 427.8 MB, free: 12.24 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.3692, allocations: 8.016 kB / 427.8 MB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001746/0.371, allocations: 1.848 MB / 429.7 MB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.371, allocations: 0 / 429.7 MB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004631/0.3715, allocations: 188.6 kB / 429.8 MB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002023/0.3717, allocations: 51.53 kB / 429.9 MB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.062e-05/0.3717, allocations: 15.98 kB / 429.9 MB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001269/0.373, allocations: 1.779 MB / 431.7 MB, free: 8.188 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.373, allocations: 11.92 kB / 431.7 MB, free: 8.176 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009365/0.3739, allocations: 1.189 MB / 432.9 MB, free: 6.969 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001711/0.3741, allocations: 135 kB / 433 MB, free: 6.836 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.441e-05/0.3741, allocations: 35.73 kB / 433.1 MB, free: 6.801 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.3743, allocations: 19.98 kB / 433.1 MB, free: 6.781 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.055e-05/0.3744, allocations: 56.34 kB / 433.1 MB, free: 6.727 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/0.3744, allocations: 11.98 kB / 433.1 MB, free: 6.715 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002232/0.3746, allocations: 292.5 kB / 433.4 MB, free: 6.426 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3746, allocations: 4 kB / 433.4 MB, free: 6.422 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002754/0.3774, allocations: 1.104 MB / 434.5 MB, free: 5.316 MB / 394.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.003582/0.381, allocations: 1.368 MB / 435.9 MB, free: 3.957 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001018/0.382, allocations: 0.5685 MB / 436.5 MB, free: 3.395 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.583e-05/0.382, allocations: 8.5 kB / 436.5 MB, free: 3.387 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005688/0.3826, allocations: 381 kB / 436.9 MB, free: 3.016 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009878/0.3836, allocations: 379.5 kB / 437.2 MB, free: 2.656 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003109/0.3867, allocations: 2.102 MB / 439.3 MB, free: 0.5117 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001882/0.3869, allocations: 271.4 kB / 439.6 MB, free: 232 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005016/0.3874, allocations: 349.5 kB / 439.9 MB, free: 15.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004808/0.3879, allocations: 305.1 kB / 440.2 MB, free: 15.58 MB / 410.7 MB Notification: Performance of SimCode: time 1.783e-06/0.3879, allocations: 0 / 440.2 MB, free: 15.58 MB / 410.7 MB Notification: Performance of Templates: time 0.1872/0.5751, allocations: 51.27 MB / 491.5 MB, free: 95.09 MB / 410.7 MB " [Timeout remaining time 659] 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: 5.504253613296896]