Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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 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_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_3_2_3_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.006368/0.006368, allocations: 100.3 kB / 15.87 MB, free: 6.309 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.001345/0.001345, allocations: 197.7 kB / 16.79 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.347/1.347, allocations: 205.1 MB / 222.6 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2937/0.2937, allocations: 43.5 MB / 313.5 MB, free: 8.281 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 63.91 kB / 382.1 MB, free: 8.375 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1031, allocations: 57.78 MB / 439.9 MB, free: 14.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.3264/0.4295, allocations: 179 MB / 0.6044 GB, free: 8.883 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006505/0.436, allocations: 5.918 MB / 0.6102 GB, free: 2.953 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005454/0.4366, allocations: 27.81 kB / 0.6102 GB, free: 2.926 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007435/0.4374, allocations: 282.5 kB / 0.6105 GB, free: 2.648 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003663/0.441, allocations: 1.404 MB / 0.6119 GB, free: 1.254 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002646/0.4437, allocations: 1.114 MB / 0.613 GB, free: 156 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002672/0.4464, allocations: 2.711 MB / 0.6156 GB, free: 13.44 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004867/0.4469, allocations: 404.6 kB / 0.616 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002058/0.449, allocations: 1.1 MB / 0.6171 GB, free: 11.94 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001034/0.45, allocations: 0.7705 MB / 0.6178 GB, free: 11.17 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.754e-05/0.4501, allocations: 32 kB / 0.6179 GB, free: 11.14 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001342/0.4515, allocations: 0.7019 MB / 0.6185 GB, free: 10.43 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002344/0.4517, allocations: 239.3 kB / 0.6188 GB, free: 10.2 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003371/0.452, allocations: 370.2 kB / 0.6191 GB, free: 9.836 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001347/0.4534, allocations: 1.398 MB / 0.6205 GB, free: 8.434 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.4534, allocations: 0 / 0.6205 GB, free: 8.434 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.4534, allocations: 0 / 0.6205 GB, free: 8.434 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.4534, allocations: 0 / 0.6205 GB, free: 8.434 MB / 494.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.001949/0.4554, allocations: 1.133 MB / 0.6216 GB, free: 7.25 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.4554, allocations: 8.031 kB / 0.6216 GB, free: 7.242 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001102/0.4555, allocations: 94.52 kB / 0.6217 GB, free: 7.141 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007546/0.4563, allocations: 139.1 kB / 0.6218 GB, free: 7.004 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006436/0.457, allocations: 0.5118 MB / 0.6223 GB, free: 6.453 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-05/0.4571, allocations: 100.4 kB / 0.6224 GB, free: 6.34 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-05/0.4571, allocations: 55.97 kB / 0.6225 GB, free: 6.285 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.4582, allocations: 0.8136 MB / 0.6233 GB, free: 5.398 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.4583, allocations: 3.938 kB / 0.6233 GB, free: 5.395 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-05/0.4583, allocations: 27.98 kB / 0.6233 GB, free: 5.367 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.857e-05/0.4584, allocations: 44.91 kB / 0.6233 GB, free: 5.324 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009106/0.4593, allocations: 0.6127 MB / 0.6239 GB, free: 4.711 MB / 494.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.003771/0.4631, allocations: 3.991 MB / 0.6278 GB, free: 484 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004937/0.4636, allocations: 355.6 kB / 0.6282 GB, free: 120 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1591/0.6227, allocations: 163.8 kB / 0.6283 GB, free: 159.4 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004021/0.6231, allocations: 358.8 kB / 0.6287 GB, free: 159.2 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.6232, allocations: 41.17 kB / 0.6287 GB, free: 159.1 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.234e-06/0.6232, allocations: 2.594 kB / 0.6287 GB, free: 159.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.005/0.6282, allocations: 1.665 MB / 0.6303 GB, free: 158.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.6282, allocations: 134.1 kB / 0.6305 GB, free: 158.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000559/0.6288, allocations: 0.6121 MB / 0.6311 GB, free: 158.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.845e-05/0.6288, allocations: 34.14 kB / 0.6311 GB, free: 158.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.629, allocations: 370 kB / 0.6315 GB, free: 158.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.136e-05/0.6291, allocations: 141.9 kB / 0.6316 GB, free: 158.1 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001825/0.6293, allocations: 155.8 kB / 0.6317 GB, free: 158.1 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.345e-05/0.6294, allocations: 378.3 kB / 0.6321 GB, free: 157.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002906/0.6297, allocations: 199.3 kB / 0.6323 GB, free: 157.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003917/0.6301, allocations: 0.5169 MB / 0.6328 GB, free: 157.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000682/0.6308, allocations: 0.7429 MB / 0.6335 GB, free: 157 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.6308, allocations: 7.078 kB / 0.6335 GB, free: 157 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001132/0.6319, allocations: 0.8842 MB / 0.6344 GB, free: 156.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.6319, allocations: 8.25 kB / 0.6344 GB, free: 156.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.632, allocations: 13.09 kB / 0.6344 GB, free: 156.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00124/0.6332, allocations: 316.3 kB / 0.6347 GB, free: 156.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003386/0.6336, allocations: 128.5 kB / 0.6348 GB, free: 156.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008191/0.6344, allocations: 0.9222 MB / 0.6357 GB, free: 156.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004862/0.6349, allocations: 49.81 kB / 0.6358 GB, free: 156.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.327e-05/0.635, allocations: 72.33 kB / 0.6359 GB, free: 156.1 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.0002567/0.6352, allocations: 241 kB / 0.6361 GB, free: 156 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.6353, allocations: 68.97 kB / 0.6361 GB, free: 155.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001283/0.6366, allocations: 0.6933 MB / 0.6368 GB, free: 155.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.6366, allocations: 2.938 kB / 0.6368 GB, free: 155.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.6367, allocations: 3.234 kB / 0.6368 GB, free: 155.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.6367, allocations: 2.875 kB / 0.6368 GB, free: 155.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00185/0.6385, allocations: 1.597 MB / 0.6384 GB, free: 154.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.6385, allocations: 0 / 0.6384 GB, free: 154.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/0.6396, allocations: 217.4 kB / 0.6386 GB, free: 154.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001038/0.6398, allocations: 28.72 kB / 0.6386 GB, free: 154.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.306e-05/0.6398, allocations: 19.83 kB / 0.6386 GB, free: 154.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001938/0.6418, allocations: 2.688 MB / 0.6413 GB, free: 151.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.6418, allocations: 0 / 0.6413 GB, free: 151.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.643, allocations: 0.8091 MB / 0.6421 GB, free: 151.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002708/0.6432, allocations: 192.1 kB / 0.6422 GB, free: 151.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.962e-05/0.6433, allocations: 15.25 kB / 0.6423 GB, free: 151.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004017/0.6438, allocations: 24.45 kB / 0.6423 GB, free: 151.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.577e-05/0.6439, allocations: 41.38 kB / 0.6423 GB, free: 151.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.689e-05/0.6439, allocations: 41.42 kB / 0.6424 GB, free: 151.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004425/0.6444, allocations: 445.7 kB / 0.6428 GB, free: 151.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6444, allocations: 0 / 0.6428 GB, free: 151.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009346/0.6453, allocations: 291.2 kB / 0.6431 GB, free: 151.1 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.002074/0.6474, allocations: 1.604 MB / 0.6446 GB, free: 150.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001051/0.6485, allocations: 0.5407 MB / 0.6452 GB, free: 150 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.6485, allocations: 0 / 0.6452 GB, free: 150 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009217/0.6494, allocations: 428.8 kB / 0.6456 GB, free: 149.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00154/0.651, allocations: 341.5 kB / 0.6459 GB, free: 149.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007397/0.6584, allocations: 6.722 MB / 0.6525 GB, free: 145.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.6587, allocations: 0.9356 MB / 0.6534 GB, free: 144.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009712/0.6597, allocations: 264.3 kB / 0.6536 GB, free: 144.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004237/0.6601, allocations: 278.9 kB / 0.6539 GB, free: 144.6 MB / 494.1 MB Notification: Performance of SimCode: time 6.01e-07/0.6601, allocations: 0 / 0.6539 GB, free: 144.6 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04752/0.7076, allocations: 24.42 MB / 0.6777 GB, free: 138.4 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001992/0.7079, allocations: 303.8 kB / 0.678 GB, free: 138 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.403/3.111, allocations: 0 / 0.678 GB, free: 138 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches