Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001201/0.001201, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001297/0.001297, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 63.72 kB / 307 MB, free: 0.5078 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08606/0.0873, allocations: 50.53 MB / 357.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2948/0.3822, allocations: 152.2 MB / 0.4978 GB, free: 2.969 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002691/0.3849, allocations: 2.543 MB / 0.5003 GB, free: 436 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.205e-05/0.385, allocations: 0 / 0.5003 GB, free: 436 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001459/0.3851, allocations: 26.2 kB / 0.5003 GB, free: 412 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009207/0.3861, allocations: 336.8 kB / 0.5006 GB, free: 80 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001862/0.3863, allocations: 71.66 kB / 0.5007 GB, free: 8 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.3865, allocations: 103.5 kB / 0.5008 GB, free: 15.9 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.923e-05/0.3865, allocations: 7.984 kB / 0.5008 GB, free: 15.89 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.525e-05/0.3866, allocations: 43.69 kB / 0.5009 GB, free: 15.86 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.572e-05/0.3867, allocations: 35.84 kB / 0.5009 GB, free: 15.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.3867, allocations: 4 kB / 0.5009 GB, free: 15.82 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007333/0.3874, allocations: 367.5 kB / 0.5013 GB, free: 15.46 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.582e-05/0.3875, allocations: 11.92 kB / 0.5013 GB, free: 15.45 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.106e-05/0.3875, allocations: 39.8 kB / 0.5013 GB, free: 15.41 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004966/0.388, allocations: 313 kB / 0.5016 GB, free: 15.1 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.388, allocations: 0 / 0.5016 GB, free: 15.1 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3881, allocations: 1.406 kB / 0.5016 GB, free: 15.1 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.3881, allocations: 4 kB / 0.5016 GB, free: 15.1 MB / 430.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.0008996/0.389, allocations: 463.9 kB / 0.502 GB, free: 14.6 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.389, allocations: 8.031 kB / 0.5021 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.961e-05/0.3891, allocations: 38.75 kB / 0.5021 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006598/0.3957, allocations: 460.6 kB / 0.5025 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.3959, allocations: 187.4 kB / 0.5027 GB, free: 13.87 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.3959, allocations: 0 / 0.5027 GB, free: 13.87 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.003e-05/0.396, allocations: 12 kB / 0.5027 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007817/0.3968, allocations: 297.2 kB / 0.503 GB, free: 13.56 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.3968, allocations: 0 / 0.503 GB, free: 13.56 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.695e-05/0.3969, allocations: 0 / 0.503 GB, free: 13.56 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.3969, allocations: 4 kB / 0.503 GB, free: 13.56 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008083/0.3977, allocations: 279.8 kB / 0.5033 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000331/0.398, allocations: 250.2 kB / 0.5035 GB, free: 12.99 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004306/0.3985, allocations: 174.7 kB / 0.5037 GB, free: 12.81 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002286/0.3987, allocations: 80.81 kB / 0.5038 GB, free: 12.73 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.3988, allocations: 4 kB / 0.5038 GB, free: 12.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.3988, allocations: 34.56 kB / 0.5038 GB, free: 12.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=17): time 1.523e-06/0.3988, allocations: 4 kB / 0.5038 GB, free: 12.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.002274/0.4011, allocations: 0.5844 MB / 0.5044 GB, free: 12.09 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.4011, allocations: 51.41 kB / 0.5044 GB, free: 12.03 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.368e-05/0.4012, allocations: 109.8 kB / 0.5045 GB, free: 11.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/0.4013, allocations: 29.7 kB / 0.5046 GB, free: 11.88 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.103e-05/0.4013, allocations: 84.52 kB / 0.5046 GB, free: 11.79 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.628e-05/0.4014, allocations: 90.73 kB / 0.5047 GB, free: 11.7 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.4015, allocations: 45.69 kB / 0.5048 GB, free: 11.65 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.4016, allocations: 330.8 kB / 0.5051 GB, free: 11.32 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002951/0.4019, allocations: 95.94 kB / 0.5052 GB, free: 11.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002837/0.4022, allocations: 99.94 kB / 0.5053 GB, free: 11.13 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005992/0.4028, allocations: 227.7 kB / 0.5055 GB, free: 10.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.4028, allocations: 0 / 0.5055 GB, free: 10.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007103/0.4035, allocations: 281.3 kB / 0.5057 GB, free: 10.62 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.4036, allocations: 8 kB / 0.5058 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.4036, allocations: 0 / 0.5058 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.4036, allocations: 3.938 kB / 0.5058 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004495/0.4041, allocations: 55.89 kB / 0.5058 GB, free: 10.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.4041, allocations: 3.125 kB / 0.5058 GB, free: 10.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002806/0.4044, allocations: 15.98 kB / 0.5058 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.933e-05/0.4044, allocations: 15.98 kB / 0.5058 GB, free: 10.53 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (24): * Single equations (assignments): 24 * 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.0001148/0.4045, allocations: 129.7 kB / 0.506 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.838e-05/0.4046, allocations: 11.91 kB / 0.506 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009657/0.4055, allocations: 349.2 kB / 0.5063 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.4056, allocations: 11.92 kB / 0.5063 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.4056, allocations: 0 / 0.5063 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.4056, allocations: 0 / 0.5063 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/0.407, allocations: 0.7205 MB / 0.507 GB, free: 9.234 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.4071, allocations: 4.156 kB / 0.507 GB, free: 9.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004008/0.4075, allocations: 59.89 kB / 0.5071 GB, free: 9.172 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.4075, allocations: 4 kB / 0.5071 GB, free: 9.168 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.945e-05/0.4075, allocations: 11.98 kB / 0.5071 GB, free: 9.156 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.4075, allocations: 4 kB / 0.5071 GB, free: 9.152 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4075, allocations: 0 / 0.5071 GB, free: 9.152 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000783/0.4083, allocations: 411.6 kB / 0.5075 GB, free: 8.719 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.077e-05/0.4084, allocations: 85.02 kB / 0.5076 GB, free: 8.617 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.629e-05/0.4084, allocations: 12 kB / 0.5076 GB, free: 8.605 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003266/0.4088, allocations: 23.91 kB / 0.5076 GB, free: 8.582 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.116e-05/0.4088, allocations: 23.86 kB / 0.5076 GB, free: 8.559 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.043e-05/0.4089, allocations: 16.98 kB / 0.5077 GB, free: 8.543 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.713e-05/0.4089, allocations: 83.28 kB / 0.5077 GB, free: 8.461 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4089, allocations: 0 / 0.5077 GB, free: 8.461 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003387/0.4092, allocations: 52 kB / 0.5078 GB, free: 8.41 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (26): * Single equations (assignments): 26 * 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.001119/0.4104, allocations: 0.9817 MB / 0.5087 GB, free: 7.387 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007304/0.4111, allocations: 263.5 kB / 0.509 GB, free: 7.129 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4111, allocations: 0 / 0.509 GB, free: 7.129 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003493/0.4115, allocations: 144.1 kB / 0.5091 GB, free: 6.988 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005632/0.4121, allocations: 50.05 kB / 0.5092 GB, free: 6.941 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003248/0.4153, allocations: 2.081 MB / 0.5112 GB, free: 4.754 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.4156, allocations: 0.7086 MB / 0.5119 GB, free: 4.02 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003846/0.4159, allocations: 58.58 kB / 0.512 GB, free: 3.965 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001949/0.4161, allocations: 55.39 kB / 0.512 GB, free: 3.91 MB / 430.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4162, allocations: 0 / 0.512 GB, free: 3.91 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02076/0.4369, allocations: 5.564 MB / 0.5174 GB, free: 14.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.504/7.941, allocations: 3.938 kB / 0.5175 GB, free: 14.4 MB / 446.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Media_Examples_IdealGasH2O.fmu > Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches