Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008301/0.0008302, allocations: 90.67 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001039/0.001039, allocations: 200.9 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.7 MB / 247.5 MB, free: 11.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1939/0.1939, allocations: 46.19 MB / 345.9 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002659/0.0002659, allocations: 11.94 kB / 420.2 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1039, allocations: 63.55 MB / 483.7 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.2545/0.3585, allocations: 39.55 MB / 0.511 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02396/0.3825, allocations: 20.94 MB / 0.5315 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001163/0.3837, allocations: 27.22 kB / 0.5315 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001328/0.385, allocations: 396.5 kB / 0.5319 GB, free: 9.996 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01364/0.3987, allocations: 4.183 MB / 0.536 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007511/0.4062, allocations: 2.242 MB / 0.5381 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003519/0.4097, allocations: 2.83 MB / 0.5409 GB, free: 7.734 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008784/0.4106, allocations: 414.5 kB / 0.5413 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008486/0.4191, allocations: 4.051 MB / 0.5453 GB, free: 5.113 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009969/0.4291, allocations: 5.444 MB / 0.5506 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002792/0.4295, allocations: 33.12 kB / 0.5506 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01575/0.4452, allocations: 7.13 MB / 0.5576 GB, free: 12.85 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006182/0.4459, allocations: 250 kB / 0.5578 GB, free: 12.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001105/0.447, allocations: 447.5 kB / 0.5582 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00743/0.4545, allocations: 3.408 MB / 0.5616 GB, free: 8.953 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.4545, allocations: 4 kB / 0.5616 GB, free: 8.949 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.4545, allocations: 0 / 0.5616 GB, free: 8.949 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.621e-05/0.4546, allocations: 0 / 0.5616 GB, free: 8.949 MB / 398.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.004312/0.4589, allocations: 1.461 MB / 0.563 GB, free: 7.445 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.4589, allocations: 8.031 kB / 0.563 GB, free: 7.438 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001594/0.4605, allocations: 225 kB / 0.5632 GB, free: 7.219 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009203/0.4615, allocations: 0.5404 MB / 0.5638 GB, free: 6.652 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/0.4616, allocations: 109.3 kB / 0.5639 GB, free: 6.535 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/0.4617, allocations: 59.5 kB / 0.5639 GB, free: 6.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002086/0.4638, allocations: 1.077 MB / 0.565 GB, free: 5.301 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.43e-05/0.4639, allocations: 4.875 kB / 0.565 GB, free: 5.297 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.166e-05/0.464, allocations: 31.91 kB / 0.565 GB, free: 5.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-05/0.464, allocations: 48.92 kB / 0.565 GB, free: 5.223 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001731/0.4658, allocations: 0.8194 MB / 0.5658 GB, free: 4.398 MB / 398.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.005974/0.4718, allocations: 5.561 MB / 0.5713 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001232/0.473, allocations: 0.5345 MB / 0.5718 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003479/0.4734, allocations: 210.5 kB / 0.572 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1015/0.5749, allocations: 53.02 MB / 0.6238 GB, free: 2.082 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.974e-05/0.575, allocations: 42.5 kB / 0.6238 GB, free: 2.031 MB / 462.1 MB Notification: Performance of pre-optimization done (n=39): time 2.315e-06/0.575, allocations: 0 / 0.6238 GB, free: 2.031 MB / 462.1 MB Notification: Performance of matching and sorting (n=44): time 0.006728/0.5817, allocations: 2.139 MB / 0.6259 GB, free: 15.84 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.895e-05/0.5819, allocations: 191.9 kB / 0.6261 GB, free: 15.61 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008819/0.5827, allocations: 0.6329 MB / 0.6267 GB, free: 14.96 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.165e-05/0.5828, allocations: 33.7 kB / 0.6267 GB, free: 14.93 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002983/0.5831, allocations: 410 kB / 0.6271 GB, free: 14.53 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001561/0.5833, allocations: 157.5 kB / 0.6273 GB, free: 14.38 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.702e-05/0.5834, allocations: 81.61 kB / 0.6274 GB, free: 14.29 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.5836, allocations: 378.8 kB / 0.6277 GB, free: 13.91 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004175/0.584, allocations: 233.9 kB / 0.6279 GB, free: 13.68 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006466/0.5846, allocations: 0.5783 MB / 0.6285 GB, free: 12.93 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.5858, allocations: 0.8714 MB / 0.6294 GB, free: 11.9 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.5858, allocations: 4 kB / 0.6294 GB, free: 11.89 MB / 478.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001543/0.5874, allocations: 0.8961 MB / 0.6302 GB, free: 10.99 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/0.5874, allocations: 12.19 kB / 0.6303 GB, free: 10.98 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.939e-05/0.5874, allocations: 16 kB / 0.6303 GB, free: 10.96 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003336/0.5908, allocations: 268.5 kB / 0.6305 GB, free: 10.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.592, allocations: 283.5 kB / 0.6308 GB, free: 10.42 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001819/0.5938, allocations: 2.026 MB / 0.6328 GB, free: 8.238 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007381/0.5946, allocations: 63.88 kB / 0.6328 GB, free: 8.176 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/0.5947, allocations: 36 kB / 0.6329 GB, free: 8.141 MB / 478.1 MB 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.0004786/0.5952, allocations: 284.9 kB / 0.6331 GB, free: 7.855 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001999/0.5954, allocations: 71.16 kB / 0.6332 GB, free: 7.785 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002519/0.5979, allocations: 2.006 MB / 0.6352 GB, free: 5.754 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.338e-05/0.598, allocations: 19.97 kB / 0.6352 GB, free: 5.734 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.598, allocations: 11.92 kB / 0.6352 GB, free: 5.723 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.598, allocations: 0 / 0.6352 GB, free: 5.723 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003827/0.6018, allocations: 3 MB / 0.6381 GB, free: 2.66 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.6019, allocations: 0 / 0.6381 GB, free: 2.66 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009324/0.6028, allocations: 187.8 kB / 0.6383 GB, free: 2.477 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001834/0.6046, allocations: 307.8 kB / 0.6386 GB, free: 2.172 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.714e-05/0.6047, allocations: 19.92 kB / 0.6386 GB, free: 2.152 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001783/0.6065, allocations: 2.081 MB / 0.6407 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.6065, allocations: 4.031 kB / 0.6407 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002375/0.6089, allocations: 1.951 MB / 0.6426 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004531/0.6094, allocations: 291.2 kB / 0.6428 GB, free: 13.63 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001383/0.6095, allocations: 8 kB / 0.6428 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000527/0.61, allocations: 27.98 kB / 0.6429 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.077e-05/0.6101, allocations: 40.39 kB / 0.6429 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-05/0.6102, allocations: 19.98 kB / 0.6429 GB, free: 13.54 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008392/0.611, allocations: 0.5693 MB / 0.6435 GB, free: 12.97 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6111, allocations: 0 / 0.6435 GB, free: 12.97 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003283/0.6143, allocations: 1.093 MB / 0.6446 GB, free: 11.88 MB / 494.1 MB 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.005033/0.6194, allocations: 1.196 MB / 0.6457 GB, free: 10.77 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002043/0.6215, allocations: 0.9005 MB / 0.6466 GB, free: 9.875 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.6215, allocations: 0.875 kB / 0.6466 GB, free: 9.875 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001209/0.6227, allocations: 0.6398 MB / 0.6472 GB, free: 9.238 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002424/0.6251, allocations: 384.5 kB / 0.6476 GB, free: 8.867 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003551/0.6287, allocations: 2.675 MB / 0.6502 GB, free: 6.16 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007242/0.6294, allocations: 1.085 MB / 0.6513 GB, free: 5.047 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001928/0.6296, allocations: 71.42 kB / 0.6513 GB, free: 4.977 MB / 494.1 MB Notification: Performance of SimCode: time 1.753e-06/0.6297, allocations: 0 / 0.6513 GB, free: 4.977 MB / 494.1 MB Notification: Performance of Templates: time 0.06746/0.6971, allocations: 37.17 MB / 0.6876 GB, free: 15.82 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volume.medium.T,volume.medium.p Variables in the result:time,volume.medium.T,volume.medium.p