Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001284/0.001284, allocations: 110.2 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001468/0.001468, allocations: 215.8 kB / 23.54 MB, free: 5.391 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 230.2 MB / 256.7 MB, free: 8.668 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2209/0.2209, allocations: 46.88 MB / 359.9 MB, free: 5.035 MB / 286.1 MB [Timeout remaining time 90] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") [Timeout 660] Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00231/0.00231, allocations: 83.86 kB / 0.495 GB, free: 8.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2923, allocations: 65.98 MB / 0.5594 GB, free: 5.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.04367/0.336, allocations: 39.42 MB / 0.5979 GB, free: 13.67 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02555/0.3615, allocations: 20.25 MB / 0.6177 GB, free: 9.352 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006752/0.3622, allocations: 19.88 kB / 0.6177 GB, free: 9.332 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001149/0.3634, allocations: 449.3 kB / 0.6181 GB, free: 8.891 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01254/0.3759, allocations: 5.149 MB / 0.6232 GB, free: 3.746 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006466/0.3824, allocations: 2.574 MB / 0.6257 GB, free: 1.172 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002494/0.3849, allocations: 1.973 MB / 0.6276 GB, free: 15.19 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006385/0.3855, allocations: 425.5 kB / 0.628 GB, free: 14.76 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009293/0.3948, allocations: 4.172 MB / 0.6321 GB, free: 10.53 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01149/0.4063, allocations: 5.486 MB / 0.6374 GB, free: 4.961 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001722/0.4065, allocations: 68 kB / 0.6375 GB, free: 4.895 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01345/0.4199, allocations: 7.255 MB / 0.6446 GB, free: 13.63 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004251/0.4203, allocations: 283.1 kB / 0.6449 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000641/0.421, allocations: 453.9 kB / 0.6453 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009837/0.4308, allocations: 4.992 MB / 0.6502 GB, free: 7.906 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.4308, allocations: 0 / 0.6502 GB, free: 7.906 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4308, allocations: 0 / 0.6502 GB, free: 7.906 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.608e-05/0.4308, allocations: 0 / 0.6502 GB, free: 7.906 MB / 494.1 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.003825/0.4347, allocations: 1.672 MB / 0.6518 GB, free: 6.18 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.4347, allocations: 11.97 kB / 0.6518 GB, free: 6.168 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001468/0.4362, allocations: 224.3 kB / 0.652 GB, free: 5.949 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009382/0.4371, allocations: 0.5642 MB / 0.6526 GB, free: 5.344 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/0.4372, allocations: 113.2 kB / 0.6527 GB, free: 5.219 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.4373, allocations: 68.12 kB / 0.6527 GB, free: 5.152 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001987/0.4393, allocations: 1.075 MB / 0.6538 GB, free: 3.969 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.4393, allocations: 3.938 kB / 0.6538 GB, free: 3.965 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.803e-05/0.4394, allocations: 28 kB / 0.6538 GB, free: 3.938 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.792e-05/0.4395, allocations: 40.98 kB / 0.6539 GB, free: 3.898 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001683/0.4412, allocations: 0.8232 MB / 0.6547 GB, free: 3.074 MB / 494.1 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.006082/0.4472, allocations: 5.559 MB / 0.6601 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001221/0.4485, allocations: 0.5154 MB / 0.6606 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003554/0.4488, allocations: 210.3 kB / 0.6608 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1005/0.5493, allocations: 52.79 MB / 0.7124 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.93e-05/0.5494, allocations: 46.55 kB / 0.7124 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of pre-optimization done (n=39): time 2.434e-06/0.5494, allocations: 0 / 0.7124 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of matching and sorting (n=44): time 0.006452/0.5558, allocations: 2.15 MB / 0.7145 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.5559, allocations: 199.7 kB / 0.7147 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008012/0.5567, allocations: 0.6368 MB / 0.7153 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.21e-05/0.5568, allocations: 37.77 kB / 0.7154 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003095/0.5571, allocations: 404.2 kB / 0.7157 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/0.5572, allocations: 174.6 kB / 0.7159 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002247/0.5575, allocations: 158.6 kB / 0.7161 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001845/0.5576, allocations: 378.8 kB / 0.7164 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004132/0.5581, allocations: 229.9 kB / 0.7166 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007212/0.5588, allocations: 0.5899 MB / 0.7172 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/0.56, allocations: 0.8638 MB / 0.7181 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.872e-06/0.56, allocations: 4 kB / 0.7181 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001504/0.5615, allocations: 0.9001 MB / 0.7189 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.5615, allocations: 12 kB / 0.719 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/0.5615, allocations: 12 kB / 0.719 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003397/0.5649, allocations: 272.5 kB / 0.7192 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/0.5662, allocations: 280.1 kB / 0.7195 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002047/0.5682, allocations: 2.122 MB / 0.7216 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005379/0.5688, allocations: 32.16 kB / 0.7216 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.461e-05/0.5688, allocations: 43.98 kB / 0.7216 GB, free: 6.785 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],volume.medium.phase,shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * 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 {(2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004093/0.5692, allocations: 269.5 kB / 0.7219 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001697/0.5694, allocations: 79.61 kB / 0.722 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002593/0.572, allocations: 2.018 MB / 0.7239 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.596e-05/0.572, allocations: 23.97 kB / 0.724 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.572, allocations: 0 / 0.724 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.572, allocations: 7.984 kB / 0.724 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003779/0.5758, allocations: 2.995 MB / 0.7269 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.5758, allocations: 0 / 0.7269 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009589/0.5768, allocations: 187.8 kB / 0.7271 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001799/0.5786, allocations: 303.9 kB / 0.7274 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.332e-05/0.5786, allocations: 12 kB / 0.7274 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2708/0.8494, allocations: 2.164 MB / 0.7295 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.8494, allocations: 5.156 kB / 0.7295 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002998/0.8524, allocations: 1.947 MB / 0.7314 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000416/0.8528, allocations: 232.1 kB / 0.7316 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.8529, allocations: 33.45 kB / 0.7316 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004602/0.8534, allocations: 15.64 kB / 0.7317 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.405e-05/0.8535, allocations: 36.34 kB / 0.7317 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.308e-05/0.8535, allocations: 22.28 kB / 0.7317 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007581/0.8543, allocations: 0.5715 MB / 0.7323 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.8543, allocations: 0 / 0.7323 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003035/0.8573, allocations: 1.102 MB / 0.7334 GB, free: 165.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {(2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00375/0.8611, allocations: 1.199 MB / 0.7345 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001812/0.8629, allocations: 0.8865 MB / 0.7354 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.8629, allocations: 5.531 kB / 0.7354 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009888/0.8639, allocations: 0.5818 MB / 0.736 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001863/0.8657, allocations: 409.9 kB / 0.7364 GB, free: 165 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002743/0.8685, allocations: 2.19 MB / 0.7385 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004309/0.8689, allocations: 1.093 MB / 0.7396 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001489/0.8691, allocations: 68 kB / 0.7396 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of SimCode: time 7.11e-07/0.8691, allocations: 0.875 kB / 0.7396 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.03773/0.9068, allocations: 37.45 MB / 0.7762 GB, free: 126.9 MB / 0.5606 GB [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches