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.0008497/0.0008499, allocations: 180.4 kB / 16.72 MB, free: 4.953 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.18/1.18, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.000707/0.000707, allocations: 82.41 kB / 271.2 MB, free: 8.254 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.2777/0.2777, allocations: 43.56 MB / 363.1 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004009/0.000401, allocations: 15.98 kB / 432 MB, free: 5.809 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09787/0.09829, allocations: 58.85 MB / 490.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.3168/0.4151, allocations: 164.7 MB / 0.6402 GB, free: 2.113 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.006598/0.4218, allocations: 5.477 MB / 0.6455 GB, free: 12.62 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007401/0.4225, allocations: 27.75 kB / 0.6456 GB, free: 12.6 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007384/0.4233, allocations: 254.4 kB / 0.6458 GB, free: 12.35 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.003487/0.4268, allocations: 1.406 MB / 0.6472 GB, free: 10.94 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002665/0.4295, allocations: 0.9957 MB / 0.6482 GB, free: 9.957 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.002261/0.4317, allocations: 2.25 MB / 0.6504 GB, free: 7.703 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005984/0.4324, allocations: 398.6 kB / 0.6507 GB, free: 7.316 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00202/0.4344, allocations: 1.078 MB / 0.6518 GB, free: 6.238 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001064/0.4355, allocations: 0.7434 MB / 0.6525 GB, free: 5.492 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 9.483e-05/0.4356, allocations: 32 kB / 0.6525 GB, free: 5.461 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001395/0.437, allocations: 0.6608 MB / 0.6532 GB, free: 4.801 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002328/0.4372, allocations: 235.3 kB / 0.6534 GB, free: 4.57 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003725/0.4376, allocations: 384.1 kB / 0.6538 GB, free: 4.188 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.4386, allocations: 1.009 MB / 0.6548 GB, free: 3.176 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.4386, allocations: 0 / 0.6548 GB, free: 3.176 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.4386, allocations: 4 kB / 0.6548 GB, free: 3.172 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.4386, allocations: 0 / 0.6548 GB, free: 3.172 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.001788/0.4404, allocations: 0.9813 MB / 0.6557 GB, free: 2.145 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.4405, allocations: 8.031 kB / 0.6557 GB, free: 2.137 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006944/0.4412, allocations: 139 kB / 0.6559 GB, free: 2 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006848/0.4419, allocations: 0.5119 MB / 0.6564 GB, free: 1.445 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.102e-05/0.442, allocations: 96.41 kB / 0.6565 GB, free: 1.34 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.206e-05/0.4421, allocations: 51.98 kB / 0.6565 GB, free: 1.289 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.4432, allocations: 0.8096 MB / 0.6573 GB, free: 416 kB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.4432, allocations: 4 kB / 0.6573 GB, free: 412 kB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.038e-05/0.4433, allocations: 27.98 kB / 0.6573 GB, free: 384 kB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.192e-05/0.4433, allocations: 36.98 kB / 0.6574 GB, free: 344 kB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009772/0.4443, allocations: 0.6321 MB / 0.658 GB, free: 15.7 MB / 490.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.003963/0.4483, allocations: 3.974 MB / 0.6619 GB, free: 11.48 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005177/0.4488, allocations: 351.6 kB / 0.6622 GB, free: 11.12 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002571/0.4491, allocations: 169.3 kB / 0.6624 GB, free: 10.96 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003838/0.4495, allocations: 357.5 kB / 0.6627 GB, free: 10.55 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.4495, allocations: 46.78 kB / 0.6627 GB, free: 10.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 2.485e-06/0.4495, allocations: 0 / 0.6627 GB, free: 10.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.004966/0.4545, allocations: 1.662 MB / 0.6644 GB, free: 8.77 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.232e-05/0.4546, allocations: 136.5 kB / 0.6645 GB, free: 8.605 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006467/0.4552, allocations: 0.6093 MB / 0.6651 GB, free: 7.988 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.227e-05/0.4553, allocations: 41.7 kB / 0.6651 GB, free: 7.941 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000226/0.4555, allocations: 370.8 kB / 0.6655 GB, free: 7.574 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.4557, allocations: 142 kB / 0.6656 GB, free: 7.434 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.842e-05/0.4557, allocations: 12 kB / 0.6656 GB, free: 7.422 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.4558, allocations: 374.8 kB / 0.666 GB, free: 7.047 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003262/0.4562, allocations: 197.9 kB / 0.6662 GB, free: 6.855 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005331/0.4567, allocations: 0.5086 MB / 0.6667 GB, free: 6.203 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008704/0.4576, allocations: 0.7446 MB / 0.6674 GB, free: 5.32 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.4576, allocations: 4 kB / 0.6674 GB, free: 5.316 MB / 490.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001324/0.4589, allocations: 0.8754 MB / 0.6683 GB, free: 4.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.459, allocations: 8 kB / 0.6683 GB, free: 4.422 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.459, allocations: 8 kB / 0.6683 GB, free: 4.414 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001347/0.4603, allocations: 331.8 kB / 0.6686 GB, free: 4.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003591/0.4607, allocations: 123.8 kB / 0.6687 GB, free: 3.969 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001006/0.4617, allocations: 0.9247 MB / 0.6696 GB, free: 3.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004924/0.4622, allocations: 44.05 kB / 0.6697 GB, free: 2.977 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.811e-05/0.4623, allocations: 67.98 kB / 0.6697 GB, free: 2.91 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.0003274/0.4627, allocations: 245.5 kB / 0.67 GB, free: 2.66 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.4628, allocations: 75.09 kB / 0.67 GB, free: 2.586 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001436/0.4642, allocations: 0.6829 MB / 0.6707 GB, free: 1.891 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.4642, allocations: 11.98 kB / 0.6707 GB, free: 1.879 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.4643, allocations: 0 / 0.6707 GB, free: 1.879 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.4643, allocations: 0 / 0.6707 GB, free: 1.879 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002043/0.4663, allocations: 1.598 MB / 0.6723 GB, free: 136 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.4663, allocations: 4 kB / 0.6723 GB, free: 132 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1942/0.6605, allocations: 207.8 kB / 0.6725 GB, free: 151.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001189/0.6607, allocations: 24.14 kB / 0.6725 GB, free: 151.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.41e-05/0.6608, allocations: 16.31 kB / 0.6725 GB, free: 151.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001408/0.6622, allocations: 2.685 MB / 0.6751 GB, free: 148.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.6622, allocations: 1.094 kB / 0.6751 GB, free: 148.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/0.6634, allocations: 0.8004 MB / 0.6759 GB, free: 148.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002883/0.6637, allocations: 194.9 kB / 0.6761 GB, free: 148.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.51e-05/0.6638, allocations: 13.88 kB / 0.6761 GB, free: 148.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004053/0.6642, allocations: 26 kB / 0.6761 GB, free: 148.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.967e-05/0.6643, allocations: 39.77 kB / 0.6762 GB, free: 148.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.41e-05/0.6644, allocations: 43.25 kB / 0.6762 GB, free: 148.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005937/0.665, allocations: 429.6 kB / 0.6766 GB, free: 148.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.52e-07/0.665, allocations: 0 / 0.6766 GB, free: 148.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001039/0.6661, allocations: 300 kB / 0.6769 GB, free: 148.4 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.00104/0.6671, allocations: 357.2 kB / 0.6773 GB, free: 148.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00135/0.6685, allocations: 0.543 MB / 0.6778 GB, free: 148.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.6685, allocations: 1.062 kB / 0.6778 GB, free: 148.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009026/0.6694, allocations: 410.4 kB / 0.6782 GB, free: 148.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001646/0.6711, allocations: 333.2 kB / 0.6785 GB, free: 148.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002287/0.6734, allocations: 1.602 MB / 0.6801 GB, free: 147.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004387/0.6738, allocations: 0.925 MB / 0.681 GB, free: 146.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003745/0.6742, allocations: 109.7 kB / 0.6811 GB, free: 146.8 MB / 490.7 MB Notification: Performance of SimCode: time 9.22e-07/0.6742, allocations: 0 / 0.6811 GB, free: 146.8 MB / 490.7 MB Notification: Performance of Templates: time 0.02074/0.695, allocations: 16.82 MB / 0.6975 GB, free: 145.3 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