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.001517/0.001517, allocations: 109.3 kB / 17.73 MB, free: 5.316 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.001619/0.001619, allocations: 188.2 kB / 18.66 MB, free: 4.391 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.442/1.442, allocations: 205.1 MB / 224.5 MB, free: 12.22 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.0016/0.0016, allocations: 51.92 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08646/0.08807, allocations: 46.62 MB / 374.6 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3399/0.428, allocations: 150.4 MB / 0.5128 GB, free: 9.051 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001966/0.43, allocations: 1.534 MB / 0.5143 GB, free: 7.516 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.43e-05/0.4301, allocations: 3.938 kB / 0.5143 GB, free: 7.512 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001596/0.4302, allocations: 19.91 kB / 0.5143 GB, free: 7.492 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008334/0.4311, allocations: 322.3 kB / 0.5146 GB, free: 7.176 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001621/0.4312, allocations: 59.73 kB / 0.5146 GB, free: 7.117 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.4314, allocations: 67.61 kB / 0.5147 GB, free: 7.051 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.289e-05/0.4314, allocations: 4 kB / 0.5147 GB, free: 7.047 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.4315, allocations: 35.8 kB / 0.5147 GB, free: 7.012 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.694e-05/0.4316, allocations: 35.84 kB / 0.5148 GB, free: 6.977 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.598e-06/0.4316, allocations: 0 / 0.5148 GB, free: 6.977 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007285/0.4324, allocations: 363.5 kB / 0.5151 GB, free: 6.621 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/0.4324, allocations: 11.98 kB / 0.5151 GB, free: 6.609 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.01e-05/0.4325, allocations: 23.88 kB / 0.5152 GB, free: 6.586 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005026/0.433, allocations: 297.7 kB / 0.5154 GB, free: 6.301 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.433, allocations: 0 / 0.5154 GB, free: 6.301 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.433, allocations: 0 / 0.5154 GB, free: 6.301 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.433, allocations: 0 / 0.5154 GB, free: 6.301 MB / 446.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.0009013/0.4339, allocations: 442.8 kB / 0.5159 GB, free: 5.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.4339, allocations: 8.031 kB / 0.5159 GB, free: 5.812 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.122e-05/0.434, allocations: 46.67 kB / 0.5159 GB, free: 5.758 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006133/0.4401, allocations: 460.6 kB / 0.5164 GB, free: 5.309 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.4403, allocations: 164.3 kB / 0.5165 GB, free: 5.109 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.4403, allocations: 11.94 kB / 0.5165 GB, free: 5.098 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.182e-05/0.4404, allocations: 11.98 kB / 0.5165 GB, free: 5.086 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008028/0.4412, allocations: 297.3 kB / 0.5168 GB, free: 4.789 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.4412, allocations: 0 / 0.5168 GB, free: 4.789 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.285e-05/0.4413, allocations: 0 / 0.5168 GB, free: 4.789 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.4413, allocations: 0 / 0.5168 GB, free: 4.789 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008651/0.4422, allocations: 287.7 kB / 0.5171 GB, free: 4.508 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009884/0.4432, allocations: 417.4 kB / 0.5175 GB, free: 4.051 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.4442, allocations: 203.1 kB / 0.5177 GB, free: 3.844 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002109/0.4444, allocations: 73.06 kB / 0.5178 GB, free: 3.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.948e-05/0.4445, allocations: 7.984 kB / 0.5178 GB, free: 3.762 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.4445, allocations: 38.5 kB / 0.5178 GB, free: 3.715 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.4445, allocations: 0 / 0.5178 GB, free: 3.715 MB / 446.1 MB Notification: Performance of matching and sorting (n=17): time 0.001776/0.4463, allocations: 425.4 kB / 0.5182 GB, free: 3.297 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.4464, allocations: 55.41 kB / 0.5183 GB, free: 3.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.64e-05/0.4464, allocations: 105.8 kB / 0.5184 GB, free: 3.117 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.615e-05/0.4465, allocations: 29.7 kB / 0.5184 GB, free: 3.082 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.032e-05/0.4466, allocations: 100.5 kB / 0.5185 GB, free: 2.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.59e-05/0.4466, allocations: 55.48 kB / 0.5185 GB, free: 2.926 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.826e-05/0.4467, allocations: 45.69 kB / 0.5186 GB, free: 2.875 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.4469, allocations: 322.8 kB / 0.5189 GB, free: 2.551 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002823/0.4472, allocations: 75.94 kB / 0.519 GB, free: 2.477 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003141/0.4475, allocations: 112.2 kB / 0.5191 GB, free: 2.352 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006142/0.4481, allocations: 205.8 kB / 0.5193 GB, free: 2.137 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.4482, allocations: 3.938 kB / 0.5193 GB, free: 2.133 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007196/0.4489, allocations: 245.4 kB / 0.5195 GB, free: 1.887 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.4489, allocations: 8 kB / 0.5195 GB, free: 1.879 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.4489, allocations: 0 / 0.5195 GB, free: 1.879 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.4489, allocations: 0 / 0.5195 GB, free: 1.879 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003754/0.4493, allocations: 55.89 kB / 0.5196 GB, free: 1.824 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.4493, allocations: 128 / 0.5196 GB, free: 1.824 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002506/0.4496, allocations: 19.98 kB / 0.5196 GB, free: 1.805 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.922e-05/0.4496, allocations: 11.98 kB / 0.5196 GB, free: 1.793 MB / 446.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.0001212/0.4498, allocations: 121.8 kB / 0.5197 GB, free: 1.664 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.541e-05/0.4498, allocations: 11.89 kB / 0.5197 GB, free: 1.652 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008708/0.4507, allocations: 280.1 kB / 0.52 GB, free: 1.375 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.4507, allocations: 0 / 0.52 GB, free: 1.375 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.4507, allocations: 8 kB / 0.52 GB, free: 1.367 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4507, allocations: 0 / 0.52 GB, free: 1.367 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001325/0.4521, allocations: 0.5755 MB / 0.5206 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.4521, allocations: 4 kB / 0.5206 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003441/0.4524, allocations: 47.89 kB / 0.5206 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.4524, allocations: 0 / 0.5206 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.4525, allocations: 4 kB / 0.5206 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.4525, allocations: 3.062 kB / 0.5206 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.4525, allocations: 3.938 kB / 0.5206 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007148/0.4532, allocations: 349.8 kB / 0.521 GB, free: 316 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.958e-05/0.4533, allocations: 85.06 kB / 0.521 GB, free: 212 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.463e-05/0.4533, allocations: 4 kB / 0.521 GB, free: 208 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002699/0.4536, allocations: 15.98 kB / 0.5211 GB, free: 192 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.652e-05/0.4536, allocations: 19.92 kB / 0.5211 GB, free: 172 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.717e-05/0.4537, allocations: 11.98 kB / 0.5211 GB, free: 160 kB / 446.1 MB Notification: Performance of sorting global known variables: time 4.29e-05/0.4537, allocations: 75.28 kB / 0.5212 GB, free: 84 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4537, allocations: 0 / 0.5212 GB, free: 84 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003305/0.4541, allocations: 51.94 kB / 0.5212 GB, free: 32 kB / 446.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.00117/0.4552, allocations: 0.8789 MB / 0.5221 GB, free: 15.12 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006727/0.4559, allocations: 203.9 kB / 0.5223 GB, free: 14.92 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4559, allocations: 0 / 0.5223 GB, free: 14.92 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003204/0.4563, allocations: 104.6 kB / 0.5224 GB, free: 14.82 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004612/0.4567, allocations: 36.89 kB / 0.5224 GB, free: 14.78 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.4578, allocations: 320.3 kB / 0.5227 GB, free: 14.42 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.4581, allocations: 0.6928 MB / 0.5234 GB, free: 13.7 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002774/0.4584, allocations: 56.75 kB / 0.5234 GB, free: 13.65 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.4586, allocations: 43.39 kB / 0.5235 GB, free: 13.61 MB / 462.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4586, allocations: 7.938 kB / 0.5235 GB, free: 13.6 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02553/0.4841, allocations: 4.339 MB / 0.5277 GB, free: 9.219 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.201/8.685, allocations: 3.984 kB / 0.5277 GB, free: 9.215 MB / 462.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