Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) 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(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_4_0_0_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.001436/0.001436, allocations: 106.5 kB / 17.06 MB, free: 6.102 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.001674/0.001674, allocations: 194.9 kB / 18 MB, free: 5.172 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.291/1.291, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001148, allocations: 43.92 kB / 350.8 MB, free: 3.746 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2478, allocations: 49.45 MB / 400.2 MB, free: 8.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.1469/0.3947, allocations: 149.2 MB / 0.5366 GB, free: 2.984 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002483/0.3972, allocations: 2.526 MB / 0.539 GB, free: 460 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.863e-05/0.3973, allocations: 0 / 0.539 GB, free: 460 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001497/0.3975, allocations: 31.81 kB / 0.5391 GB, free: 428 kB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007744/0.3983, allocations: 318.3 kB / 0.5394 GB, free: 108 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001419/0.3984, allocations: 55.75 kB / 0.5394 GB, free: 52 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.2159/0.6144, allocations: 77.91 kB / 0.5395 GB, free: 2.094 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.906e-05/0.6145, allocations: 6.25 kB / 0.5395 GB, free: 2.094 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.6146, allocations: 33.06 kB / 0.5395 GB, free: 2.094 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.97e-05/0.6147, allocations: 25.52 kB / 0.5396 GB, free: 2.094 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.6147, allocations: 4.297 kB / 0.5396 GB, free: 2.094 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009625/0.6157, allocations: 364.4 kB / 0.5399 GB, free: 2.094 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.454e-05/0.6157, allocations: 8.266 kB / 0.5399 GB, free: 2.094 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.661e-05/0.6158, allocations: 30.5 kB / 0.5399 GB, free: 2.094 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005635/0.6164, allocations: 297.1 kB / 0.5402 GB, free: 2.086 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.6164, allocations: 1.469 kB / 0.5402 GB, free: 2.086 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.6164, allocations: 0 / 0.5402 GB, free: 2.086 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.6164, allocations: 1.344 kB / 0.5402 GB, free: 2.086 MB / 462.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.0008813/0.6173, allocations: 437 kB / 0.5406 GB, free: 17.71 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.6173, allocations: 9.812 kB / 0.5407 GB, free: 17.71 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.163e-05/0.6174, allocations: 41.59 kB / 0.5407 GB, free: 17.67 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006531/0.6239, allocations: 457.5 kB / 0.5411 GB, free: 17.66 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.637e-05/0.624, allocations: 168.5 kB / 0.5413 GB, free: 17.46 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.6241, allocations: 10.97 kB / 0.5413 GB, free: 17.46 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.431e-05/0.6241, allocations: 6.094 kB / 0.5413 GB, free: 17.46 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007818/0.6249, allocations: 292.8 kB / 0.5416 GB, free: 17.43 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.625, allocations: 1.594 kB / 0.5416 GB, free: 17.43 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.755e-05/0.625, allocations: 7.234 kB / 0.5416 GB, free: 17.43 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.625, allocations: 1.875 kB / 0.5416 GB, free: 17.43 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008588/0.6259, allocations: 272.2 kB / 0.5419 GB, free: 17.43 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009458/0.6268, allocations: 441.4 kB / 0.5423 GB, free: 17.14 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.6279, allocations: 203.8 kB / 0.5425 GB, free: 17.11 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/0.6281, allocations: 72.95 kB / 0.5425 GB, free: 17.11 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.6281, allocations: 3.422 kB / 0.5425 GB, free: 17.11 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.6281, allocations: 38.77 kB / 0.5426 GB, free: 17.07 MB / 478.1 MB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.6281, allocations: 0 / 0.5426 GB, free: 17.07 MB / 478.1 MB Notification: Performance of matching and sorting (n=17): time 0.001645/0.6298, allocations: 423.9 kB / 0.543 GB, free: 17.02 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.6298, allocations: 56.08 kB / 0.543 GB, free: 16.96 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.011e-05/0.6299, allocations: 102.2 kB / 0.5431 GB, free: 16.86 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.6299, allocations: 26.48 kB / 0.5432 GB, free: 16.83 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.546e-05/0.63, allocations: 99.77 kB / 0.5433 GB, free: 16.73 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.109e-05/0.63, allocations: 62.28 kB / 0.5433 GB, free: 16.7 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.854e-05/0.6301, allocations: 40.2 kB / 0.5434 GB, free: 16.68 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.972e-05/0.6302, allocations: 320.2 kB / 0.5437 GB, free: 16.37 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002461/0.6305, allocations: 80.23 kB / 0.5437 GB, free: 16.37 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000255/0.6307, allocations: 113.3 kB / 0.5438 GB, free: 16.33 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005016/0.6313, allocations: 209.2 kB / 0.544 GB, free: 16.29 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.6313, allocations: 4.844 kB / 0.544 GB, free: 16.28 MB / 478.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006119/0.6319, allocations: 245.4 kB / 0.5443 GB, free: 16.25 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.6319, allocations: 6.406 kB / 0.5443 GB, free: 16.25 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.6319, allocations: 3.188 kB / 0.5443 GB, free: 16.25 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.6319, allocations: 2.875 kB / 0.5443 GB, free: 16.25 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003663/0.6323, allocations: 50.94 kB / 0.5443 GB, free: 16.25 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.6323, allocations: 1.844 kB / 0.5443 GB, free: 16.25 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002548/0.6326, allocations: 21.66 kB / 0.5444 GB, free: 16.24 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.373e-05/0.6326, allocations: 11.97 kB / 0.5444 GB, free: 16.24 MB / 478.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.0001179/0.6328, allocations: 125.7 kB / 0.5445 GB, free: 16.12 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.708e-05/0.6328, allocations: 10.34 kB / 0.5445 GB, free: 16.12 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007452/0.6336, allocations: 282.7 kB / 0.5448 GB, free: 16.09 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.6336, allocations: 3.188 kB / 0.5448 GB, free: 16.09 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.237e-06/0.6336, allocations: 0 / 0.5448 GB, free: 16.09 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.6336, allocations: 0.7188 kB / 0.5448 GB, free: 16.09 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/0.6347, allocations: 0.577 MB / 0.5453 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.6347, allocations: 1.094 kB / 0.5453 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003339/0.6351, allocations: 45.7 kB / 0.5454 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.6351, allocations: 4.125 kB / 0.5454 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/0.6351, allocations: 10.17 kB / 0.5454 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.6351, allocations: 0 / 0.5454 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.6351, allocations: 7.062 kB / 0.5454 GB, free: 15.76 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006091/0.6357, allocations: 327 kB / 0.5457 GB, free: 15.61 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.919e-05/0.6358, allocations: 89.89 kB / 0.5458 GB, free: 15.51 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.45e-05/0.6358, allocations: 3.125 kB / 0.5458 GB, free: 15.51 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002717/0.6361, allocations: 15.66 kB / 0.5458 GB, free: 15.51 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.643e-05/0.6361, allocations: 17.36 kB / 0.5458 GB, free: 15.51 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.218e-05/0.6362, allocations: 10.48 kB / 0.5459 GB, free: 15.51 MB / 478.1 MB Notification: Performance of sorting global known variables: time 4.249e-05/0.6362, allocations: 85.97 kB / 0.5459 GB, free: 15.43 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6362, allocations: 3.375 kB / 0.5459 GB, free: 15.43 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003366/0.6366, allocations: 42.47 kB / 0.546 GB, free: 15.43 MB / 478.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.0009976/0.6376, allocations: 0.884 MB / 0.5468 GB, free: 14.75 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005843/0.6382, allocations: 204.8 kB / 0.547 GB, free: 14.74 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.6382, allocations: 1.094 kB / 0.547 GB, free: 14.74 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002629/0.6384, allocations: 100.9 kB / 0.5471 GB, free: 14.74 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/0.6389, allocations: 43.56 kB / 0.5472 GB, free: 14.73 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008919/0.6398, allocations: 316.5 kB / 0.5475 GB, free: 14.55 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.64, allocations: 0.692 MB / 0.5482 GB, free: 13.85 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002746/0.6403, allocations: 57.98 kB / 0.5482 GB, free: 13.84 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/0.6405, allocations: 47.12 kB / 0.5483 GB, free: 13.83 MB / 478.1 MB Notification: Performance of SimCode: time 2.51e-07/0.6405, allocations: 0 / 0.5483 GB, free: 13.83 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01851/0.659, allocations: 4.323 MB / 0.5525 GB, free: 13.42 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.664/8.323, allocations: 7.188 kB / 0.5525 GB, free: 13.42 MB / 478.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Media_Examples_IdealGasH2O.fmu > Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches