Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 106.9 kB / 17.33 MB, free: 5.984 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.001125/0.001125, allocations: 193.3 kB / 18.25 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 241.9 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2262/0.2262, allocations: 44.18 MB / 336.3 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 60.12 kB / 408 MB, free: 27.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1214, allocations: 60.83 MB / 468.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.3996/0.5211, allocations: 173.4 MB / 0.6272 GB, free: 3.43 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006773/0.5279, allocations: 5.405 MB / 0.6325 GB, free: 14.01 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007589/0.5287, allocations: 27.81 kB / 0.6325 GB, free: 13.98 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008925/0.5296, allocations: 278.5 kB / 0.6328 GB, free: 13.71 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003129/0.5328, allocations: 1.233 MB / 0.634 GB, free: 12.48 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002317/0.5351, allocations: 0.9877 MB / 0.635 GB, free: 11.5 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002065/0.5372, allocations: 1.852 MB / 0.6368 GB, free: 9.641 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007549/0.5379, allocations: 467.4 kB / 0.6372 GB, free: 9.184 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002074/0.54, allocations: 1.059 MB / 0.6382 GB, free: 8.121 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001116/0.5411, allocations: 0.794 MB / 0.639 GB, free: 7.324 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.767e-05/0.5413, allocations: 60 kB / 0.6391 GB, free: 7.266 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00107/0.5423, allocations: 0.5813 MB / 0.6396 GB, free: 6.684 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002457/0.5426, allocations: 267.3 kB / 0.6399 GB, free: 6.422 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003834/0.543, allocations: 406.2 kB / 0.6403 GB, free: 6.023 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001396/0.5444, allocations: 1.301 MB / 0.6416 GB, free: 4.719 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.5444, allocations: 0 / 0.6416 GB, free: 4.719 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.5444, allocations: 0 / 0.6416 GB, free: 4.719 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.718e-05/0.5444, allocations: 3.984 kB / 0.6416 GB, free: 4.715 MB / 478.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.001988/0.5464, allocations: 1.102 MB / 0.6426 GB, free: 3.559 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.5465, allocations: 8.031 kB / 0.6426 GB, free: 3.551 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001246/0.5466, allocations: 102.5 kB / 0.6427 GB, free: 3.441 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000805/0.5474, allocations: 139 kB / 0.6429 GB, free: 3.305 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006926/0.5481, allocations: 0.5002 MB / 0.6434 GB, free: 2.766 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.5482, allocations: 104.4 kB / 0.6435 GB, free: 2.648 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.139e-05/0.5483, allocations: 52 kB / 0.6435 GB, free: 2.598 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/0.5495, allocations: 0.8135 MB / 0.6443 GB, free: 1.711 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.5495, allocations: 4 kB / 0.6443 GB, free: 1.707 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.832e-05/0.5496, allocations: 31.92 kB / 0.6443 GB, free: 1.676 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.043e-05/0.5497, allocations: 40.98 kB / 0.6444 GB, free: 1.637 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009796/0.5507, allocations: 0.6282 MB / 0.645 GB, free: 1.008 MB / 478.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.004309/0.555, allocations: 3.953 MB / 0.6489 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005948/0.5556, allocations: 355.6 kB / 0.6492 GB, free: 12.44 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002969/0.5559, allocations: 169.3 kB / 0.6494 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001284/0.556, allocations: 93.38 kB / 0.6494 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.061e-05/0.5561, allocations: 38.78 kB / 0.6495 GB, free: 12.12 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.234e-06/0.5561, allocations: 7.938 kB / 0.6495 GB, free: 12.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.005437/0.5615, allocations: 1.67 MB / 0.6511 GB, free: 10.37 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.908e-05/0.5616, allocations: 132.5 kB / 0.6513 GB, free: 10.21 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006817/0.5623, allocations: 0.6172 MB / 0.6519 GB, free: 9.586 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.117e-05/0.5624, allocations: 33.7 kB / 0.6519 GB, free: 9.547 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002489/0.5626, allocations: 366.9 kB / 0.6522 GB, free: 9.184 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.5628, allocations: 145.9 kB / 0.6524 GB, free: 9.039 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002216/0.563, allocations: 158.6 kB / 0.6525 GB, free: 8.879 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.5631, allocations: 374.8 kB / 0.6529 GB, free: 8.504 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003526/0.5635, allocations: 201.9 kB / 0.6531 GB, free: 8.305 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005629/0.5641, allocations: 0.5125 MB / 0.6536 GB, free: 7.645 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009246/0.565, allocations: 0.7602 MB / 0.6543 GB, free: 6.746 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.565, allocations: 0 / 0.6543 GB, free: 6.746 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001428/0.5665, allocations: 0.8873 MB / 0.6552 GB, free: 5.848 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.5665, allocations: 8 kB / 0.6552 GB, free: 5.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.5665, allocations: 11.94 kB / 0.6552 GB, free: 5.828 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001374/0.5679, allocations: 315.8 kB / 0.6555 GB, free: 5.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003745/0.5683, allocations: 119.8 kB / 0.6556 GB, free: 5.402 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001067/0.5694, allocations: 0.9348 MB / 0.6565 GB, free: 4.441 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005172/0.5699, allocations: 35.98 kB / 0.6566 GB, free: 4.406 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.831e-05/0.57, allocations: 67.98 kB / 0.6566 GB, free: 4.34 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.0003556/0.5704, allocations: 258 kB / 0.6569 GB, free: 4.078 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.5705, allocations: 67.25 kB / 0.6569 GB, free: 4.012 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001759/0.5723, allocations: 0.8662 MB / 0.6578 GB, free: 3.133 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.5723, allocations: 4 kB / 0.6578 GB, free: 3.129 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.5723, allocations: 0 / 0.6578 GB, free: 3.129 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.5723, allocations: 3.938 kB / 0.6578 GB, free: 3.125 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002003/0.5743, allocations: 1.457 MB / 0.6592 GB, free: 1.531 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/0.5743, allocations: 8 kB / 0.6592 GB, free: 1.523 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/0.5753, allocations: 203.8 kB / 0.6594 GB, free: 1.324 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.39e-05/0.5754, allocations: 36.86 kB / 0.6595 GB, free: 1.285 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.661e-05/0.5755, allocations: 20 kB / 0.6595 GB, free: 1.266 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002079/0.5776, allocations: 2.873 MB / 0.6623 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.5776, allocations: 0 / 0.6623 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.5788, allocations: 0.8208 MB / 0.6631 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002831/0.5791, allocations: 188.2 kB / 0.6633 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.5792, allocations: 12.06 kB / 0.6633 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004449/0.5797, allocations: 27.98 kB / 0.6633 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.954e-05/0.5798, allocations: 43.83 kB / 0.6633 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.17e-05/0.5799, allocations: 43.98 kB / 0.6634 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005269/0.5804, allocations: 447 kB / 0.6638 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5804, allocations: 0 / 0.6638 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009037/0.5813, allocations: 252 kB / 0.664 GB, free: 12.25 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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.00214/0.5835, allocations: 1.575 MB / 0.6656 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00125/0.5847, allocations: 0.5893 MB / 0.6662 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.5847, allocations: 0 / 0.6662 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001/0.5858, allocations: 419.9 kB / 0.6666 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001596/0.5874, allocations: 366.5 kB / 0.6669 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008824/0.5962, allocations: 6.746 MB / 0.6735 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005521/0.5968, allocations: 0.9377 MB / 0.6744 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001315/0.5981, allocations: 459.7 kB / 0.6749 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005786/0.5987, allocations: 285.1 kB / 0.6751 GB, free: 456 kB / 0.4981 GB Notification: Performance of SimCode: time 4.51e-07/0.5987, allocations: 0 / 0.6751 GB, free: 456 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04531/0.644, allocations: 23.98 MB / 0.6985 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002299/0.6443, allocations: 314.2 kB / 0.6988 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.497/3.141, allocations: 3.516 kB / 0.6988 GB, free: 8.449 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches