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.0009908/0.0009908, allocations: 180.9 kB / 17.41 MB, free: 4.402 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.3/1.3, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.0009716/0.0009715, allocations: 93 kB / 271.9 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.3009/0.3009, allocations: 43.55 MB / 363.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003636/0.0003637, allocations: 16 kB / 432.6 MB, free: 5.879 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.098/0.09838, allocations: 58.84 MB / 491.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9574/1.056, allocations: 0.5095 GB / 0.9894 GB, free: 72.8 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/1.056, allocations: 99.94 kB / 0.9895 GB, free: 72.71 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.6272/1.683, allocations: 233.7 MB / 1.218 GB, free: 36.07 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.513e-06/1.683, allocations: 0 / 1.218 GB, free: 36.07 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.593e-05/1.683, allocations: 20 kB / 1.218 GB, free: 36.05 MB / 0.4948 GB 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.002261/1.686, allocations: 1.17 MB / 1.219 GB, free: 34.83 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/1.686, allocations: 12.02 kB / 1.219 GB, free: 34.82 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007505/1.686, allocations: 132 kB / 1.219 GB, free: 34.69 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008154/1.687, allocations: 0.5648 MB / 1.22 GB, free: 34.08 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.672e-05/1.687, allocations: 101.5 kB / 1.22 GB, free: 33.97 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.487e-05/1.687, allocations: 47.91 kB / 1.22 GB, free: 33.93 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009878/1.688, allocations: 0.8269 MB / 1.221 GB, free: 33.02 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/1.688, allocations: 3.938 kB / 1.221 GB, free: 33.01 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.982e-05/1.688, allocations: 20 kB / 1.221 GB, free: 32.99 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.32e-05/1.689, allocations: 36.98 kB / 1.221 GB, free: 32.96 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008471/1.689, allocations: 0.6166 MB / 1.221 GB, free: 32.34 MB / 0.4948 GB 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.003241/1.693, allocations: 3.961 MB / 1.225 GB, free: 28.12 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004549/1.693, allocations: 335.5 kB / 1.225 GB, free: 27.79 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002177/1.693, allocations: 169.3 kB / 1.226 GB, free: 27.62 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003471/1.694, allocations: 357.4 kB / 1.226 GB, free: 27.22 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/1.694, allocations: 42.84 kB / 1.226 GB, free: 27.17 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 2.755e-06/1.694, allocations: 0 / 1.226 GB, free: 27.17 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.004632/1.698, allocations: 1.649 MB / 1.228 GB, free: 25.44 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/1.698, allocations: 136.5 kB / 1.228 GB, free: 25.28 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005671/1.699, allocations: 0.6016 MB / 1.228 GB, free: 24.67 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.301e-05/1.699, allocations: 41.7 kB / 1.228 GB, free: 24.62 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/1.699, allocations: 366.9 kB / 1.229 GB, free: 24.25 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.772e-05/1.699, allocations: 142 kB / 1.229 GB, free: 24.11 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/1.699, allocations: 12 kB / 1.229 GB, free: 24.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.752e-05/1.699, allocations: 374.8 kB / 1.229 GB, free: 23.73 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002821/1.7, allocations: 197.9 kB / 1.229 GB, free: 23.54 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003777/1.7, allocations: 0.5086 MB / 1.23 GB, free: 22.88 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007031/1.701, allocations: 0.7367 MB / 1.231 GB, free: 22.01 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/1.701, allocations: 4 kB / 1.231 GB, free: 22 MB / 0.4948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001171/1.702, allocations: 0.8716 MB / 1.231 GB, free: 21.12 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/1.702, allocations: 8 kB / 1.231 GB, free: 21.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/1.702, allocations: 12 kB / 1.231 GB, free: 21.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001257/1.703, allocations: 314.5 kB / 1.232 GB, free: 20.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003432/1.704, allocations: 123.8 kB / 1.232 GB, free: 20.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000828/1.705, allocations: 0.9258 MB / 1.233 GB, free: 19.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005965/1.705, allocations: 51.83 kB / 1.233 GB, free: 19.67 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.251e-05/1.705, allocations: 75.92 kB / 1.233 GB, free: 19.6 MB / 0.4948 GB 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.0003428/1.706, allocations: 237.6 kB / 1.233 GB, free: 19.36 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.904e-05/1.706, allocations: 67.25 kB / 1.233 GB, free: 19.29 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001313/1.707, allocations: 0.6859 MB / 1.234 GB, free: 18.59 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/1.707, allocations: 7.938 kB / 1.234 GB, free: 18.58 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/1.707, allocations: 0 / 1.234 GB, free: 18.58 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/1.707, allocations: 3.984 kB / 1.234 GB, free: 18.57 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001799/1.709, allocations: 1.594 MB / 1.235 GB, free: 16.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/1.709, allocations: 0 / 1.235 GB, free: 16.83 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009452/1.71, allocations: 211.9 kB / 1.236 GB, free: 16.62 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.462e-05/1.71, allocations: 32.78 kB / 1.236 GB, free: 16.59 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.576e-05/1.71, allocations: 19.98 kB / 1.236 GB, free: 16.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001249/1.711, allocations: 2.687 MB / 1.238 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.711, allocations: 4.031 kB / 1.238 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/1.712, allocations: 0.7955 MB / 1.239 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003009/1.713, allocations: 188.3 kB / 1.239 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.638e-05/1.713, allocations: 8 kB / 1.239 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004386/1.713, allocations: 27.89 kB / 1.239 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.302e-05/1.713, allocations: 47.81 kB / 1.239 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.774e-05/1.713, allocations: 47.97 kB / 1.239 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004492/1.714, allocations: 431 kB / 1.24 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.01e-07/1.714, allocations: 0 / 1.24 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001228/1.715, allocations: 375.8 kB / 1.24 GB, free: 11.67 MB / 0.4948 GB 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.001551/1.717, allocations: 1.032 MB / 1.241 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001058/1.718, allocations: 0.5402 MB / 1.242 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/1.718, allocations: 4 kB / 1.242 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007975/1.718, allocations: 394.3 kB / 1.242 GB, free: 9.695 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0016/1.72, allocations: 338.6 kB / 1.242 GB, free: 9.367 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001777/1.722, allocations: 1.579 MB / 1.244 GB, free: 7.738 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/1.722, allocations: 0.9299 MB / 1.245 GB, free: 6.781 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003496/1.722, allocations: 111.4 kB / 1.245 GB, free: 6.672 MB / 0.4948 GB Notification: Performance of SimCode: time 5.21e-07/1.722, allocations: 3.938 kB / 1.245 GB, free: 6.668 MB / 0.4948 GB Notification: Performance of Templates: time 0.2307/1.953, allocations: 20.53 MB / 1.265 GB, free: 79.85 MB / 0.4948 GB 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/jenkins1/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