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.001257/0.001257, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001747/0.001747, allocations: 173 kB / 24.91 MB, free: 8.723 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 1.026/1.026, allocations: 177.1 MB / 205.3 MB, free: 5.102 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.2569/0.2569, allocations: 32.8 MB / 294.6 MB, free: 1.195 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.312e-06/1.312e-06, allocations: 0 / 323.3 MB, free: 9.676 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.794e-05/1.926e-05, allocations: 3.078 kB / 323.3 MB, free: 9.672 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.01359/0.01361, allocations: 16.79 MB / 340.1 MB, free: 8.816 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01259/0.0262, allocations: 13.98 MB / 354.1 MB, free: 10.79 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003793/0.02658, allocations: 27.75 kB / 354.1 MB, free: 10.76 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006218/0.0272, allocations: 242.3 kB / 354.3 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008257/0.03546, allocations: 4.542 MB / 358.9 MB, free: 5.957 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00326/0.03871, allocations: 1.865 MB / 360.7 MB, free: 4.086 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001526/0.04024, allocations: 2.055 MB / 362.8 MB, free: 2.02 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003883/0.04063, allocations: 458 kB / 363.2 MB, free: 1.551 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007285/0.04791, allocations: 7.649 MB / 370.9 MB, free: 9.793 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002127/0.05004, allocations: 2.174 MB / 373.1 MB, free: 7.59 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.415e-05/0.05012, allocations: 72 kB / 373.1 MB, free: 7.52 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009044/0.05916, allocations: 7.266 MB / 380.4 MB, free: 252 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002153/0.05937, allocations: 303.1 kB / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002405/0.05962, allocations: 323.3 kB / 381 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004982/0.0646, allocations: 5.628 MB / 386.6 MB, free: 9.992 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.0646, allocations: 0 / 386.6 MB, free: 9.992 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.0646, allocations: 0 / 386.6 MB, free: 9.992 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.06461, allocations: 0 / 386.6 MB, free: 9.992 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.00186/0.06647, allocations: 1.536 MB / 388.2 MB, free: 8.426 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.0665, allocations: 12.03 kB / 388.2 MB, free: 8.414 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001303/0.0678, allocations: 471.5 kB / 388.6 MB, free: 7.953 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004992/0.0683, allocations: 459.3 kB / 389.1 MB, free: 7.477 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.792e-05/0.0684, allocations: 160.7 kB / 389.2 MB, free: 7.293 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.002e-05/0.06847, allocations: 64.36 kB / 389.3 MB, free: 7.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/0.0697, allocations: 1.2 MB / 390.5 MB, free: 5.871 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.06972, allocations: 7.875 kB / 390.5 MB, free: 5.863 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.555e-05/0.06977, allocations: 35.98 kB / 390.5 MB, free: 5.828 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.051e-05/0.06981, allocations: 37.3 kB / 390.6 MB, free: 5.793 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008449/0.07065, allocations: 0.5303 MB / 391.1 MB, free: 5.262 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.00263/0.07328, allocations: 3.682 MB / 394.8 MB, free: 1.449 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009137/0.0742, allocations: 0.5208 MB / 395.3 MB, free: 0.9102 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.07431, allocations: 104.4 kB / 395.4 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0805/0.1548, allocations: 47.82 MB / 443.2 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.623e-05/0.1549, allocations: 50.5 kB / 443.3 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of pre-optimization done (n=45): time 2.946e-06/0.1549, allocations: 7.938 kB / 443.3 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.1681/0.3229, allocations: 1.37 MB / 444.7 MB, free: 100.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.323, allocations: 163 kB / 444.8 MB, free: 100.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004051/0.3234, allocations: 485.6 kB / 445.3 MB, free: 100.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.633e-05/0.3234, allocations: 38.62 kB / 445.3 MB, free: 100.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.3236, allocations: 370.7 kB / 445.7 MB, free: 100.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.76e-05/0.3237, allocations: 180 kB / 445.9 MB, free: 100.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/0.3238, allocations: 157.1 kB / 446 MB, free: 100.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.834e-05/0.3239, allocations: 376.3 kB / 446.4 MB, free: 99.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.324, allocations: 102 kB / 446.5 MB, free: 99.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002426/0.3243, allocations: 0.5357 MB / 447 MB, free: 99.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004247/0.3247, allocations: 0.6206 MB / 447.7 MB, free: 99.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3247, allocations: 6.531 kB / 447.7 MB, free: 99.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0005388/0.3252, allocations: 0.5498 MB / 448.2 MB, free: 98.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.3253, allocations: 10.06 kB / 448.2 MB, free: 98.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.3253, allocations: 12 kB / 448.2 MB, free: 98.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001563/0.3254, allocations: 43.61 kB / 448.3 MB, free: 98.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005962/0.326, allocations: 287.4 kB / 448.6 MB, free: 98.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006327/0.3267, allocations: 1.769 MB / 450.3 MB, free: 97.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002729/0.3269, allocations: 33.95 kB / 450.4 MB, free: 97.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.688e-05/0.327, allocations: 37.44 kB / 450.4 MB, free: 97.21 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.0001595/0.3271, allocations: 176.1 kB / 450.6 MB, free: 97.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.051e-05/0.3272, allocations: 53.94 kB / 450.6 MB, free: 97.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009932/0.3282, allocations: 1.524 MB / 452.1 MB, free: 96.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/0.3282, allocations: 35.52 kB / 452.2 MB, free: 96.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.3282, allocations: 0 / 452.2 MB, free: 96.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.3282, allocations: 2.906 kB / 452.2 MB, free: 96.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/0.3297, allocations: 1.856 MB / 454 MB, free: 96.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.3297, allocations: 2.125 kB / 454 MB, free: 96.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004406/0.3301, allocations: 190.2 kB / 454.2 MB, free: 96.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001609/0.3303, allocations: 58.3 kB / 454.3 MB, free: 96.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/0.3303, allocations: 9.406 kB / 454.3 MB, free: 96.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004966/0.3308, allocations: 1.769 MB / 456.1 MB, free: 94.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3308, allocations: 0 / 456.1 MB, free: 94.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000781/0.3316, allocations: 1.196 MB / 457.3 MB, free: 94.24 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.3317, allocations: 142 kB / 457.4 MB, free: 94.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.586e-05/0.3318, allocations: 33.28 kB / 457.4 MB, free: 94.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.3319, allocations: 27.2 kB / 457.5 MB, free: 94.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.779e-05/0.332, allocations: 54.61 kB / 457.5 MB, free: 94.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/0.332, allocations: 11.3 kB / 457.5 MB, free: 94.17 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001871/0.3322, allocations: 293.9 kB / 457.8 MB, free: 94.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3322, allocations: 1.906 kB / 457.8 MB, free: 94.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002469/0.3347, allocations: 1.102 MB / 458.9 MB, free: 94.14 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.00267/0.3374, allocations: 1.368 MB / 460.3 MB, free: 94.06 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007976/0.3382, allocations: 0.5735 MB / 460.8 MB, free: 94.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-05/0.3382, allocations: 12.25 kB / 460.9 MB, free: 94.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004665/0.3386, allocations: 370.3 kB / 461.2 MB, free: 94.03 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008297/0.3395, allocations: 379.2 kB / 461.6 MB, free: 93.99 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002154/0.3416, allocations: 2.105 MB / 463.7 MB, free: 92.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000142/0.3418, allocations: 269.6 kB / 464 MB, free: 92.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003936/0.3422, allocations: 356.5 kB / 464.3 MB, free: 92.44 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004284/0.3426, allocations: 300.9 kB / 464.6 MB, free: 92.21 MB / 410.7 MB Notification: Performance of SimCode: time 9.22e-07/0.3426, allocations: 0 / 464.6 MB, free: 92.21 MB / 410.7 MB Notification: Performance of Templates: time 0.04176/0.3844, allocations: 51.52 MB / 0.504 GB, free: 44.32 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 -s gbode -gbm=radauIIA3 -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.111020767129958]