Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001389/0.001389, allocations: 81.97 kB / 22.21 MB, free: 2.293 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.001448/0.001448, allocations: 164.4 kB / 25.61 MB, free: 8.59 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.9/0.9, allocations: 177.1 MB / 206 MB, free: 4.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.13/0.13, allocations: 34.26 MB / 296.8 MB, free: 13.94 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.p|volume.medium.h",fileNamePrefix="ModelicaTest_4.1.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.p|volume.medium.h",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.92e-07/9.92e-07, allocations: 0 / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.065e-06/9.057e-06, allocations: 2.312 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.01001/0.01002, allocations: 16.61 MB / 395.9 MB, free: 6.723 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01025/0.02027, allocations: 13.77 MB / 409.7 MB, free: 8.898 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004348/0.02071, allocations: 27.75 kB / 409.7 MB, free: 8.871 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005315/0.02124, allocations: 254.3 kB / 410 MB, free: 8.621 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008006/0.02925, allocations: 4.964 MB / 414.9 MB, free: 3.641 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002895/0.03214, allocations: 1.955 MB / 416.9 MB, free: 1.68 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001655/0.0338, allocations: 2.059 MB / 418.9 MB, free: 15.61 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005498/0.03434, allocations: 450 kB / 419.4 MB, free: 15.15 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009399/0.04374, allocations: 7.654 MB / 427 MB, free: 7.387 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003708/0.04745, allocations: 2.198 MB / 429.2 MB, free: 5.16 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001299/0.04758, allocations: 71.94 kB / 429.3 MB, free: 5.09 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008473/0.05606, allocations: 6.785 MB / 436.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002455/0.0563, allocations: 311 kB / 436.4 MB, free: 13.99 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003034/0.0566, allocations: 327.3 kB / 436.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006286/0.06289, allocations: 5.62 MB / 442.3 MB, free: 8.035 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.06289, allocations: 3.938 kB / 442.3 MB, free: 8.031 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.0629, allocations: 4 kB / 442.3 MB, free: 8.027 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.263e-06/0.0629, allocations: 0 / 442.3 MB, free: 8.027 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.002214/0.06512, allocations: 1.661 MB / 444 MB, free: 6.324 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.06515, allocations: 12.03 kB / 444 MB, free: 6.312 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001169/0.06632, allocations: 447.1 kB / 444.4 MB, free: 5.875 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005557/0.06688, allocations: 0.5201 MB / 445 MB, free: 5.328 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.885e-05/0.06698, allocations: 172.6 kB / 445.1 MB, free: 5.137 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.451e-05/0.06705, allocations: 64.36 kB / 445.2 MB, free: 5.074 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.06828, allocations: 1.255 MB / 446.4 MB, free: 3.621 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.0683, allocations: 7.875 kB / 446.5 MB, free: 3.613 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.958e-05/0.06835, allocations: 28 kB / 446.5 MB, free: 3.586 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.249e-05/0.06839, allocations: 49.28 kB / 446.5 MB, free: 3.539 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008539/0.06925, allocations: 0.5547 MB / 447.1 MB, free: 2.984 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.004033/0.07328, allocations: 5.234 MB / 452.3 MB, free: 13.58 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009568/0.07424, allocations: 0.5545 MB / 452.9 MB, free: 13 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001249/0.07436, allocations: 115.3 kB / 453 MB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01304/0.0874, allocations: 7.379 MB / 460.4 MB, free: 5.492 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.08743, allocations: 45.33 kB / 460.4 MB, free: 5.438 MB / 378.7 MB Notification: Performance of pre-optimization done (n=45): time 1.954e-06/0.08743, allocations: 0 / 460.4 MB, free: 5.438 MB / 378.7 MB Notification: Performance of matching and sorting (n=49): time 0.002533/0.08996, allocations: 1.453 MB / 461.9 MB, free: 3.945 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.09002, allocations: 170.6 kB / 462 MB, free: 3.742 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003332/0.09035, allocations: 0.5527 MB / 462.6 MB, free: 3.172 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.09038, allocations: 33.7 kB / 462.6 MB, free: 3.133 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000198/0.09058, allocations: 474.5 kB / 463.1 MB, free: 2.664 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.947e-05/0.09068, allocations: 182.5 kB / 463.3 MB, free: 2.484 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/0.09083, allocations: 176.1 kB / 463.4 MB, free: 2.305 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.09098, allocations: 0.5585 MB / 464 MB, free: 1.734 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.09111, allocations: 113.9 kB / 464.1 MB, free: 1.625 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003736/0.09149, allocations: 0.692 MB / 464.8 MB, free: 0.6875 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005196/0.09201, allocations: 0.7592 MB / 465.6 MB, free: 15.71 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.09201, allocations: 4 kB / 465.6 MB, free: 15.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0006667/0.09268, allocations: 0.6801 MB / 466.2 MB, free: 15.02 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.0927, allocations: 8 kB / 466.2 MB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/0.09271, allocations: 12 kB / 466.3 MB, free: 15 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001362/0.09284, allocations: 44.31 kB / 466.3 MB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005829/0.09342, allocations: 279.5 kB / 466.6 MB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009346/0.09436, allocations: 2.599 MB / 469.2 MB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000234/0.09459, allocations: 43.88 kB / 469.2 MB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.848e-05/0.09463, allocations: 39.98 kB / 469.3 MB, free: 11.86 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.0001656/0.0948, allocations: 220.2 kB / 469.5 MB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.988e-05/0.0949, allocations: 79.62 kB / 469.5 MB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.09608, allocations: 1.528 MB / 471.1 MB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.139e-05/0.0961, allocations: 39.94 kB / 471.1 MB, free: 9.973 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.0961, allocations: 0 / 471.1 MB, free: 9.973 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.09611, allocations: 4.031 kB / 471.1 MB, free: 9.969 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001644/0.09775, allocations: 2.076 MB / 473.2 MB, free: 7.855 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.09775, allocations: 0 / 473.2 MB, free: 7.855 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004576/0.09821, allocations: 179.8 kB / 473.4 MB, free: 7.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001601/0.09837, allocations: 59.62 kB / 473.4 MB, free: 7.617 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.0984, allocations: 12 kB / 473.4 MB, free: 7.605 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008872/0.09928, allocations: 2.595 MB / 476 MB, free: 4.863 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.09928, allocations: 4 kB / 476 MB, free: 4.859 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.1003, allocations: 1.352 MB / 477.4 MB, free: 3.48 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/0.1004, allocations: 166.9 kB / 477.6 MB, free: 3.316 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.558e-05/0.1005, allocations: 35.73 kB / 477.6 MB, free: 3.281 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.1007, allocations: 28.11 kB / 477.6 MB, free: 3.254 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.049e-05/0.1008, allocations: 48.41 kB / 477.7 MB, free: 3.207 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.277e-05/0.1008, allocations: 15.98 kB / 477.7 MB, free: 3.191 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002602/0.1011, allocations: 438.8 kB / 478.1 MB, free: 2.766 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1011, allocations: 0 / 478.1 MB, free: 2.766 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00189/0.103, allocations: 1.1 MB / 479.2 MB, free: 1.664 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.002524/0.1055, allocations: 1.325 MB / 480.5 MB, free: 336 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008222/0.1063, allocations: 0.6032 MB / 481.1 MB, free: 15.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1063, allocations: 4.062 kB / 481.1 MB, free: 15.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005331/0.1068, allocations: 411.8 kB / 481.5 MB, free: 15.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009098/0.1077, allocations: 370.9 kB / 481.9 MB, free: 14.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002213/0.11, allocations: 2.115 MB / 484 MB, free: 12.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001772/0.1101, allocations: 275.4 kB / 484.3 MB, free: 12.52 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004109/0.1105, allocations: 351.3 kB / 484.6 MB, free: 12.17 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004866/0.111, allocations: 369.9 kB / 485 MB, free: 11.81 MB / 410.7 MB Notification: Performance of SimCode: time 6.91e-07/0.111, allocations: 0 / 485 MB, free: 11.81 MB / 410.7 MB Notification: Performance of Templates: time 0.2088/0.3198, allocations: 52.6 MB / 0.525 GB, free: 68.41 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.571337295696139]