Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008965/0.0008965, allocations: 175.1 kB / 16.72 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.172/1.172, 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.0006756/0.0006756, allocations: 94.34 kB / 271.2 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003006/0.0003007, allocations: 8 kB / 327.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2116, allocations: 47.58 MB / 375.2 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.3402/0.5518, allocations: 157.8 MB / 0.5205 GB, free: 1.102 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003101/0.5549, allocations: 3.001 MB / 0.5234 GB, free: 1.008 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002255/0.5552, allocations: 5.094 kB / 0.5234 GB, free: 1.008 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004802/0.5557, allocations: 122.4 kB / 0.5236 GB, free: 1.008 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007141/0.5564, allocations: 362.5 kB / 0.5239 GB, free: 0.9883 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00074/0.5571, allocations: 276.3 kB / 0.5242 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001131/0.5583, allocations: 1.111 MB / 0.5252 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001732/0.5585, allocations: 72.77 kB / 0.5253 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001493/0.56, allocations: 0.6974 MB / 0.526 GB, free: 0.9492 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003477/0.5603, allocations: 273.6 kB / 0.5263 GB, free: 0.9492 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.14e-05/0.5604, allocations: 14.44 kB / 0.5263 GB, free: 0.9492 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000293/0.5607, allocations: 106.1 kB / 0.5264 GB, free: 0.9453 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.5608, allocations: 76.75 kB / 0.5264 GB, free: 0.9453 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002052/0.561, allocations: 191.9 kB / 0.5266 GB, free: 0.9141 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004048/0.5614, allocations: 399.2 kB / 0.527 GB, free: 0.8906 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.5614, allocations: 5.188 kB / 0.527 GB, free: 0.8867 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.5614, allocations: 0 / 0.527 GB, free: 0.8867 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.5615, allocations: 0 / 0.527 GB, free: 0.8867 MB / 378.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.0008228/0.5623, allocations: 0.5126 MB / 0.5275 GB, free: 16.45 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.5623, allocations: 9.625 kB / 0.5275 GB, free: 16.45 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.61e-05/0.5624, allocations: 70.16 kB / 0.5276 GB, free: 16.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002553/0.5627, allocations: 46.88 kB / 0.5276 GB, free: 16.39 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003499/0.563, allocations: 282.4 kB / 0.5279 GB, free: 16.17 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.5631, allocations: 19 kB / 0.5279 GB, free: 16.17 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.449e-05/0.5631, allocations: 24.03 kB / 0.5279 GB, free: 16.17 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000522/0.5637, allocations: 315.2 kB / 0.5282 GB, free: 16.07 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.5637, allocations: 12.34 kB / 0.5283 GB, free: 16.06 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.801e-05/0.5637, allocations: 13.47 kB / 0.5283 GB, free: 16.06 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.5638, allocations: 5.938 kB / 0.5283 GB, free: 16.06 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003222/0.5641, allocations: 201.9 kB / 0.5285 GB, free: 16.06 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.001654/0.5657, allocations: 1.59 MB / 0.53 GB, free: 14.87 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.566, allocations: 165.1 kB / 0.5302 GB, free: 14.85 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.5661, allocations: 97.73 kB / 0.5303 GB, free: 14.84 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.993e-05/0.5662, allocations: 6.688 kB / 0.5303 GB, free: 14.84 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.5662, allocations: 37.5 kB / 0.5303 GB, free: 14.79 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 1.272e-06/0.5662, allocations: 1.75 kB / 0.5303 GB, free: 14.79 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.00497/0.5712, allocations: 1.625 MB / 0.5319 GB, free: 14.06 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.5712, allocations: 54.91 kB / 0.532 GB, free: 14 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/0.5714, allocations: 256.2 kB / 0.5322 GB, free: 13.89 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.278e-05/0.5715, allocations: 30.95 kB / 0.5322 GB, free: 13.86 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.631e-05/0.5716, allocations: 176.3 kB / 0.5324 GB, free: 13.73 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.753e-05/0.5716, allocations: 96.62 kB / 0.5325 GB, free: 13.67 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.85e-05/0.5717, allocations: 3.125 kB / 0.5325 GB, free: 13.67 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.5718, allocations: 339.2 kB / 0.5328 GB, free: 13.36 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.5719, allocations: 90.22 kB / 0.5329 GB, free: 13.36 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000176/0.5721, allocations: 191.5 kB / 0.5331 GB, free: 13.23 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003703/0.5725, allocations: 307.8 kB / 0.5334 GB, free: 13.11 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5725, allocations: 2.531 kB / 0.5334 GB, free: 13.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005547/0.573, allocations: 394.2 kB / 0.5338 GB, free: 13.04 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.5731, allocations: 5.438 kB / 0.5338 GB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.5731, allocations: 2.906 kB / 0.5338 GB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001907/0.5733, allocations: 73.5 kB / 0.5338 GB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002989/0.5736, allocations: 83.14 kB / 0.5339 GB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001305/0.5749, allocations: 1.865 MB / 0.5357 GB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/0.5751, allocations: 19.16 kB / 0.5358 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.606e-05/0.5752, allocations: 39.47 kB / 0.5358 GB, free: 11.23 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001654/0.5754, allocations: 155.8 kB / 0.5359 GB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.725e-05/0.5754, allocations: 31.97 kB / 0.536 GB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008537/0.5763, allocations: 449.9 kB / 0.5364 GB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.5763, allocations: 2.469 kB / 0.5364 GB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.748e-06/0.5763, allocations: 8 kB / 0.5364 GB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004799/0.5768, allocations: 0.5591 MB / 0.537 GB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000941/0.5777, allocations: 0.7298 MB / 0.5377 GB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.5778, allocations: 3.938 kB / 0.5377 GB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00037/0.5781, allocations: 74.5 kB / 0.5377 GB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-05/0.5783, allocations: 23.66 kB / 0.5378 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.067e-05/0.5783, allocations: 13.77 kB / 0.5378 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009627/0.5793, allocations: 1.279 MB / 0.539 GB, free: 8.93 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5793, allocations: 2.531 kB / 0.539 GB, free: 8.93 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006903/0.58, allocations: 478 kB / 0.5395 GB, free: 8.75 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.5801, allocations: 106.6 kB / 0.5396 GB, free: 8.641 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.41e-05/0.5802, allocations: 8.188 kB / 0.5396 GB, free: 8.637 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003009/0.5805, allocations: 17.14 kB / 0.5396 GB, free: 8.637 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.473e-05/0.5806, allocations: 30.23 kB / 0.5396 GB, free: 8.633 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.505e-05/0.5806, allocations: 28.95 kB / 0.5397 GB, free: 8.633 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001852/0.5808, allocations: 184.2 kB / 0.5398 GB, free: 8.555 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.82e-07/0.5808, allocations: 0 / 0.5398 GB, free: 8.555 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005946/0.5814, allocations: 135.9 kB / 0.54 GB, free: 8.543 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 (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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001304/0.5827, allocations: 1.051 MB / 0.541 GB, free: 7.836 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006646/0.5834, allocations: 376.8 kB / 0.5414 GB, free: 7.715 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5834, allocations: 0 / 0.5414 GB, free: 7.715 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000296/0.5837, allocations: 238.2 kB / 0.5416 GB, free: 7.598 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.5849, allocations: 161.9 kB / 0.5417 GB, free: 7.578 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002967/0.5878, allocations: 1.899 MB / 0.5436 GB, free: 6.57 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.5882, allocations: 0.7697 MB / 0.5443 GB, free: 5.836 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003595/0.5886, allocations: 140.6 kB / 0.5445 GB, free: 5.801 MB / 394.7 MB Notification: Performance of SimCode: time 3.3e-07/0.5886, allocations: 0 / 0.5445 GB, free: 5.801 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.548/4.137, allocations: 7.711 MB / 0.552 GB, free: 1.859 MB / 394.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches