Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001253/0.001253, allocations: 178.8 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.754/1.754, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009543/0.000954, allocations: 91.8 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.418/0.418, allocations: 43.57 MB / 362.7 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003875/0.0003875, allocations: 8 kB / 431.4 MB, free: 6.137 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.139, allocations: 58.85 MB / 490.2 MB, free: 11.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.473/0.6121, allocations: 164.7 MB / 0.6396 GB, free: 2.508 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.009091/0.6213, allocations: 5.475 MB / 0.6449 GB, free: 13.02 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001093/0.6224, allocations: 19.81 kB / 0.6449 GB, free: 13 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001221/0.6237, allocations: 258.4 kB / 0.6452 GB, free: 12.75 MB / 474.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.00541/0.6291, allocations: 1.372 MB / 0.6465 GB, free: 11.38 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003561/0.6327, allocations: 0.9743 MB / 0.6475 GB, free: 10.42 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.00353/0.6362, allocations: 2.246 MB / 0.6497 GB, free: 8.172 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001084/0.6373, allocations: 374.5 kB / 0.65 GB, free: 7.805 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003619/0.641, allocations: 1.042 MB / 0.651 GB, free: 6.762 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002134/0.6431, allocations: 0.7434 MB / 0.6518 GB, free: 6.016 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000318/0.6434, allocations: 32 kB / 0.6518 GB, free: 5.984 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002478/0.6459, allocations: 0.5945 MB / 0.6524 GB, free: 5.391 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000513/0.6465, allocations: 239.3 kB / 0.6526 GB, free: 5.156 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005129/0.647, allocations: 165.3 kB / 0.6528 GB, free: 4.988 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00219/0.6492, allocations: 0.9937 MB / 0.6537 GB, free: 3.992 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.6492, allocations: 4 kB / 0.6537 GB, free: 3.988 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.916e-06/0.6492, allocations: 0 / 0.6537 GB, free: 3.988 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.369e-05/0.6493, allocations: 4 kB / 0.6537 GB, free: 3.984 MB / 474.7 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.003235/0.6525, allocations: 0.9814 MB / 0.6547 GB, free: 2.957 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/0.6526, allocations: 12.02 kB / 0.6547 GB, free: 2.945 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009844/0.6536, allocations: 136 kB / 0.6548 GB, free: 2.812 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.6547, allocations: 492.6 kB / 0.6553 GB, free: 2.289 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001394/0.6548, allocations: 108.4 kB / 0.6554 GB, free: 2.172 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.655, allocations: 48 kB / 0.6555 GB, free: 2.125 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.6564, allocations: 0.8174 MB / 0.6563 GB, free: 1.234 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/0.6565, allocations: 0 / 0.6563 GB, free: 1.234 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.688e-05/0.6566, allocations: 24 kB / 0.6563 GB, free: 1.211 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.889e-05/0.6566, allocations: 48.91 kB / 0.6563 GB, free: 1.16 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.6579, allocations: 0.6205 MB / 0.6569 GB, free: 0.543 MB / 474.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.005128/0.663, allocations: 3.983 MB / 0.6608 GB, free: 12.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006033/0.6637, allocations: 347.6 kB / 0.6612 GB, free: 11.96 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003176/0.664, allocations: 173.3 kB / 0.6613 GB, free: 11.79 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005268/0.6645, allocations: 365.4 kB / 0.6617 GB, free: 11.38 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.166e-05/0.6646, allocations: 38.84 kB / 0.6617 GB, free: 11.33 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 2.645e-06/0.6646, allocations: 0 / 0.6617 GB, free: 11.33 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.0059/0.6705, allocations: 1.667 MB / 0.6633 GB, free: 9.59 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.6706, allocations: 136.5 kB / 0.6635 GB, free: 9.426 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008668/0.6715, allocations: 0.6016 MB / 0.664 GB, free: 8.816 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.093e-05/0.6716, allocations: 41.69 kB / 0.6641 GB, free: 8.77 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002912/0.6719, allocations: 366.9 kB / 0.6644 GB, free: 8.406 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/0.672, allocations: 138 kB / 0.6646 GB, free: 8.27 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.709e-05/0.6721, allocations: 16 kB / 0.6646 GB, free: 8.254 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001979/0.6723, allocations: 374.8 kB / 0.6649 GB, free: 7.879 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000369/0.6727, allocations: 197.9 kB / 0.6651 GB, free: 7.688 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006451/0.6733, allocations: 0.5086 MB / 0.6656 GB, free: 7.035 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005207/0.6739, allocations: 295.7 kB / 0.6659 GB, free: 6.746 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.6739, allocations: 4 kB / 0.6659 GB, free: 6.742 MB / 490.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00157/0.6755, allocations: 0.8768 MB / 0.6668 GB, free: 5.855 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.6755, allocations: 11.98 kB / 0.6668 GB, free: 5.844 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/0.6755, allocations: 12 kB / 0.6668 GB, free: 5.832 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001468/0.677, allocations: 312.7 kB / 0.6671 GB, free: 5.523 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003971/0.6774, allocations: 123.8 kB / 0.6672 GB, free: 5.402 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001148/0.6786, allocations: 0.94 MB / 0.6681 GB, free: 4.441 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006355/0.6792, allocations: 43.91 kB / 0.6682 GB, free: 4.398 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.131e-05/0.6793, allocations: 64 kB / 0.6682 GB, free: 4.336 MB / 490.7 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.0004503/0.6798, allocations: 249.6 kB / 0.6685 GB, free: 4.082 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.6799, allocations: 67.16 kB / 0.6685 GB, free: 4.016 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00152/0.6814, allocations: 0.6879 MB / 0.6692 GB, free: 3.312 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.6815, allocations: 4 kB / 0.6692 GB, free: 3.309 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.6815, allocations: 0 / 0.6692 GB, free: 3.309 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.6815, allocations: 3.984 kB / 0.6692 GB, free: 3.305 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002418/0.6839, allocations: 1.598 MB / 0.6708 GB, free: 1.559 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.6839, allocations: 0 / 0.6708 GB, free: 1.559 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/0.685, allocations: 207.8 kB / 0.671 GB, free: 1.355 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.602e-05/0.6851, allocations: 24.84 kB / 0.671 GB, free: 1.328 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.32e-05/0.6851, allocations: 24.05 kB / 0.671 GB, free: 1.305 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2182/0.9033, allocations: 2.68 MB / 0.6736 GB, free: 149.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.9034, allocations: 6.438 kB / 0.6736 GB, free: 149.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001423/0.9048, allocations: 0.8016 MB / 0.6744 GB, free: 149.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000336/0.9051, allocations: 190.8 kB / 0.6746 GB, free: 149 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.466e-05/0.9052, allocations: 11.8 kB / 0.6746 GB, free: 149 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004166/0.9056, allocations: 27.09 kB / 0.6746 GB, free: 149 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.194e-05/0.9057, allocations: 35.33 kB / 0.6747 GB, free: 149 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.339e-05/0.9058, allocations: 43.34 kB / 0.6747 GB, free: 149 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006024/0.9064, allocations: 430.9 kB / 0.6751 GB, free: 148.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9064, allocations: 0 / 0.6751 GB, free: 148.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001011/0.9075, allocations: 293.3 kB / 0.6754 GB, free: 148.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.0008989/0.9084, allocations: 369.7 kB / 0.6758 GB, free: 148.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001241/0.9096, allocations: 0.5423 MB / 0.6763 GB, free: 148.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.9096, allocations: 1.625 kB / 0.6763 GB, free: 148.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009127/0.9106, allocations: 407.7 kB / 0.6767 GB, free: 148.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001648/0.9122, allocations: 345.7 kB / 0.677 GB, free: 148.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/0.9145, allocations: 1.595 MB / 0.6786 GB, free: 148 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004083/0.9149, allocations: 0.9245 MB / 0.6795 GB, free: 147.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003651/0.9152, allocations: 112.5 kB / 0.6796 GB, free: 147.3 MB / 490.7 MB Notification: Performance of SimCode: time 5.61e-07/0.9153, allocations: 0 / 0.6796 GB, free: 147.3 MB / 490.7 MB Notification: Performance of Templates: time 0.02318/0.9384, allocations: 16.82 MB / 0.696 GB, free: 145.8 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches