Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.0009307/0.0009307, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001485/0.001485, allocations: 168.8 kB / 24.91 MB, free: 9.191 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.9426/0.9426, allocations: 177.1 MB / 205.3 MB, free: 5.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.2517/0.2517, allocations: 32.81 MB / 294.6 MB, free: 1.23 MB / 266.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.WaterIF97_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.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_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 323.2 MB, free: 9.695 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.524e-05, allocations: 5.078 kB / 323.2 MB, free: 9.691 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.01577/0.01579, allocations: 16.74 MB / 340 MB, free: 8.875 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01367/0.02946, allocations: 13.99 MB / 354 MB, free: 10.84 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007546/0.03022, allocations: 35.69 kB / 354 MB, free: 10.8 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006404/0.03086, allocations: 242.4 kB / 354.2 MB, free: 10.57 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01089/0.04175, allocations: 4.984 MB / 359.2 MB, free: 5.562 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004464/0.04622, allocations: 1.963 MB / 361.2 MB, free: 3.594 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002765/0.04898, allocations: 2.06 MB / 363.2 MB, free: 1.523 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008442/0.04982, allocations: 458 kB / 363.7 MB, free: 1.055 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01048/0.0603, allocations: 7.654 MB / 371.3 MB, free: 9.293 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003047/0.06335, allocations: 2.174 MB / 373.5 MB, free: 7.09 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002119/0.06356, allocations: 72 kB / 373.6 MB, free: 7.02 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009967/0.07353, allocations: 6.789 MB / 380.4 MB, free: 228 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004309/0.07396, allocations: 303.1 kB / 380.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005296/0.07449, allocations: 327.3 kB / 381 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009975/0.08446, allocations: 5.616 MB / 386.6 MB, free: 9.977 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.08447, allocations: 0 / 386.6 MB, free: 9.977 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.08447, allocations: 0 / 386.6 MB, free: 9.977 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.816e-05/0.08449, allocations: 3.938 kB / 386.6 MB, free: 9.973 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.003063/0.08755, allocations: 1.536 MB / 388.2 MB, free: 8.406 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.08759, allocations: 12.03 kB / 388.2 MB, free: 8.395 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001317/0.08891, allocations: 475.4 kB / 388.6 MB, free: 7.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006795/0.08959, allocations: 455.3 kB / 389.1 MB, free: 7.457 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001187/0.0897, allocations: 172.7 kB / 389.2 MB, free: 7.262 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.75e-05/0.08978, allocations: 56.38 kB / 389.3 MB, free: 7.207 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/0.09112, allocations: 1.187 MB / 390.5 MB, free: 5.859 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.09114, allocations: 15.88 kB / 390.5 MB, free: 5.844 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.346e-05/0.0912, allocations: 28 kB / 390.5 MB, free: 5.816 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.035e-05/0.09125, allocations: 45.28 kB / 390.6 MB, free: 5.773 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009091/0.09215, allocations: 0.5323 MB / 391.1 MB, free: 5.242 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.003029/0.09518, allocations: 3.678 MB / 394.8 MB, free: 1.434 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009177/0.0961, allocations: 0.5251 MB / 395.3 MB, free: 0.8906 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.09622, allocations: 98.39 kB / 395.4 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08251/0.1787, allocations: 47.84 MB / 443.2 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.669e-05/0.1788, allocations: 42.52 kB / 443.3 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of pre-optimization done (n=45): time 2.685e-06/0.1788, allocations: 0 / 443.3 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.1694/0.3482, allocations: 1.376 MB / 444.7 MB, free: 101 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.3482, allocations: 160.5 kB / 444.8 MB, free: 100.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000375/0.3486, allocations: 488.9 kB / 445.3 MB, free: 100.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.3486, allocations: 36.7 kB / 445.3 MB, free: 100.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.3488, allocations: 368.1 kB / 445.7 MB, free: 100.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.456e-05/0.3489, allocations: 183 kB / 445.9 MB, free: 100.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/0.349, allocations: 154.9 kB / 446 MB, free: 100.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.085e-05/0.3491, allocations: 376.8 kB / 446.4 MB, free: 100 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.3492, allocations: 104.1 kB / 446.5 MB, free: 100 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002663/0.3495, allocations: 0.5311 MB / 447 MB, free: 99.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004336/0.3499, allocations: 0.6281 MB / 447.6 MB, free: 99.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.3499, allocations: 3.094 kB / 447.6 MB, free: 99.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0005378/0.3504, allocations: 0.5458 MB / 448.2 MB, free: 99.06 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.3505, allocations: 13.34 kB / 448.2 MB, free: 99.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.3505, allocations: 11.66 kB / 448.2 MB, free: 99.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001544/0.3506, allocations: 44.39 kB / 448.3 MB, free: 99.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005457/0.3512, allocations: 267.2 kB / 448.5 MB, free: 99.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006217/0.3518, allocations: 1.767 MB / 450.3 MB, free: 97.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002921/0.3521, allocations: 39.31 kB / 450.3 MB, free: 97.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/0.3521, allocations: 37.73 kB / 450.4 MB, free: 97.32 MB / 410.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.0001767/0.3523, allocations: 178.5 kB / 450.5 MB, free: 97.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.567e-05/0.3524, allocations: 50.69 kB / 450.6 MB, free: 97.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001056/0.3534, allocations: 1.517 MB / 452.1 MB, free: 96.81 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.098e-05/0.3535, allocations: 39 kB / 452.1 MB, free: 96.81 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3535, allocations: 7.828 kB / 452.2 MB, free: 96.81 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.3535, allocations: 4.688 kB / 452.2 MB, free: 96.81 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001471/0.3549, allocations: 1.851 MB / 454 MB, free: 96.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3549, allocations: 0 / 454 MB, free: 96.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004132/0.3554, allocations: 186.3 kB / 454.2 MB, free: 96.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001693/0.3555, allocations: 57.95 kB / 454.2 MB, free: 96.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.3555, allocations: 8.969 kB / 454.3 MB, free: 96.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005168/0.3561, allocations: 1.764 MB / 456 MB, free: 94.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.3561, allocations: 7.5 kB / 456 MB, free: 94.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008311/0.3569, allocations: 1.191 MB / 457.2 MB, free: 94.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001616/0.3571, allocations: 139.4 kB / 457.4 MB, free: 94.28 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.039e-05/0.3571, allocations: 35.59 kB / 457.4 MB, free: 94.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001895/0.3573, allocations: 22.78 kB / 457.4 MB, free: 94.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.073e-05/0.3574, allocations: 53.41 kB / 457.5 MB, free: 94.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.3574, allocations: 12.28 kB / 457.5 MB, free: 94.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000193/0.3576, allocations: 300.5 kB / 457.8 MB, free: 94.24 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3576, allocations: 0 / 457.8 MB, free: 94.24 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00242/0.36, allocations: 1.1 MB / 458.9 MB, free: 94.24 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: 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.003083/0.3631, allocations: 1.379 MB / 460.2 MB, free: 94.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001003/0.3641, allocations: 0.5677 MB / 460.8 MB, free: 94.08 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.058e-05/0.3641, allocations: 11.5 kB / 460.8 MB, free: 94.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005037/0.3646, allocations: 380 kB / 461.2 MB, free: 94.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009283/0.3656, allocations: 379.8 kB / 461.6 MB, free: 94.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002337/0.3679, allocations: 2.094 MB / 463.7 MB, free: 92.99 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001562/0.368, allocations: 267.7 kB / 463.9 MB, free: 92.77 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004386/0.3685, allocations: 352.3 kB / 464.3 MB, free: 92.56 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000432/0.3689, allocations: 306.8 kB / 464.6 MB, free: 92.32 MB / 410.7 MB Notification: Performance of SimCode: time 1.142e-06/0.3689, allocations: 0 / 464.6 MB, free: 92.32 MB / 410.7 MB Notification: Performance of Templates: time 0.04351/0.4124, allocations: 51.48 MB / 0.5039 GB, free: 44.52 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.073648164048791]