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.001173/0.001173, allocations: 103.1 kB / 15.98 MB, free: 6.352 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.00112/0.00112, allocations: 190 kB / 16.91 MB, free: 6.191 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.647/1.647, allocations: 205.1 MB / 222.8 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2455/0.2455, allocations: 43.52 MB / 313.6 MB, free: 0.707 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.001489/0.001489, allocations: 67.8 kB / 382.2 MB, free: 56.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1121, allocations: 57.79 MB / 440 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.4727/0.5848, allocations: 178.8 MB / 0.6043 GB, free: 8.277 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008325/0.5932, allocations: 5.815 MB / 0.61 GB, free: 6.203 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001159/0.5944, allocations: 28.03 kB / 0.61 GB, free: 6.188 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001214/0.5957, allocations: 281.5 kB / 0.6103 GB, free: 5.98 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005897/0.6016, allocations: 1.447 MB / 0.6117 GB, free: 5.188 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003773/0.6054, allocations: 1.161 MB / 0.6128 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002219/0.6076, allocations: 1.842 MB / 0.6146 GB, free: 3.598 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006093/0.6083, allocations: 472.4 kB / 0.6151 GB, free: 3.297 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002616/0.6109, allocations: 1.2 MB / 0.6162 GB, free: 2.715 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001167/0.6121, allocations: 0.7916 MB / 0.617 GB, free: 2.344 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.6122, allocations: 60.25 kB / 0.6171 GB, free: 2.344 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001739/0.6139, allocations: 0.7419 MB / 0.6178 GB, free: 2.031 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000279/0.6142, allocations: 267.6 kB / 0.618 GB, free: 1.855 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004905/0.6147, allocations: 404.9 kB / 0.6184 GB, free: 1.613 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001978/0.6167, allocations: 1.422 MB / 0.6198 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.6167, allocations: 5.906 kB / 0.6198 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.6167, allocations: 0 / 0.6198 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.6167, allocations: 0 / 0.6198 GB, free: 0.7695 MB / 430.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.002157/0.6189, allocations: 1.135 MB / 0.6209 GB, free: 15.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.619, allocations: 8.031 kB / 0.6209 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008245/0.6198, allocations: 138.1 kB / 0.6211 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007275/0.6205, allocations: 0.5059 MB / 0.6216 GB, free: 15.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.6206, allocations: 100.3 kB / 0.6217 GB, free: 15.1 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.5e-05/0.6208, allocations: 54.89 kB / 0.6217 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.622, allocations: 0.819 MB / 0.6225 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/0.6221, allocations: 4 kB / 0.6225 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.362e-05/0.6222, allocations: 24 kB / 0.6225 GB, free: 14.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.443e-05/0.6222, allocations: 40.98 kB / 0.6226 GB, free: 14.1 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.6232, allocations: 0.6203 MB / 0.6232 GB, free: 13.48 MB / 446.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.004733/0.628, allocations: 3.974 MB / 0.6271 GB, free: 9.277 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005647/0.6286, allocations: 355.6 kB / 0.6274 GB, free: 8.922 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002639/0.6288, allocations: 173.3 kB / 0.6276 GB, free: 8.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004618/0.6293, allocations: 360.5 kB / 0.6279 GB, free: 8.348 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.878e-05/0.6294, allocations: 44.22 kB / 0.6279 GB, free: 8.297 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 2.284e-06/0.6294, allocations: 0 / 0.6279 GB, free: 8.297 MB / 446.1 MB Notification: Performance of matching and sorting (n=39): time 0.005571/0.6349, allocations: 1.669 MB / 0.6296 GB, free: 6.559 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.63e-05/0.635, allocations: 136.5 kB / 0.6297 GB, free: 6.395 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006974/0.6357, allocations: 0.6094 MB / 0.6303 GB, free: 5.777 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.444e-05/0.6358, allocations: 41.7 kB / 0.6303 GB, free: 5.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002488/0.6361, allocations: 373.4 kB / 0.6307 GB, free: 5.363 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.6362, allocations: 139.2 kB / 0.6308 GB, free: 5.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002175/0.6364, allocations: 154.5 kB / 0.631 GB, free: 5.074 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.6366, allocations: 374.8 kB / 0.6313 GB, free: 4.699 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003285/0.6369, allocations: 205.9 kB / 0.6315 GB, free: 4.496 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000558/0.6375, allocations: 0.5125 MB / 0.632 GB, free: 3.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009243/0.6384, allocations: 0.7446 MB / 0.6328 GB, free: 2.957 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.6384, allocations: 4 kB / 0.6328 GB, free: 2.953 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001326/0.6397, allocations: 0.8792 MB / 0.6336 GB, free: 2.062 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.6398, allocations: 14.03 kB / 0.6336 GB, free: 2.051 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.6398, allocations: 8.844 kB / 0.6336 GB, free: 2.043 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001371/0.6412, allocations: 323.8 kB / 0.634 GB, free: 1.727 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003764/0.6416, allocations: 123.8 kB / 0.6341 GB, free: 1.605 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001062/0.6426, allocations: 0.927 MB / 0.635 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000567/0.6432, allocations: 47.91 kB / 0.635 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.211e-05/0.6433, allocations: 67.98 kB / 0.6351 GB, free: 0.5391 MB / 446.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.0003539/0.6437, allocations: 254.4 kB / 0.6353 GB, free: 288 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.6438, allocations: 67.16 kB / 0.6354 GB, free: 220 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001428/0.6453, allocations: 0.6821 MB / 0.6361 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.6453, allocations: 7.938 kB / 0.6361 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.6453, allocations: 8 kB / 0.6361 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.6453, allocations: 3.984 kB / 0.6361 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002022/0.6473, allocations: 1.603 MB / 0.6376 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.6473, allocations: 128 / 0.6376 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/0.6484, allocations: 207.8 kB / 0.6378 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.567e-05/0.6485, allocations: 28.83 kB / 0.6379 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.243e-05/0.6485, allocations: 20 kB / 0.6379 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002057/0.6506, allocations: 2.884 MB / 0.6407 GB, free: 10.34 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.6506, allocations: 0 / 0.6407 GB, free: 10.34 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.6518, allocations: 0.807 MB / 0.6415 GB, free: 9.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000278/0.652, allocations: 184.3 kB / 0.6417 GB, free: 9.301 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.885e-05/0.6521, allocations: 12 kB / 0.6417 GB, free: 9.289 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004095/0.6526, allocations: 31.81 kB / 0.6417 GB, free: 9.258 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.955e-05/0.6527, allocations: 39.97 kB / 0.6418 GB, free: 9.219 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.776e-05/0.6527, allocations: 47.97 kB / 0.6418 GB, free: 9.172 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005191/0.6533, allocations: 439 kB / 0.6422 GB, free: 8.746 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6533, allocations: 3.938 kB / 0.6422 GB, free: 8.742 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001109/0.6544, allocations: 303.9 kB / 0.6425 GB, free: 8.445 MB / 462.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.0009622/0.6554, allocations: 366.1 kB / 0.6429 GB, free: 8.098 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001261/0.6566, allocations: 0.6024 MB / 0.6434 GB, free: 7.496 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.6567, allocations: 0 / 0.6434 GB, free: 7.496 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009578/0.6576, allocations: 414.2 kB / 0.6438 GB, free: 7.078 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001594/0.6592, allocations: 372.8 kB / 0.6442 GB, free: 6.723 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002463/0.6617, allocations: 1.536 MB / 0.6457 GB, free: 5.156 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004942/0.6622, allocations: 0.93 MB / 0.6466 GB, free: 4.199 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009928/0.6632, allocations: 258 kB / 0.6469 GB, free: 3.945 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002912/0.6635, allocations: 103.4 kB / 0.6469 GB, free: 3.844 MB / 462.1 MB Notification: Performance of SimCode: time 6.71e-07/0.6635, allocations: 4 kB / 0.647 GB, free: 3.84 MB / 462.1 MB Notification: Performance of Templates: time 0.03131/0.6948, allocations: 18.27 MB / 0.6648 GB, free: 1.625 MB / 478.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