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/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 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 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007021/0.007021, allocations: 99.86 kB / 15.87 MB, free: 6.309 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.001493/0.001493, allocations: 195.4 kB / 16.79 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.607/1.607, allocations: 205.1 MB / 222.6 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3471/0.3471, allocations: 43.5 MB / 313.5 MB, free: 8.262 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 67.91 kB / 382 MB, free: 8.488 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1339, allocations: 57.79 MB / 439.8 MB, free: 14.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.4404/0.5743, allocations: 179 MB / 0.6043 GB, free: 8.941 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.008011/0.5824, allocations: 5.909 MB / 0.6101 GB, free: 3.023 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007867/0.5832, allocations: 27.81 kB / 0.6101 GB, free: 2.996 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000891/0.5841, allocations: 282.5 kB / 0.6104 GB, free: 2.719 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005289/0.5894, allocations: 1.412 MB / 0.6118 GB, free: 1.312 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003645/0.5931, allocations: 1.102 MB / 0.6129 GB, free: 228 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002986/0.5961, allocations: 2.71 MB / 0.6155 GB, free: 13.51 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006282/0.5967, allocations: 407 kB / 0.6159 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002698/0.5994, allocations: 1.094 MB / 0.617 GB, free: 12.02 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001337/0.6008, allocations: 0.7822 MB / 0.6177 GB, free: 11.23 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001043/0.6009, allocations: 36 kB / 0.6178 GB, free: 11.2 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001905/0.6028, allocations: 0.6942 MB / 0.6184 GB, free: 10.5 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002944/0.6031, allocations: 243.2 kB / 0.6187 GB, free: 10.26 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004592/0.6036, allocations: 378.2 kB / 0.619 GB, free: 9.891 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001913/0.6055, allocations: 1.387 MB / 0.6204 GB, free: 8.5 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.6055, allocations: 0 / 0.6204 GB, free: 8.5 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.6056, allocations: 0 / 0.6204 GB, free: 8.5 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.6056, allocations: 0 / 0.6204 GB, free: 8.5 MB / 494.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.002502/0.6081, allocations: 1.129 MB / 0.6215 GB, free: 7.32 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.6081, allocations: 11.97 kB / 0.6215 GB, free: 7.309 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008324/0.609, allocations: 135 kB / 0.6216 GB, free: 7.176 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007789/0.6098, allocations: 0.5158 MB / 0.6221 GB, free: 6.621 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/0.6099, allocations: 104.4 kB / 0.6222 GB, free: 6.504 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.546e-05/0.61, allocations: 44 kB / 0.6223 GB, free: 6.461 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/0.6113, allocations: 0.8136 MB / 0.6231 GB, free: 5.574 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/0.6113, allocations: 7.938 kB / 0.6231 GB, free: 5.566 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.541e-05/0.6114, allocations: 23.98 kB / 0.6231 GB, free: 5.543 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-05/0.6115, allocations: 40.97 kB / 0.6231 GB, free: 5.504 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/0.6125, allocations: 0.6204 MB / 0.6238 GB, free: 4.883 MB / 494.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.004486/0.617, allocations: 3.985 MB / 0.6276 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005656/0.6176, allocations: 355.6 kB / 0.628 GB, free: 304 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002729/0.6179, allocations: 169.3 kB / 0.6281 GB, free: 132 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2517/0.8696, allocations: 355.3 kB / 0.6285 GB, free: 159 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/0.8697, allocations: 42.5 kB / 0.6285 GB, free: 158.9 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.364e-06/0.8697, allocations: 0 / 0.6285 GB, free: 158.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.006256/0.876, allocations: 1.657 MB / 0.6301 GB, free: 158.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.303e-05/0.8761, allocations: 131.4 kB / 0.6303 GB, free: 158.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009089/0.877, allocations: 0.6134 MB / 0.6309 GB, free: 158.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.51e-05/0.8771, allocations: 34.14 kB / 0.6309 GB, free: 158.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003242/0.8774, allocations: 374.8 kB / 0.6313 GB, free: 158 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/0.8776, allocations: 141.6 kB / 0.6314 GB, free: 157.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002644/0.8778, allocations: 150 kB / 0.6315 GB, free: 157.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.878, allocations: 378.2 kB / 0.6319 GB, free: 157.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003408/0.8784, allocations: 200.8 kB / 0.6321 GB, free: 157.6 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004862/0.8789, allocations: 0.5208 MB / 0.6326 GB, free: 157.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000964/0.8798, allocations: 0.7424 MB / 0.6333 GB, free: 156.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.8799, allocations: 2.906 kB / 0.6333 GB, free: 156.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001679/0.8816, allocations: 0.8906 MB / 0.6342 GB, free: 156.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.672e-05/0.8816, allocations: 8.594 kB / 0.6342 GB, free: 156.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.539e-05/0.8817, allocations: 14.78 kB / 0.6342 GB, free: 156.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001631/0.8833, allocations: 322.9 kB / 0.6345 GB, free: 156.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004071/0.8837, allocations: 121.3 kB / 0.6346 GB, free: 156.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001137/0.8849, allocations: 0.9263 MB / 0.6355 GB, free: 156 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007334/0.8856, allocations: 52.05 kB / 0.6356 GB, free: 156 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/0.8857, allocations: 69.23 kB / 0.6357 GB, free: 156 MB / 494.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0004502/0.8862, allocations: 242.1 kB / 0.6359 GB, free: 155.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.8863, allocations: 71.34 kB / 0.636 GB, free: 155.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/0.8879, allocations: 0.6789 MB / 0.6366 GB, free: 155.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.8879, allocations: 11.69 kB / 0.6366 GB, free: 155.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.8879, allocations: 3 kB / 0.6366 GB, free: 155.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.888, allocations: 3.422 kB / 0.6366 GB, free: 155.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001983/0.8899, allocations: 1.607 MB / 0.6382 GB, free: 154.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.89, allocations: 0 / 0.6382 GB, free: 154.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009871/0.891, allocations: 207.4 kB / 0.6384 GB, free: 154.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.098e-05/0.8911, allocations: 30.14 kB / 0.6384 GB, free: 154.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.111e-05/0.8911, allocations: 25.41 kB / 0.6385 GB, free: 154.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001575/0.8927, allocations: 2.682 MB / 0.6411 GB, free: 151.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.8927, allocations: 0 / 0.6411 GB, free: 151.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009701/0.8937, allocations: 0.8167 MB / 0.6419 GB, free: 151.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002216/0.8939, allocations: 193 kB / 0.6421 GB, free: 151.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.442e-05/0.894, allocations: 6.938 kB / 0.6421 GB, free: 151.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003965/0.8944, allocations: 30.12 kB / 0.6421 GB, free: 151.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.459e-05/0.8945, allocations: 42.45 kB / 0.6421 GB, free: 151.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.113e-05/0.8946, allocations: 44.36 kB / 0.6422 GB, free: 151.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000451/0.895, allocations: 435.6 kB / 0.6426 GB, free: 151 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.895, allocations: 0 / 0.6426 GB, free: 151 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001017/0.8961, allocations: 293.7 kB / 0.6429 GB, free: 150.9 MB / 494.1 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008992/0.897, allocations: 373.3 kB / 0.6432 GB, free: 150.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001019/0.898, allocations: 0.5374 MB / 0.6438 GB, free: 150.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.898, allocations: 0 / 0.6438 GB, free: 150.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008829/0.8989, allocations: 415.8 kB / 0.6441 GB, free: 150.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001582/0.9005, allocations: 347.1 kB / 0.6445 GB, free: 150.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/0.9025, allocations: 1.533 MB / 0.646 GB, free: 149.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.9028, allocations: 0.9297 MB / 0.6469 GB, free: 148.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000941/0.9038, allocations: 268 kB / 0.6471 GB, free: 148.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002945/0.9041, allocations: 100.1 kB / 0.6472 GB, free: 148.8 MB / 494.1 MB Notification: Performance of SimCode: time 3.81e-07/0.9041, allocations: 0 / 0.6472 GB, free: 148.8 MB / 494.1 MB Notification: Performance of Templates: time 0.0359/0.94, allocations: 17.76 MB / 0.6646 GB, free: 146.5 MB / 494.1 MB 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/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_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches