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.001222/0.001222, allocations: 107.7 kB / 17.21 MB, free: 6.27 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.001088/0.001088, allocations: 194 kB / 18.12 MB, free: 5.363 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.419/1.419, allocations: 222.9 MB / 241.8 MB, free: 15.58 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.227/0.227, allocations: 44.17 MB / 336.1 MB, free: 3.031 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 65.17 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1163, allocations: 60.82 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.3955/0.5118, allocations: 173.4 MB / 0.627 GB, free: 3.66 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00775/0.5196, allocations: 5.475 MB / 0.6324 GB, free: 14.17 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007686/0.5204, allocations: 23.81 kB / 0.6324 GB, free: 14.15 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.5216, allocations: 278.5 kB / 0.6326 GB, free: 13.88 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003913/0.5255, allocations: 1.208 MB / 0.6338 GB, free: 12.67 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002799/0.5283, allocations: 0.9522 MB / 0.6348 GB, free: 11.72 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002814/0.5312, allocations: 2.718 MB / 0.6374 GB, free: 9 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005524/0.5317, allocations: 402.3 kB / 0.6378 GB, free: 8.605 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00205/0.5338, allocations: 0.9573 MB / 0.6387 GB, free: 7.645 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001205/0.535, allocations: 0.7667 MB / 0.6395 GB, free: 6.875 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.5351, allocations: 36 kB / 0.6395 GB, free: 6.84 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001387/0.5365, allocations: 0.5343 MB / 0.64 GB, free: 6.305 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000293/0.5368, allocations: 235.3 kB / 0.6403 GB, free: 6.074 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004558/0.5373, allocations: 378.2 kB / 0.6406 GB, free: 5.703 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001699/0.539, allocations: 1.274 MB / 0.6419 GB, free: 4.426 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.539, allocations: 4 kB / 0.6419 GB, free: 4.422 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.539, allocations: 0 / 0.6419 GB, free: 4.422 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.5391, allocations: 0 / 0.6419 GB, free: 4.422 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.002405/0.5415, allocations: 1.102 MB / 0.6429 GB, free: 3.266 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.5415, allocations: 11.97 kB / 0.643 GB, free: 3.254 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001364/0.5417, allocations: 102.5 kB / 0.6431 GB, free: 3.145 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008291/0.5425, allocations: 135 kB / 0.6432 GB, free: 3.012 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008279/0.5433, allocations: 0.5079 MB / 0.6437 GB, free: 2.465 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/0.5435, allocations: 100.4 kB / 0.6438 GB, free: 2.352 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.652e-05/0.5435, allocations: 47.98 kB / 0.6438 GB, free: 2.305 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.5447, allocations: 0.8213 MB / 0.6446 GB, free: 1.41 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.5448, allocations: 0 / 0.6446 GB, free: 1.41 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.438e-05/0.5449, allocations: 27.94 kB / 0.6447 GB, free: 1.383 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.386e-05/0.5449, allocations: 44.91 kB / 0.6447 GB, free: 1.34 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009867/0.5459, allocations: 0.6166 MB / 0.6453 GB, free: 0.7227 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.004326/0.5503, allocations: 3.965 MB / 0.6492 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006539/0.5509, allocations: 358.2 kB / 0.6495 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003412/0.5513, allocations: 173.3 kB / 0.6497 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001173/0.5514, allocations: 89.38 kB / 0.6498 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.5514, allocations: 39.72 kB / 0.6498 GB, free: 11.82 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 1.944e-06/0.5514, allocations: 0 / 0.6498 GB, free: 11.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.005839/0.5573, allocations: 1.679 MB / 0.6514 GB, free: 10.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.804e-05/0.5574, allocations: 136.5 kB / 0.6516 GB, free: 9.906 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007017/0.5581, allocations: 0.6056 MB / 0.6522 GB, free: 9.293 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.995e-05/0.5582, allocations: 33.7 kB / 0.6522 GB, free: 9.254 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002603/0.5584, allocations: 370.8 kB / 0.6525 GB, free: 8.887 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.5586, allocations: 150 kB / 0.6527 GB, free: 8.738 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002169/0.5588, allocations: 146.6 kB / 0.6528 GB, free: 8.59 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.559, allocations: 382.8 kB / 0.6532 GB, free: 8.207 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003602/0.5593, allocations: 197.9 kB / 0.6534 GB, free: 8.012 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005679/0.5599, allocations: 0.5125 MB / 0.6539 GB, free: 7.352 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.5609, allocations: 0.7563 MB / 0.6546 GB, free: 6.457 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.5609, allocations: 4 kB / 0.6546 GB, free: 6.453 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001498/0.5624, allocations: 0.8835 MB / 0.6555 GB, free: 5.559 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.5625, allocations: 8 kB / 0.6555 GB, free: 5.551 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.5625, allocations: 15.94 kB / 0.6555 GB, free: 5.535 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001392/0.5639, allocations: 309.2 kB / 0.6558 GB, free: 5.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003815/0.5643, allocations: 131.8 kB / 0.6559 GB, free: 5.102 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001084/0.5654, allocations: 0.923 MB / 0.6568 GB, free: 4.152 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005277/0.5659, allocations: 51.97 kB / 0.6569 GB, free: 4.102 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-05/0.566, allocations: 67.94 kB / 0.6569 GB, free: 4.035 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.0003294/0.5664, allocations: 242.1 kB / 0.6572 GB, free: 3.789 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.5665, allocations: 67.25 kB / 0.6572 GB, free: 3.723 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00172/0.5682, allocations: 0.8783 MB / 0.6581 GB, free: 2.832 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.5682, allocations: 4 kB / 0.6581 GB, free: 2.828 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5682, allocations: 0 / 0.6581 GB, free: 2.828 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.5683, allocations: 11.86 kB / 0.6581 GB, free: 2.816 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002016/0.5703, allocations: 1.458 MB / 0.6595 GB, free: 1.223 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.5703, allocations: 192 / 0.6595 GB, free: 1.223 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/0.5714, allocations: 215.8 kB / 0.6597 GB, free: 1.012 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.097e-05/0.5715, allocations: 28.75 kB / 0.6598 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.304e-05/0.5716, allocations: 23.92 kB / 0.6598 GB, free: 0.957 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002059/0.5736, allocations: 2.68 MB / 0.6624 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.5736, allocations: 0 / 0.6624 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.5749, allocations: 0.8245 MB / 0.6632 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002647/0.5751, allocations: 184.2 kB / 0.6634 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.5753, allocations: 12 kB / 0.6634 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004374/0.5757, allocations: 28.05 kB / 0.6634 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.353e-05/0.5758, allocations: 39.89 kB / 0.6635 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.91e-05/0.5759, allocations: 43.98 kB / 0.6635 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004976/0.5764, allocations: 443 kB / 0.6639 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5764, allocations: 0 / 0.6639 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008846/0.5773, allocations: 255.9 kB / 0.6642 GB, free: 12.15 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.002243/0.5795, allocations: 1.556 MB / 0.6657 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001159/0.5807, allocations: 0.5434 MB / 0.6662 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.5807, allocations: 0 / 0.6662 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000989/0.5817, allocations: 410.9 kB / 0.6666 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001626/0.5834, allocations: 357.7 kB / 0.667 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009304/0.5927, allocations: 6.74 MB / 0.6735 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005357/0.5932, allocations: 0.9339 MB / 0.6745 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00127/0.5945, allocations: 462.4 kB / 0.6749 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005184/0.5951, allocations: 287.3 kB / 0.6752 GB, free: 436 kB / 0.4981 GB Notification: Performance of SimCode: time 6.51e-07/0.5951, allocations: 4 kB / 0.6752 GB, free: 432 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04389/0.639, allocations: 23.42 MB / 0.698 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002338/0.6392, allocations: 313.7 kB / 0.6983 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.437/3.076, allocations: 3.375 kB / 0.6983 GB, free: 8.949 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