Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008136/0.0008136, allocations: 98.03 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008554/0.0008556, allocations: 188.6 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 223.3 MB / 241.9 MB, free: 328 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2706/0.2706, allocations: 44.25 MB / 337.3 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003021/0.0003021, allocations: 8 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1147, allocations: 61.94 MB / 471.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.4317/0.5464, allocations: 159.8 MB / 0.6166 GB, free: 3.328 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007269/0.5537, allocations: 5.104 MB / 0.6216 GB, free: 14.21 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00108/0.5548, allocations: 27.75 kB / 0.6216 GB, free: 14.18 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009567/0.5558, allocations: 258.4 kB / 0.6219 GB, free: 13.93 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003503/0.5593, allocations: 1.159 MB / 0.623 GB, free: 12.77 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002563/0.5619, allocations: 0.8343 MB / 0.6238 GB, free: 11.94 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002677/0.5646, allocations: 2.246 MB / 0.626 GB, free: 9.691 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006178/0.5652, allocations: 377 kB / 0.6264 GB, free: 9.316 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00198/0.5672, allocations: 0.8933 MB / 0.6272 GB, free: 8.422 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001229/0.5685, allocations: 0.7395 MB / 0.628 GB, free: 7.68 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.85e-05/0.5686, allocations: 32 kB / 0.628 GB, free: 7.648 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00127/0.5698, allocations: 451.4 kB / 0.6284 GB, free: 7.207 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003052/0.5702, allocations: 239.2 kB / 0.6287 GB, free: 6.973 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001908/0.5704, allocations: 169.4 kB / 0.6288 GB, free: 6.801 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001102/0.5715, allocations: 0.9236 MB / 0.6297 GB, free: 5.875 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.5715, allocations: 0 / 0.6297 GB, free: 5.875 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.197e-06/0.5715, allocations: 0 / 0.6297 GB, free: 5.875 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.948e-06/0.5715, allocations: 3.938 kB / 0.6297 GB, free: 5.871 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.00192/0.5734, allocations: 0.9504 MB / 0.6307 GB, free: 4.871 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.5735, allocations: 12.5 kB / 0.6307 GB, free: 4.859 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007646/0.5743, allocations: 135.1 kB / 0.6308 GB, free: 4.727 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007472/0.575, allocations: 496.5 kB / 0.6313 GB, free: 4.199 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/0.5751, allocations: 111.9 kB / 0.6314 GB, free: 4.082 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.825e-05/0.5752, allocations: 47.98 kB / 0.6314 GB, free: 4.035 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.5765, allocations: 0.8252 MB / 0.6322 GB, free: 3.137 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.5765, allocations: 0 / 0.6322 GB, free: 3.137 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.265e-05/0.5766, allocations: 20 kB / 0.6322 GB, free: 3.117 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.688e-05/0.5767, allocations: 36.98 kB / 0.6323 GB, free: 3.078 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.5778, allocations: 0.6282 MB / 0.6329 GB, free: 2.453 MB / 462.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.004738/0.5825, allocations: 3.965 MB / 0.6368 GB, free: 14.23 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005669/0.5831, allocations: 358 kB / 0.6371 GB, free: 13.87 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002682/0.5834, allocations: 169.3 kB / 0.6373 GB, free: 13.7 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003266/0.5837, allocations: 93.34 kB / 0.6374 GB, free: 13.59 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.5838, allocations: 42.77 kB / 0.6374 GB, free: 13.54 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 1.753e-06/0.5838, allocations: 8 kB / 0.6374 GB, free: 13.54 MB / 478.1 MB Notification: Performance of matching and sorting (n=39): time 0.005151/0.5889, allocations: 1.647 MB / 0.639 GB, free: 11.82 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.573e-05/0.589, allocations: 140.4 kB / 0.6391 GB, free: 11.65 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007868/0.5898, allocations: 0.6055 MB / 0.6397 GB, free: 11.04 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.866e-05/0.5899, allocations: 33.7 kB / 0.6398 GB, free: 11 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003285/0.5902, allocations: 366.8 kB / 0.6401 GB, free: 10.63 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.5904, allocations: 146 kB / 0.6403 GB, free: 10.49 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.03e-05/0.5904, allocations: 19.94 kB / 0.6403 GB, free: 10.47 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002029/0.5906, allocations: 374.8 kB / 0.6406 GB, free: 10.09 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003563/0.591, allocations: 201.9 kB / 0.6408 GB, free: 9.898 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006906/0.5917, allocations: 0.5047 MB / 0.6413 GB, free: 9.246 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005034/0.5922, allocations: 300.6 kB / 0.6416 GB, free: 8.953 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.074e-06/0.5922, allocations: 7.953 kB / 0.6416 GB, free: 8.945 MB / 478.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001563/0.5938, allocations: 0.8762 MB / 0.6425 GB, free: 8.059 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.5938, allocations: 8 kB / 0.6425 GB, free: 8.051 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.015e-05/0.5938, allocations: 8 kB / 0.6425 GB, free: 8.043 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001314/0.5952, allocations: 328.7 kB / 0.6428 GB, free: 7.719 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003978/0.5956, allocations: 119.8 kB / 0.6429 GB, free: 7.602 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/0.5968, allocations: 0.9334 MB / 0.6438 GB, free: 6.645 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006149/0.5974, allocations: 47.88 kB / 0.6439 GB, free: 6.598 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/0.5975, allocations: 68.06 kB / 0.6439 GB, free: 6.531 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0004087/0.5979, allocations: 249.5 kB / 0.6442 GB, free: 6.277 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.5981, allocations: 67.2 kB / 0.6442 GB, free: 6.211 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001793/0.5999, allocations: 0.8669 MB / 0.6451 GB, free: 5.328 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.5999, allocations: 4 kB / 0.6451 GB, free: 5.324 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.5999, allocations: 0 / 0.6451 GB, free: 5.324 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.5999, allocations: 3.938 kB / 0.6451 GB, free: 5.32 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002194/0.6021, allocations: 1.465 MB / 0.6465 GB, free: 3.719 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.6021, allocations: 0 / 0.6465 GB, free: 3.719 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/0.6032, allocations: 212 kB / 0.6467 GB, free: 3.512 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.554e-05/0.6033, allocations: 20.84 kB / 0.6467 GB, free: 3.488 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.23e-05/0.6033, allocations: 23.98 kB / 0.6468 GB, free: 3.465 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002086/0.6054, allocations: 2.676 MB / 0.6494 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.6054, allocations: 3.938 kB / 0.6494 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001344/0.6068, allocations: 0.817 MB / 0.6502 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003188/0.6071, allocations: 196.2 kB / 0.6504 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.372e-05/0.6072, allocations: 11.98 kB / 0.6504 GB, free: 15.44 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003964/0.6076, allocations: 28.05 kB / 0.6504 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.835e-05/0.6077, allocations: 39.95 kB / 0.6504 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-05/0.6078, allocations: 39.98 kB / 0.6505 GB, free: 15.34 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000576/0.6084, allocations: 431 kB / 0.6509 GB, free: 14.92 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6084, allocations: 0 / 0.6509 GB, free: 14.92 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009649/0.6093, allocations: 251.9 kB / 0.6511 GB, free: 14.67 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007522/0.6101, allocations: 296.2 kB / 0.6514 GB, free: 14.39 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001125/0.6112, allocations: 0.5544 MB / 0.652 GB, free: 13.84 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.6113, allocations: 4 kB / 0.652 GB, free: 13.83 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009629/0.6122, allocations: 414.3 kB / 0.6524 GB, free: 13.41 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/0.6138, allocations: 340.3 kB / 0.6527 GB, free: 13.09 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002171/0.6159, allocations: 1.577 MB / 0.6542 GB, free: 11.47 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005005/0.6164, allocations: 0.93 MB / 0.6551 GB, free: 10.51 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001236/0.6177, allocations: 463.7 kB / 0.6556 GB, free: 10.05 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003773/0.6181, allocations: 107.4 kB / 0.6557 GB, free: 9.949 MB / 494.1 MB Notification: Performance of SimCode: time 8.51e-07/0.6181, allocations: 0 / 0.6557 GB, free: 9.949 MB / 494.1 MB Notification: Performance of Templates: time 0.02702/0.6451, allocations: 16.2 MB / 0.6715 GB, free: 9.902 MB / 0.4981 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches