Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,fileNamePrefix="Modelica_3_2_3_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 102.5 kB / 17.73 MB, free: 5.371 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.0009875/0.0009875, allocations: 191 kB / 18.66 MB, free: 4.445 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.315/1.315, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.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.001264/0.001264, allocations: 55.92 kB / 328.1 MB, free: 3.758 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08473/0.08601, allocations: 46.62 MB / 374.7 MB, free: 5.031 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.3648/0.4509, allocations: 173.6 MB / 0.5355 GB, free: 1.777 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003841/0.4547, allocations: 3.215 MB / 0.5386 GB, free: 14.55 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002863/0.4551, allocations: 11.94 kB / 0.5386 GB, free: 14.54 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006299/0.4557, allocations: 174.9 kB / 0.5388 GB, free: 14.36 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009438/0.4567, allocations: 407.5 kB / 0.5392 GB, free: 13.96 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008679/0.4576, allocations: 331.8 kB / 0.5395 GB, free: 13.64 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001046/0.4586, allocations: 0.8953 MB / 0.5404 GB, free: 12.74 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002152/0.4589, allocations: 116.6 kB / 0.5405 GB, free: 12.63 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001792/0.4607, allocations: 0.7862 MB / 0.5412 GB, free: 11.84 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004421/0.4611, allocations: 267 kB / 0.5415 GB, free: 11.58 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.741e-05/0.4612, allocations: 32 kB / 0.5415 GB, free: 11.55 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003535/0.4616, allocations: 131.8 kB / 0.5416 GB, free: 11.42 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.4617, allocations: 87.73 kB / 0.5417 GB, free: 11.33 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002452/0.462, allocations: 187.3 kB / 0.5419 GB, free: 11.15 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005983/0.4626, allocations: 0.5219 MB / 0.5424 GB, free: 10.62 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4626, allocations: 0 / 0.5424 GB, free: 10.62 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4626, allocations: 0 / 0.5424 GB, free: 10.62 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.355e-05/0.4626, allocations: 0 / 0.5424 GB, free: 10.62 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009745/0.4636, allocations: 0.5852 MB / 0.543 GB, free: 9.988 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.4636, allocations: 15.91 kB / 0.543 GB, free: 9.973 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.606e-05/0.4637, allocations: 62.53 kB / 0.5431 GB, free: 9.902 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002895/0.464, allocations: 43.62 kB / 0.5431 GB, free: 9.859 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000487/0.4645, allocations: 294.4 kB / 0.5434 GB, free: 9.531 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.4645, allocations: 16.56 kB / 0.5434 GB, free: 9.516 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.451e-05/0.4646, allocations: 24 kB / 0.5434 GB, free: 9.492 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005028/0.4651, allocations: 323.6 kB / 0.5437 GB, free: 9.152 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.4651, allocations: 3.938 kB / 0.5437 GB, free: 9.148 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.438e-05/0.4652, allocations: 12 kB / 0.5437 GB, free: 9.137 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.4652, allocations: 8 kB / 0.5438 GB, free: 9.129 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000333/0.4655, allocations: 205.5 kB / 0.5439 GB, free: 8.93 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.001848/0.4674, allocations: 1.593 MB / 0.5455 GB, free: 7.188 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003093/0.4677, allocations: 172 kB / 0.5457 GB, free: 7.012 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.4678, allocations: 100.8 kB / 0.5458 GB, free: 6.91 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.037e-05/0.4679, allocations: 7.984 kB / 0.5458 GB, free: 6.902 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.4679, allocations: 42.56 kB / 0.5458 GB, free: 6.852 MB / 478.1 MB Notification: Performance of pre-optimization done (n=22): time 1.413e-06/0.4679, allocations: 0 / 0.5458 GB, free: 6.852 MB / 478.1 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.005509/0.4734, allocations: 1.614 MB / 0.5474 GB, free: 5.105 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.4735, allocations: 51.41 kB / 0.5474 GB, free: 5.043 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002634/0.4738, allocations: 256.9 kB / 0.5477 GB, free: 4.785 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/0.4738, allocations: 29.7 kB / 0.5477 GB, free: 4.75 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.4739, allocations: 180.2 kB / 0.5479 GB, free: 4.566 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.332e-05/0.474, allocations: 98.64 kB / 0.548 GB, free: 4.469 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.4742, allocations: 77.69 kB / 0.548 GB, free: 4.387 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.4743, allocations: 334.8 kB / 0.5484 GB, free: 4.051 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.4745, allocations: 91.97 kB / 0.5485 GB, free: 3.961 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002347/0.4747, allocations: 187.8 kB / 0.5486 GB, free: 3.734 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004141/0.4751, allocations: 304.2 kB / 0.5489 GB, free: 3.395 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.4751, allocations: 3.984 kB / 0.5489 GB, free: 3.391 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006707/0.4758, allocations: 410.8 kB / 0.5493 GB, free: 2.977 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.4758, allocations: 8 kB / 0.5493 GB, free: 2.969 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.4759, allocations: 0.75 kB / 0.5493 GB, free: 2.969 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002085/0.4761, allocations: 69.69 kB / 0.5494 GB, free: 2.895 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003406/0.4764, allocations: 91.81 kB / 0.5495 GB, free: 2.805 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00135/0.4778, allocations: 1.957 MB / 0.5514 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/0.478, allocations: 8 kB / 0.5514 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.85e-05/0.4781, allocations: 40 kB / 0.5514 GB, free: 0.6406 MB / 478.1 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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001644/0.4782, allocations: 162.3 kB / 0.5516 GB, free: 484 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.968e-05/0.4783, allocations: 27.72 kB / 0.5516 GB, free: 456 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007983/0.4791, allocations: 440.6 kB / 0.552 GB, free: 4 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.4791, allocations: 4 kB / 0.552 GB, free: 0 / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.601e-05/0.6532, allocations: 1.078 kB / 0.552 GB, free: 170.7 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006764/0.6539, allocations: 0.5591 MB / 0.5526 GB, free: 170.2 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001155/0.655, allocations: 0.7325 MB / 0.5533 GB, free: 169.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.655, allocations: 1.078 kB / 0.5533 GB, free: 169.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000326/0.6554, allocations: 73.06 kB / 0.5534 GB, free: 169.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001004/0.6555, allocations: 21.38 kB / 0.5534 GB, free: 169.9 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.284e-05/0.6555, allocations: 12.19 kB / 0.5534 GB, free: 169.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007096/0.6563, allocations: 1.38 MB / 0.5548 GB, free: 168.6 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6563, allocations: 0 / 0.5548 GB, free: 168.6 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005988/0.6569, allocations: 477.5 kB / 0.5552 GB, free: 168.4 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.309e-05/0.657, allocations: 99.62 kB / 0.5553 GB, free: 168.3 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.519e-05/0.657, allocations: 14 kB / 0.5553 GB, free: 168.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/0.6572, allocations: 11.38 kB / 0.5553 GB, free: 168.3 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.322e-05/0.6573, allocations: 28.52 kB / 0.5554 GB, free: 168.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.98e-05/0.6574, allocations: 28.41 kB / 0.5554 GB, free: 168.3 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002336/0.6576, allocations: 193.3 kB / 0.5556 GB, free: 168.3 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6576, allocations: 0 / 0.5556 GB, free: 168.3 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00056/0.6582, allocations: 119.9 kB / 0.5557 GB, free: 168.3 MB / 478.1 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 (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): 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.001126/0.6593, allocations: 1.062 MB / 0.5567 GB, free: 167.6 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006626/0.66, allocations: 381.5 kB / 0.5571 GB, free: 167.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.66, allocations: 4.969 kB / 0.5571 GB, free: 167.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002762/0.6603, allocations: 226.4 kB / 0.5573 GB, free: 167.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009353/0.6613, allocations: 165 kB / 0.5575 GB, free: 167.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003453/0.6647, allocations: 3.186 MB / 0.5606 GB, free: 165.2 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/0.665, allocations: 0.7624 MB / 0.5613 GB, free: 164.5 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004501/0.6654, allocations: 122.7 kB / 0.5614 GB, free: 164.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002424/0.6657, allocations: 130 kB / 0.5616 GB, free: 164.4 MB / 478.1 MB Notification: Performance of SimCode: time 6.71e-07/0.6657, allocations: 0 / 0.5616 GB, free: 164.4 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03339/0.6991, allocations: 12.02 MB / 0.5733 GB, free: 160.7 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.48, allocations: 22.05 kB / 0.5733 GB, free: 160.7 MB / 478.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches