Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.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.IdealGasH2O,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_IdealGasH2O",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.001293/0.001293, allocations: 99.02 kB / 17.58 MB, free: 5.418 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.001335/0.001335, allocations: 196 kB / 18.51 MB, free: 4.504 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.397/1.397, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.001835/0.001835, allocations: 52.3 kB / 280.7 MB, free: 3.086 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08784/0.08969, allocations: 46.63 MB / 327.4 MB, free: 4.387 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3162/0.406, allocations: 150.4 MB / 477.8 MB, free: 500 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001874/0.4079, allocations: 1.515 MB / 479.3 MB, free: 14.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.407e-05/0.4079, allocations: 0 / 479.3 MB, free: 14.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.4081, allocations: 27.83 kB / 479.4 MB, free: 14.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007888/0.4089, allocations: 317.8 kB / 479.7 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000176/0.4091, allocations: 64.17 kB / 479.7 MB, free: 14.58 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.4092, allocations: 75.61 kB / 479.8 MB, free: 14.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.94e-05/0.4093, allocations: 5.828 kB / 479.8 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.4094, allocations: 39.78 kB / 479.8 MB, free: 14.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.425e-05/0.4094, allocations: 23.92 kB / 479.9 MB, free: 14.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.4095, allocations: 4 kB / 479.9 MB, free: 14.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007179/0.4102, allocations: 359.5 kB / 480.2 MB, free: 14.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.472e-05/0.4102, allocations: 11.92 kB / 480.2 MB, free: 14.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.896e-05/0.4103, allocations: 23.88 kB / 480.3 MB, free: 14.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004746/0.4108, allocations: 295.4 kB / 480.5 MB, free: 13.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.4108, allocations: 0 / 480.5 MB, free: 13.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.436e-06/0.4108, allocations: 5.859 kB / 480.6 MB, free: 13.76 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.4108, allocations: 4 kB / 480.6 MB, free: 13.75 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008807/0.4117, allocations: 440 kB / 481 MB, free: 13.28 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.4117, allocations: 8.031 kB / 481 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.902e-05/0.4118, allocations: 46.73 kB / 481 MB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006508/0.4183, allocations: 448.8 kB / 481.5 MB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.4184, allocations: 168.3 kB / 481.6 MB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.4185, allocations: 12.81 kB / 481.7 MB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.83e-05/0.4185, allocations: 4 kB / 481.7 MB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007981/0.4193, allocations: 301.1 kB / 482 MB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.4194, allocations: 0 / 482 MB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.878e-05/0.4194, allocations: 8 kB / 482 MB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.4194, allocations: 7.984 kB / 482 MB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008661/0.4203, allocations: 267.8 kB / 482.2 MB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.4213, allocations: 425.4 kB / 482.6 MB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.4224, allocations: 218.2 kB / 482.9 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002153/0.4227, allocations: 72.81 kB / 482.9 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.928e-05/0.4227, allocations: 0 / 482.9 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.4227, allocations: 42.31 kB / 483 MB, free: 11.17 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.4228, allocations: 0 / 483 MB, free: 11.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001889/0.4246, allocations: 432.7 kB / 483.4 MB, free: 10.74 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.4247, allocations: 51.41 kB / 483.4 MB, free: 10.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.509e-05/0.4248, allocations: 97.86 kB / 483.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.11e-05/0.4248, allocations: 29.7 kB / 483.6 MB, free: 10.54 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.801e-05/0.4249, allocations: 99.88 kB / 483.7 MB, free: 10.44 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.469e-05/0.425, allocations: 59.11 kB / 483.7 MB, free: 10.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.82e-05/0.4251, allocations: 45.69 kB / 483.8 MB, free: 10.33 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.4252, allocations: 314.8 kB / 484.1 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00028/0.4255, allocations: 79.94 kB / 484.2 MB, free: 9.934 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003073/0.4258, allocations: 120.2 kB / 484.3 MB, free: 9.801 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005816/0.4264, allocations: 200.1 kB / 484.5 MB, free: 9.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.4264, allocations: 11.94 kB / 484.5 MB, free: 9.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007129/0.4272, allocations: 237.3 kB / 484.7 MB, free: 9.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.4272, allocations: 4 kB / 484.7 MB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.4272, allocations: 4 kB / 484.7 MB, free: 9.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.4272, allocations: 128 / 484.7 MB, free: 9.332 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004099/0.4276, allocations: 55.89 kB / 484.8 MB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.4277, allocations: 4 kB / 484.8 MB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002698/0.428, allocations: 11.98 kB / 484.8 MB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.849e-05/0.428, allocations: 15.98 kB / 484.8 MB, free: 9.246 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001223/0.4281, allocations: 125.7 kB / 484.9 MB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.807e-05/0.4282, allocations: 7.906 kB / 484.9 MB, free: 9.105 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008683/0.4291, allocations: 273.2 kB / 485.2 MB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.4291, allocations: 4 kB / 485.2 MB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.4291, allocations: 0 / 485.2 MB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.4291, allocations: 3.984 kB / 485.2 MB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001361/0.4305, allocations: 0.5944 MB / 485.8 MB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.4305, allocations: 0 / 485.8 MB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003553/0.4308, allocations: 39.97 kB / 485.8 MB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.4309, allocations: 4 kB / 485.8 MB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.409e-05/0.4309, allocations: 7.984 kB / 485.9 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.045e-05/0.4309, allocations: 12 kB / 485.9 MB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.4309, allocations: 3.938 kB / 485.9 MB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007112/0.4316, allocations: 325 kB / 486.2 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.558e-05/0.4317, allocations: 85 kB / 486.3 MB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.072e-05/0.4318, allocations: 11.44 kB / 486.3 MB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002902/0.4321, allocations: 11.98 kB / 486.3 MB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.4321, allocations: 15.92 kB / 486.3 MB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.917e-05/0.4321, allocations: 8 kB / 486.3 MB, free: 7.625 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.17e-05/0.4322, allocations: 87.27 kB / 486.4 MB, free: 7.539 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4322, allocations: 0 / 486.4 MB, free: 7.539 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003568/0.4326, allocations: 48 kB / 486.4 MB, free: 7.492 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001141/0.4337, allocations: 0.8856 MB / 487.3 MB, free: 6.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000715/0.4344, allocations: 207 kB / 487.5 MB, free: 6.371 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4345, allocations: 4 kB / 487.5 MB, free: 6.367 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003222/0.4348, allocations: 104.7 kB / 487.6 MB, free: 6.266 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000487/0.4353, allocations: 40.61 kB / 487.7 MB, free: 6.227 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.4364, allocations: 308 kB / 488 MB, free: 5.879 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.4368, allocations: 0.6967 MB / 488.7 MB, free: 5.156 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000406/0.4372, allocations: 48.75 kB / 488.7 MB, free: 5.109 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/0.4374, allocations: 51.33 kB / 488.8 MB, free: 5.062 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4374, allocations: 0 / 488.8 MB, free: 5.062 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02866/0.466, allocations: 4.279 MB / 493.1 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.045/8.511, allocations: 8.5 kB / 493.1 MB, free: 0.7188 MB / 382.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Modelica_3_2_3_Modelica_Media_Examples_IdealGasH2O.fmu > Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches