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.001439/0.001439, allocations: 80.8 kB / 21.5 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.001843/0.001843, allocations: 170.8 kB / 24.91 MB, free: 8.73 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.9496/0.9496, allocations: 177.1 MB / 205.3 MB, free: 5.09 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.2673/0.2673, allocations: 34.25 MB / 296.1 MB, free: 0.6758 MB / 266.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 1.233e-06/1.233e-06, allocations: 0 / 325.3 MB, free: 7.707 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/1.974e-05, allocations: 3.156 kB / 325.3 MB, free: 7.703 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.01485/0.01487, allocations: 16.74 MB / 342 MB, free: 6.895 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0131/0.02797, allocations: 13.99 MB / 356 MB, free: 8.859 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003703/0.02834, allocations: 27.75 kB / 356 MB, free: 8.832 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005354/0.02888, allocations: 250.3 kB / 356.3 MB, free: 8.586 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009353/0.03823, allocations: 4.988 MB / 361.3 MB, free: 3.578 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003626/0.04185, allocations: 1.967 MB / 363.2 MB, free: 1.605 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001574/0.04343, allocations: 2.047 MB / 365.3 MB, free: 15.55 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00041/0.04384, allocations: 465.9 kB / 365.7 MB, free: 15.07 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008895/0.05273, allocations: 7.657 MB / 373.4 MB, free: 7.305 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002443/0.05518, allocations: 2.178 MB / 375.6 MB, free: 5.098 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.204e-05/0.05526, allocations: 72 kB / 375.6 MB, free: 5.027 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00921/0.06447, allocations: 6.781 MB / 382.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002373/0.06471, allocations: 303.1 kB / 382.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002861/0.06499, allocations: 327.3 kB / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006241/0.07123, allocations: 5.624 MB / 388.7 MB, free: 7.984 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.07124, allocations: 0 / 388.7 MB, free: 7.984 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.07124, allocations: 0 / 388.7 MB, free: 7.984 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.014e-06/0.07125, allocations: 0 / 388.7 MB, free: 7.984 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.002092/0.07334, allocations: 1.529 MB / 390.2 MB, free: 6.426 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.07337, allocations: 8.031 kB / 390.2 MB, free: 6.418 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/0.07454, allocations: 483.4 kB / 390.7 MB, free: 5.945 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005284/0.07507, allocations: 447.3 kB / 391.1 MB, free: 5.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.07518, allocations: 168.7 kB / 391.3 MB, free: 5.289 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.398e-05/0.07526, allocations: 68.31 kB / 391.3 MB, free: 5.223 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/0.07668, allocations: 1.2 MB / 392.5 MB, free: 3.863 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.0767, allocations: 7.875 kB / 392.5 MB, free: 3.855 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.743e-05/0.07675, allocations: 28 kB / 392.6 MB, free: 3.828 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.019e-05/0.07679, allocations: 41.3 kB / 392.6 MB, free: 3.789 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007783/0.07756, allocations: 0.5226 MB / 393.1 MB, free: 3.266 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.00257/0.08013, allocations: 3.686 MB / 396.8 MB, free: 15.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008479/0.08098, allocations: 0.5123 MB / 397.3 MB, free: 14.92 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.0811, allocations: 110.4 kB / 397.4 MB, free: 14.8 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2515/0.3326, allocations: 47.82 MB / 445.3 MB, free: 98.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.094e-05/0.3326, allocations: 43.75 kB / 445.3 MB, free: 98.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=45): time 3.387e-06/0.3326, allocations: 0.875 kB / 445.3 MB, free: 98.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.003788/0.3364, allocations: 1.377 MB / 446.7 MB, free: 98.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.3364, allocations: 164.9 kB / 446.8 MB, free: 98.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003866/0.3368, allocations: 489.3 kB / 447.3 MB, free: 98.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.498e-05/0.3369, allocations: 36.08 kB / 447.3 MB, free: 98.15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.337, allocations: 361.1 kB / 447.7 MB, free: 97.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.904e-05/0.3371, allocations: 184.4 kB / 447.9 MB, free: 97.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/0.3373, allocations: 155.9 kB / 448 MB, free: 97.87 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.523e-05/0.3374, allocations: 382.3 kB / 448.4 MB, free: 97.56 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.3375, allocations: 102.1 kB / 448.5 MB, free: 97.56 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003001/0.3378, allocations: 0.5377 MB / 449 MB, free: 97.03 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000527/0.3384, allocations: 0.6251 MB / 449.7 MB, free: 96.63 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.3384, allocations: 3.594 kB / 449.7 MB, free: 96.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0007394/0.3391, allocations: 0.5422 MB / 450.2 MB, free: 96.58 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.3391, allocations: 14.78 kB / 450.2 MB, free: 96.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.3391, allocations: 9.906 kB / 450.2 MB, free: 96.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001909/0.3393, allocations: 38.55 kB / 450.3 MB, free: 96.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007594/0.3401, allocations: 265 kB / 450.5 MB, free: 96.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007584/0.3409, allocations: 1.774 MB / 452.3 MB, free: 94.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004236/0.3413, allocations: 43.3 kB / 452.4 MB, free: 94.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.053e-05/0.3413, allocations: 38.86 kB / 452.4 MB, free: 94.82 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.0002169/0.3415, allocations: 177.1 kB / 452.6 MB, free: 94.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.3417, allocations: 55.2 kB / 452.6 MB, free: 94.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001354/0.343, allocations: 1.522 MB / 454.1 MB, free: 94.31 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.422e-05/0.343, allocations: 34.31 kB / 454.2 MB, free: 94.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.343, allocations: 0 / 454.2 MB, free: 94.31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.373e-06/0.343, allocations: 7.734 kB / 454.2 MB, free: 94.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002006/0.345, allocations: 1.859 MB / 456 MB, free: 93.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.3451, allocations: 0 / 456 MB, free: 93.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000635/0.3457, allocations: 184.4 kB / 456.2 MB, free: 93.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00024/0.3459, allocations: 50.25 kB / 456.3 MB, free: 93.97 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.766e-05/0.346, allocations: 13.03 kB / 456.3 MB, free: 93.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006706/0.3466, allocations: 1.777 MB / 458.1 MB, free: 92.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3466, allocations: 0 / 458.1 MB, free: 92.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.3477, allocations: 1.186 MB / 459.2 MB, free: 91.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002195/0.3479, allocations: 142.8 kB / 459.4 MB, free: 91.78 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.616e-05/0.348, allocations: 37.98 kB / 459.4 MB, free: 91.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003055/0.3484, allocations: 23.48 kB / 459.4 MB, free: 91.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.28e-05/0.3484, allocations: 56.64 kB / 459.5 MB, free: 91.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.841e-05/0.3485, allocations: 9.906 kB / 459.5 MB, free: 91.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002527/0.3487, allocations: 297.1 kB / 459.8 MB, free: 91.74 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3487, allocations: 0 / 459.8 MB, free: 91.74 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002974/0.3517, allocations: 1.097 MB / 460.9 MB, free: 91.74 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.003987/0.3557, allocations: 1.368 MB / 462.3 MB, free: 91.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00136/0.357, allocations: 0.5642 MB / 462.8 MB, free: 91.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-05/0.3571, allocations: 14.84 kB / 462.8 MB, free: 91.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00072/0.3578, allocations: 376.2 kB / 463.2 MB, free: 91.49 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/0.3591, allocations: 384 kB / 463.6 MB, free: 91.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003023/0.3622, allocations: 2.102 MB / 465.7 MB, free: 89.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002034/0.3624, allocations: 269.3 kB / 466 MB, free: 89.32 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006242/0.363, allocations: 349.4 kB / 466.3 MB, free: 89.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006164/0.3636, allocations: 310.7 kB / 466.6 MB, free: 88.88 MB / 410.7 MB Notification: Performance of SimCode: time 1.843e-06/0.3636, allocations: 0 / 466.6 MB, free: 88.88 MB / 410.7 MB Notification: Performance of Templates: time 0.06598/0.4296, allocations: 51.47 MB / 0.5059 GB, free: 40.73 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.090507578104734]