Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001001/0.001001, allocations: 183 kB / 17.91 MB, free: 3.855 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.164/1.164, allocations: 205.1 MB / 223.7 MB, free: 8.508 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.0008758/0.0008757, allocations: 95.98 kB / 271.2 MB, free: 8.465 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008188/0.000819, allocations: 47.92 kB / 327.2 MB, free: 336 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2255, allocations: 46.61 MB / 373.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.3126/0.5381, allocations: 171.5 MB / 0.5325 GB, free: 15.83 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.003017/0.5412, allocations: 3.234 MB / 0.5357 GB, free: 15.73 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001559/0.5414, allocations: 6.031 kB / 0.5357 GB, free: 15.73 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004736/0.5419, allocations: 141.4 kB / 0.5358 GB, free: 15.73 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006902/0.5426, allocations: 390.4 kB / 0.5362 GB, free: 15.7 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006791/0.5433, allocations: 314.2 kB / 0.5365 GB, free: 15.69 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009588/0.5443, allocations: 1.35 MB / 0.5378 GB, free: 15.69 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.5445, allocations: 78.14 kB / 0.5379 GB, free: 15.68 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001481/0.5459, allocations: 0.7207 MB / 0.5386 GB, free: 15.66 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000311/0.5463, allocations: 291.3 kB / 0.5389 GB, free: 15.65 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.474e-05/0.5463, allocations: 15 kB / 0.5389 GB, free: 15.65 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002594/0.5466, allocations: 107.4 kB / 0.539 GB, free: 15.65 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 9.761e-05/0.5467, allocations: 86.5 kB / 0.5391 GB, free: 15.65 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001692/0.5469, allocations: 174.3 kB / 0.5392 GB, free: 15.65 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006234/0.5475, allocations: 0.4989 MB / 0.5397 GB, free: 15.62 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.5475, allocations: 1.203 kB / 0.5397 GB, free: 15.62 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.5475, allocations: 0 / 0.5397 GB, free: 15.62 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.5475, allocations: 0 / 0.5397 GB, free: 15.62 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.000805/0.5483, allocations: 0.6022 MB / 0.5403 GB, free: 15.18 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.5484, allocations: 7.969 kB / 0.5403 GB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002597/0.5486, allocations: 39.28 kB / 0.5404 GB, free: 15.16 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/0.549, allocations: 286.1 kB / 0.5406 GB, free: 14.94 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.549, allocations: 18.25 kB / 0.5406 GB, free: 14.94 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.24e-05/0.5491, allocations: 31.78 kB / 0.5407 GB, free: 14.94 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005019/0.5496, allocations: 320.6 kB / 0.541 GB, free: 14.84 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.5496, allocations: 2.531 kB / 0.541 GB, free: 14.84 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.899e-05/0.5496, allocations: 17.22 kB / 0.541 GB, free: 14.83 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.5497, allocations: 11.33 kB / 0.541 GB, free: 14.83 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002953/0.55, allocations: 204.9 kB / 0.5412 GB, free: 14.83 MB / 394.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.001559/0.5515, allocations: 1.582 MB / 0.5428 GB, free: 13.64 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002492/0.5518, allocations: 179 kB / 0.5429 GB, free: 13.61 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.5519, allocations: 100.9 kB / 0.543 GB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.552, allocations: 7.109 kB / 0.543 GB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.552, allocations: 36.44 kB / 0.5431 GB, free: 13.55 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 1.322e-06/0.552, allocations: 0 / 0.5431 GB, free: 13.55 MB / 394.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.005125/0.5571, allocations: 1.622 MB / 0.5446 GB, free: 12.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.5572, allocations: 54.45 kB / 0.5447 GB, free: 12.64 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.5574, allocations: 250.7 kB / 0.5449 GB, free: 12.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.5574, allocations: 32.02 kB / 0.545 GB, free: 12.47 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.532e-05/0.5575, allocations: 177.8 kB / 0.5451 GB, free: 12.34 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.661e-05/0.5576, allocations: 93.31 kB / 0.5452 GB, free: 12.27 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.5577, allocations: 94.47 kB / 0.5453 GB, free: 12.23 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.5578, allocations: 336.4 kB / 0.5456 GB, free: 11.91 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.558, allocations: 82.84 kB / 0.5457 GB, free: 11.9 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.5582, allocations: 192.8 kB / 0.5459 GB, free: 11.77 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003526/0.5585, allocations: 306.1 kB / 0.5462 GB, free: 11.64 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.718e-06/0.5585, allocations: 6.5 kB / 0.5462 GB, free: 11.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005384/0.5591, allocations: 393.9 kB / 0.5466 GB, free: 11.54 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.5591, allocations: 7.281 kB / 0.5466 GB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.5591, allocations: 2.812 kB / 0.5466 GB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001907/0.5593, allocations: 74.69 kB / 0.5467 GB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002973/0.5596, allocations: 86.08 kB / 0.5467 GB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00115/0.5608, allocations: 1.857 MB / 0.5485 GB, free: 9.688 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.561, allocations: 24.95 kB / 0.5486 GB, free: 9.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.567e-05/0.561, allocations: 38.53 kB / 0.5486 GB, free: 9.68 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001415/0.5612, allocations: 159.2 kB / 0.5488 GB, free: 9.555 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.138e-05/0.5613, allocations: 30.31 kB / 0.5488 GB, free: 9.539 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000839/0.5621, allocations: 438.1 kB / 0.5492 GB, free: 9.379 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.5621, allocations: 4.344 kB / 0.5492 GB, free: 9.379 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.5621, allocations: 0 / 0.5492 GB, free: 9.379 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004476/0.5626, allocations: 0.5646 MB / 0.5498 GB, free: 8.902 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000871/0.5635, allocations: 0.7359 MB / 0.5505 GB, free: 8.473 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.5635, allocations: 6.656 kB / 0.5505 GB, free: 8.469 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002807/0.5638, allocations: 65.97 kB / 0.5505 GB, free: 8.461 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.671e-05/0.5638, allocations: 24.36 kB / 0.5506 GB, free: 8.445 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/0.5639, allocations: 13.89 kB / 0.5506 GB, free: 8.445 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007057/0.5646, allocations: 1.288 MB / 0.5518 GB, free: 7.156 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.5646, allocations: 2.281 kB / 0.5518 GB, free: 7.156 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02633/0.5909, allocations: 5.766 MB / 0.5575 GB, free: 3.777 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.395e-05/0.591, allocations: 97.42 kB / 0.5576 GB, free: 3.672 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.399e-05/0.5911, allocations: 11 kB / 0.5576 GB, free: 3.668 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/0.5914, allocations: 19.72 kB / 0.5576 GB, free: 3.66 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.819e-05/0.5914, allocations: 33.25 kB / 0.5576 GB, free: 3.648 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.223e-05/0.5915, allocations: 32.41 kB / 0.5577 GB, free: 3.641 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000177/0.5917, allocations: 190.9 kB / 0.5578 GB, free: 3.539 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5917, allocations: 0 / 0.5578 GB, free: 3.539 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009424/0.5926, allocations: 332.2 kB / 0.5582 GB, free: 3.527 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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): 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.001115/0.5937, allocations: 208.3 kB / 0.5584 GB, free: 3.387 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006629/0.5944, allocations: 377.6 kB / 0.5587 GB, free: 3.238 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5944, allocations: 0.8125 kB / 0.5587 GB, free: 3.238 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002383/0.5947, allocations: 232.3 kB / 0.5589 GB, free: 3.113 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000985/0.5957, allocations: 157.9 kB / 0.5591 GB, free: 3.066 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/0.5972, allocations: 1.142 MB / 0.5602 GB, free: 2.277 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/0.5975, allocations: 0.7687 MB / 0.561 GB, free: 1.543 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000704/0.5982, allocations: 168.5 kB / 0.5611 GB, free: 1.465 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003169/0.5985, allocations: 106.1 kB / 0.5612 GB, free: 1.43 MB / 394.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5985, allocations: 2.531 kB / 0.5612 GB, free: 1.43 MB / 394.7 MB Notification: Performance of Templates: time 0.02499/0.6235, allocations: 21.13 MB / 0.5819 GB, free: 12.52 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/IdealSteam/IdealSteam.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches