Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009892/0.0009892, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.0009643/0.0009643, allocations: 173 kB / 24.25 MB, free: 308 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.8465/0.8465, allocations: 158.6 MB / 186 MB, free: 2.91 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.1557/0.1557, allocations: 32.37 MB / 270.7 MB, free: 14.76 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.WaterIF97OnePhase_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.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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 347.7 MB, free: 9.754 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.448e-05/1.602e-05, allocations: 12.16 kB / 347.7 MB, free: 9.742 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.04771/0.04773, allocations: 40.07 MB / 387.8 MB, free: 1.531 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01615/0.06388, allocations: 20.12 MB / 407.9 MB, free: 13.34 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000403/0.06428, allocations: 31.75 kB / 407.9 MB, free: 13.31 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000766/0.06505, allocations: 409.3 kB / 408.3 MB, free: 12.91 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008454/0.0735, allocations: 5.18 MB / 413.5 MB, free: 7.707 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004208/0.07771, allocations: 2.59 MB / 416.1 MB, free: 5.105 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001391/0.0791, allocations: 2.039 MB / 418.1 MB, free: 3.055 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006099/0.07971, allocations: 465.9 kB / 418.6 MB, free: 2.59 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005182/0.08489, allocations: 4.43 MB / 423 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00671/0.0916, allocations: 5.425 MB / 428.4 MB, free: 8.598 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.682e-05/0.09169, allocations: 75.94 kB / 428.5 MB, free: 8.523 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008333/0.1, allocations: 7.058 MB / 435.6 MB, free: 1.457 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002111/0.1002, allocations: 311.1 kB / 435.9 MB, free: 1.152 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002604/0.1005, allocations: 335.3 kB / 436.2 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1567/0.2572, allocations: 5.894 MB / 442.1 MB, free: 36.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2572, allocations: 1.875 kB / 442.1 MB, free: 36.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2572, allocations: 0 / 442.1 MB, free: 36.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.2572, allocations: 2.625 kB / 442.1 MB, free: 36.54 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.003874/0.2611, allocations: 1.728 MB / 443.8 MB, free: 35.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.2612, allocations: 10.78 kB / 443.8 MB, free: 35.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00194/0.2631, allocations: 437.9 kB / 444.3 MB, free: 35.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007093/0.2638, allocations: 0.5465 MB / 444.8 MB, free: 35.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.2639, allocations: 159.5 kB / 445 MB, free: 35.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.264, allocations: 66.41 kB / 445 MB, free: 35.26 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001649/0.2657, allocations: 1.347 MB / 446.4 MB, free: 34.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.588e-05/0.2657, allocations: 6.344 kB / 446.4 MB, free: 34.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.13e-05/0.2658, allocations: 33.41 kB / 446.4 MB, free: 34.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.295e-05/0.2658, allocations: 42.81 kB / 446.5 MB, free: 34.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.2669, allocations: 0.4896 MB / 447 MB, free: 34.38 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.00363/0.2705, allocations: 5.316 MB / 452.3 MB, free: 30.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008689/0.2714, allocations: 424.4 kB / 452.7 MB, free: 30.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/0.2716, allocations: 121.9 kB / 452.8 MB, free: 30.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04646/0.318, allocations: 25.13 MB / 477.9 MB, free: 23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.518e-05/0.3181, allocations: 43.52 kB / 478 MB, free: 22.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 2.564e-06/0.3181, allocations: 0 / 478 MB, free: 22.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.002933/0.321, allocations: 1.466 MB / 479.4 MB, free: 21.65 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.3211, allocations: 168.8 kB / 479.6 MB, free: 21.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003824/0.3214, allocations: 0.5533 MB / 480.2 MB, free: 20.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.682e-05/0.3215, allocations: 37.33 kB / 480.2 MB, free: 20.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.3216, allocations: 462.9 kB / 480.6 MB, free: 20.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.953e-05/0.3217, allocations: 183.9 kB / 480.8 MB, free: 20.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.3218, allocations: 161 kB / 481 MB, free: 20.33 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.39e-05/0.3219, allocations: 0.5589 MB / 481.5 MB, free: 19.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.3221, allocations: 92.62 kB / 481.6 MB, free: 19.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002585/0.3223, allocations: 0.6752 MB / 482.3 MB, free: 18.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004528/0.3228, allocations: 0.7404 MB / 483 MB, free: 18.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.3228, allocations: 4 kB / 483.1 MB, free: 18.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0006532/0.3234, allocations: 0.6564 MB / 483.7 MB, free: 17.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.3234, allocations: 10.95 kB / 483.7 MB, free: 17.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.3234, allocations: 12 kB / 483.7 MB, free: 17.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001952/0.3236, allocations: 47.42 kB / 483.8 MB, free: 17.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005716/0.3242, allocations: 278.5 kB / 484.1 MB, free: 17.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007087/0.3249, allocations: 2.644 MB / 486.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002221/0.3251, allocations: 30.25 kB / 486.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.132e-05/0.3252, allocations: 39.06 kB / 486.8 MB, free: 14.41 MB / 362.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 (volume.medium.phase,ambient.medium.phase,fixedMassFlowRate.medium.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 (95): * Single equations (assignments): 93 * 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.0001563/0.3253, allocations: 219.1 kB / 487 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.215e-05/0.3254, allocations: 90.08 kB / 487.1 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000973/0.3264, allocations: 1.428 MB / 488.5 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.642e-05/0.3264, allocations: 30.14 kB / 488.5 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.3264, allocations: 0 / 488.5 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.3264, allocations: 7.984 kB / 488.5 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001514/0.3279, allocations: 2.06 MB / 490.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.3279, allocations: 0 / 490.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004274/0.3284, allocations: 186.6 kB / 490.8 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00019/0.3286, allocations: 55.2 kB / 490.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.3286, allocations: 11.19 kB / 490.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005907/0.3292, allocations: 2.62 MB / 493.5 MB, free: 8.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3292, allocations: 3.094 kB / 493.5 MB, free: 8.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008918/0.3301, allocations: 1.309 MB / 494.8 MB, free: 6.945 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/0.3302, allocations: 167.3 kB / 494.9 MB, free: 6.812 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.262e-05/0.3303, allocations: 23.52 kB / 495 MB, free: 6.797 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002313/0.3305, allocations: 25.95 kB / 495 MB, free: 6.781 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.567e-05/0.3306, allocations: 43.27 kB / 495 MB, free: 6.746 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.63e-05/0.3306, allocations: 23.8 kB / 495 MB, free: 6.727 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002543/0.3308, allocations: 414.7 kB / 495.4 MB, free: 6.375 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.3308, allocations: 0 / 495.4 MB, free: 6.375 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002796/0.3336, allocations: 1.1 MB / 496.5 MB, free: 5.332 MB / 362.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.002696/0.3363, allocations: 1.356 MB / 497.9 MB, free: 4.141 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000823/0.3371, allocations: 0.5959 MB / 498.5 MB, free: 3.625 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.3372, allocations: 4 kB / 498.5 MB, free: 3.621 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004838/0.3376, allocations: 416.8 kB / 498.9 MB, free: 3.258 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008829/0.3385, allocations: 352.2 kB / 499.3 MB, free: 2.984 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002003/0.3405, allocations: 1.946 MB / 0.4895 GB, free: 1.184 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.3406, allocations: 250.9 kB / 0.4897 GB, free: 0.9219 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004492/0.3411, allocations: 421.6 kB / 0.4901 GB, free: 0.5195 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.148e-05/0.3412, allocations: 59 kB / 0.4902 GB, free: 476 kB / 362.7 MB Notification: Performance of SimCode: time 7.52e-07/0.3412, allocations: 0 / 0.4902 GB, free: 476 kB / 362.7 MB Notification: Performance of Templates: time 0.04592/0.3871, allocations: 45.79 MB / 0.5349 GB, free: 2.953 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_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/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.19850413990207]