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.001336/0.001336, allocations: 110.4 kB / 17.78 MB, free: 5.285 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.00215/0.00215, allocations: 183.9 kB / 18.7 MB, free: 4.367 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.461/1.461, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.217/0.217, allocations: 44.19 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 63.91 kB / 470 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3757, allocations: 60.83 MB / 0.5184 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.1933/0.5691, allocations: 175.2 MB / 0.6896 GB, free: 12.24 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007032/0.5761, allocations: 5.333 MB / 0.6948 GB, free: 6.887 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007183/0.5769, allocations: 19.88 kB / 0.6948 GB, free: 6.867 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.578, allocations: 321.9 kB / 0.6951 GB, free: 6.551 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003639/0.5816, allocations: 1.328 MB / 0.6964 GB, free: 5.223 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002952/0.5846, allocations: 1.063 MB / 0.6974 GB, free: 4.164 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002314/0.5869, allocations: 1.848 MB / 0.6992 GB, free: 2.309 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008999/0.5878, allocations: 461.3 kB / 0.6997 GB, free: 1.855 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00233/0.5902, allocations: 1.074 MB / 0.7007 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001444/0.5916, allocations: 0.7471 MB / 0.7015 GB, free: 28 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000265/0.5919, allocations: 63.98 kB / 0.7015 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001693/0.5936, allocations: 0.6242 MB / 0.7021 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004268/0.594, allocations: 267.2 kB / 0.7024 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007174/0.5948, allocations: 394.2 kB / 0.7028 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002441/0.5972, allocations: 1.301 MB / 0.704 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.5972, allocations: 4 kB / 0.704 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5973, allocations: 0 / 0.704 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.944e-05/0.5973, allocations: 0 / 0.704 GB, free: 13.38 MB / 0.5606 GB 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.002898/0.6002, allocations: 1.093 MB / 0.7051 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.6002, allocations: 12.03 kB / 0.7051 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001653/0.6004, allocations: 98.5 kB / 0.7052 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009025/0.6013, allocations: 143 kB / 0.7053 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.6024, allocations: 0.5275 MB / 0.7059 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/0.6026, allocations: 108.4 kB / 0.706 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.726e-05/0.6027, allocations: 48 kB / 0.706 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.6039, allocations: 0.8136 MB / 0.7068 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/0.6039, allocations: 7.875 kB / 0.7068 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.468e-05/0.604, allocations: 24 kB / 0.7068 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.325e-05/0.6041, allocations: 40.98 kB / 0.7069 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.6051, allocations: 0.6166 MB / 0.7075 GB, free: 9.668 MB / 0.5606 GB 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.004455/0.6096, allocations: 3.969 MB / 0.7113 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005528/0.6102, allocations: 359.5 kB / 0.7117 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002595/0.6104, allocations: 169.3 kB / 0.7119 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/0.6106, allocations: 93.38 kB / 0.7119 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.6106, allocations: 42.84 kB / 0.712 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.124e-06/0.6106, allocations: 0 / 0.712 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005299/0.6159, allocations: 1.664 MB / 0.7136 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.896e-05/0.616, allocations: 136.5 kB / 0.7137 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006897/0.6167, allocations: 0.6133 MB / 0.7143 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.676e-05/0.6167, allocations: 29.7 kB / 0.7144 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002787/0.617, allocations: 374.8 kB / 0.7147 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.6172, allocations: 138.1 kB / 0.7149 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000219/0.6174, allocations: 158.5 kB / 0.715 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.6175, allocations: 374.8 kB / 0.7154 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003509/0.6179, allocations: 201.9 kB / 0.7156 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005393/0.6184, allocations: 0.5202 MB / 0.7161 GB, free: 296 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2602/0.8787, allocations: 0.7432 MB / 0.7168 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/0.8788, allocations: 12.09 kB / 0.7168 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002178/0.8809, allocations: 0.88 MB / 0.7177 GB, free: 189 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.984e-05/0.881, allocations: 13.52 kB / 0.7177 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.102e-05/0.881, allocations: 10.38 kB / 0.7177 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001596/0.8826, allocations: 309 kB / 0.718 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004414/0.8831, allocations: 123.4 kB / 0.7181 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001023/0.8841, allocations: 0.9263 MB / 0.719 GB, free: 188.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005323/0.8847, allocations: 28.56 kB / 0.719 GB, free: 188.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/0.8848, allocations: 68.23 kB / 0.7191 GB, free: 188.3 MB / 0.5606 GB 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.0003642/0.8852, allocations: 250.2 kB / 0.7193 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.8853, allocations: 74.61 kB / 0.7194 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001878/0.8872, allocations: 0.8674 MB / 0.7202 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.8872, allocations: 4.031 kB / 0.7203 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.8872, allocations: 0.8125 kB / 0.7203 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.8872, allocations: 1.922 kB / 0.7203 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002051/0.8893, allocations: 1.467 MB / 0.7217 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/0.8893, allocations: 2.094 kB / 0.7217 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/0.8904, allocations: 212.1 kB / 0.7219 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001004/0.8905, allocations: 28.28 kB / 0.7219 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.834e-05/0.8906, allocations: 22.12 kB / 0.7219 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001518/0.8921, allocations: 2.874 MB / 0.7247 GB, free: 184 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.8921, allocations: 5.422 kB / 0.7248 GB, free: 184 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/0.8933, allocations: 0.8264 MB / 0.7256 GB, free: 183.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002924/0.8936, allocations: 184.9 kB / 0.7257 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.28e-05/0.8937, allocations: 14.2 kB / 0.7257 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000363/0.8941, allocations: 19.16 kB / 0.7258 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.8942, allocations: 39.67 kB / 0.7258 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.409e-05/0.8943, allocations: 44.62 kB / 0.7258 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005274/0.8948, allocations: 445.1 kB / 0.7263 GB, free: 183.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8948, allocations: 0 / 0.7263 GB, free: 183.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009089/0.8957, allocations: 253.2 kB / 0.7265 GB, free: 183.2 MB / 0.5606 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.00194/0.8977, allocations: 1.541 MB / 0.728 GB, free: 182.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0012/0.8989, allocations: 0.5618 MB / 0.7286 GB, free: 182 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.8989, allocations: 0 / 0.7286 GB, free: 182 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009828/0.8999, allocations: 426.1 kB / 0.729 GB, free: 181.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001758/0.9016, allocations: 361.8 kB / 0.7293 GB, free: 181.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008881/0.9105, allocations: 6.321 MB / 0.7355 GB, free: 177.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004434/0.911, allocations: 0.9316 MB / 0.7364 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00107/0.9121, allocations: 465.9 kB / 0.7368 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004744/0.9126, allocations: 285.2 kB / 0.7371 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.132e-06/0.9126, allocations: 0 / 0.7371 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04884/0.9614, allocations: 24.71 MB / 0.7613 GB, free: 155 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/13.43, allocations: 8.266 kB / 0.7613 GB, free: 155 MB / 0.5606 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