Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.00252/0.00252, allocations: 171.5 kB / 16.76 MB, free: 5.055 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.543/1.543, 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.0007843/0.0007844, allocations: 88.8 kB / 271.3 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.3679/0.3679, allocations: 43.56 MB / 363.1 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005117/0.0005119, allocations: 19.98 kB / 432.6 MB, free: 5.18 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1148, allocations: 58.85 MB / 491.5 MB, free: 10.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.11/1.225, allocations: 0.5095 GB / 0.9894 GB, free: 72.35 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/1.226, allocations: 99.94 kB / 0.9895 GB, free: 72.25 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.6677/1.893, allocations: 233.7 MB / 1.218 GB, free: 35.66 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.413e-06/1.893, allocations: 4 kB / 1.218 GB, free: 35.66 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.831e-05/1.893, allocations: 20.17 kB / 1.218 GB, free: 35.64 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.003153/1.897, allocations: 1.17 MB / 1.219 GB, free: 34.42 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/1.897, allocations: 12.03 kB / 1.219 GB, free: 34.41 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000958/1.898, allocations: 136 kB / 1.219 GB, free: 34.27 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/1.899, allocations: 0.557 MB / 1.22 GB, free: 33.68 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/1.899, allocations: 101.5 kB / 1.22 GB, free: 33.57 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001654/1.899, allocations: 59.89 kB / 1.22 GB, free: 33.51 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/1.9, allocations: 0.8151 MB / 1.221 GB, free: 32.61 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/1.9, allocations: 0 / 1.221 GB, free: 32.61 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-05/1.9, allocations: 31.98 kB / 1.221 GB, free: 32.58 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.141e-05/1.901, allocations: 44.92 kB / 1.221 GB, free: 32.54 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000953/1.901, allocations: 0.6088 MB / 1.221 GB, free: 31.93 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.004108/1.906, allocations: 3.957 MB / 1.225 GB, free: 27.71 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004427/1.906, allocations: 331.5 kB / 1.225 GB, free: 27.38 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002298/1.906, allocations: 173.3 kB / 1.226 GB, free: 27.21 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004029/1.907, allocations: 365.4 kB / 1.226 GB, free: 26.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/1.907, allocations: 38.84 kB / 1.226 GB, free: 26.75 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 2.766e-06/1.907, allocations: 0 / 1.226 GB, free: 26.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.005074/1.912, allocations: 1.657 MB / 1.228 GB, free: 25.02 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.81e-05/1.912, allocations: 132.5 kB / 1.228 GB, free: 24.86 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007022/1.913, allocations: 0.6093 MB / 1.228 GB, free: 24.24 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.054e-05/1.913, allocations: 29.7 kB / 1.228 GB, free: 24.21 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/1.913, allocations: 366.9 kB / 1.229 GB, free: 23.84 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.562e-05/1.913, allocations: 142 kB / 1.229 GB, free: 23.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/1.913, allocations: 20 kB / 1.229 GB, free: 23.68 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.059e-05/1.913, allocations: 374.8 kB / 1.229 GB, free: 23.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003053/1.913, allocations: 193.9 kB / 1.229 GB, free: 23.12 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000406/1.914, allocations: 0.5086 MB / 1.23 GB, free: 22.46 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007894/1.915, allocations: 0.7367 MB / 1.231 GB, free: 21.59 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/1.915, allocations: 4 kB / 1.231 GB, free: 21.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001281/1.916, allocations: 0.8681 MB / 1.231 GB, free: 20.71 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/1.916, allocations: 12 kB / 1.231 GB, free: 20.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/1.916, allocations: 8 kB / 1.231 GB, free: 20.69 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001282/1.917, allocations: 321 kB / 1.232 GB, free: 20.37 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003535/1.918, allocations: 119.8 kB / 1.232 GB, free: 20.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008734/1.919, allocations: 0.9306 MB / 1.233 GB, free: 19.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006619/1.919, allocations: 55.83 kB / 1.233 GB, free: 19.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.507e-05/1.919, allocations: 63.98 kB / 1.233 GB, free: 19.18 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.0003696/1.92, allocations: 245.5 kB / 1.233 GB, free: 18.93 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/1.92, allocations: 67.23 kB / 1.233 GB, free: 18.87 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001322/1.921, allocations: 0.6821 MB / 1.234 GB, free: 18.17 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/1.921, allocations: 7.938 kB / 1.234 GB, free: 18.16 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/1.921, allocations: 0 / 1.234 GB, free: 18.16 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/1.921, allocations: 7.984 kB / 1.234 GB, free: 18.15 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001982/1.923, allocations: 1.586 MB / 1.235 GB, free: 16.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/1.923, allocations: 3.984 kB / 1.235 GB, free: 16.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009192/1.924, allocations: 211.8 kB / 1.236 GB, free: 16.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.203e-05/1.924, allocations: 28.97 kB / 1.236 GB, free: 16.18 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.973e-05/1.924, allocations: 19.98 kB / 1.236 GB, free: 16.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001406/1.926, allocations: 2.691 MB / 1.238 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/1.926, allocations: 224 / 1.238 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/1.927, allocations: 0.7837 MB / 1.239 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003909/1.927, allocations: 196.2 kB / 1.239 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001623/1.927, allocations: 12 kB / 1.239 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000489/1.928, allocations: 31.95 kB / 1.239 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.038e-05/1.928, allocations: 39.81 kB / 1.239 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.872e-05/1.928, allocations: 39.98 kB / 1.239 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005226/1.929, allocations: 435 kB / 1.24 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.11e-07/1.929, allocations: 4 kB / 1.24 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001562/1.93, allocations: 391.7 kB / 1.24 GB, free: 11.25 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.001967/1.932, allocations: 1.007 MB / 1.241 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001081/1.933, allocations: 0.548 MB / 1.242 GB, free: 9.688 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/1.933, allocations: 0 / 1.242 GB, free: 9.688 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008646/1.934, allocations: 414.3 kB / 1.242 GB, free: 9.27 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001807/1.936, allocations: 335.2 kB / 1.242 GB, free: 8.941 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002083/1.938, allocations: 1.545 MB / 1.244 GB, free: 7.359 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/1.938, allocations: 0.9338 MB / 1.245 GB, free: 6.398 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00105/1.939, allocations: 258 kB / 1.245 GB, free: 6.145 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003031/1.94, allocations: 99.39 kB / 1.245 GB, free: 6.047 MB / 0.4948 GB Notification: Performance of SimCode: time 4.21e-07/1.94, allocations: 0 / 1.245 GB, free: 6.047 MB / 0.4948 GB Notification: Performance of Templates: time 0.2832/2.223, allocations: 27.51 MB / 1.272 GB, free: 83.31 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches