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.001121/0.001121, 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.001265/0.001265, 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.356/1.356, allocations: 205.1 MB / 224.5 MB, free: 12.21 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.001322/0.001322, allocations: 55.92 kB / 328 MB, free: 3.816 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08297/0.0843, allocations: 46.62 MB / 374.6 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3266/0.411, allocations: 150.4 MB / 0.5128 GB, free: 9.07 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001723/0.4127, allocations: 1.521 MB / 0.5142 GB, free: 7.551 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.65e-05/0.4128, allocations: 0 / 0.5142 GB, free: 7.551 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001768/0.4131, allocations: 31.83 kB / 0.5143 GB, free: 7.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008187/0.4139, allocations: 318.3 kB / 0.5146 GB, free: 7.207 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001578/0.4141, allocations: 63.67 kB / 0.5146 GB, free: 7.145 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.225e-05/0.4142, allocations: 75.61 kB / 0.5147 GB, free: 7.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.766e-05/0.4142, allocations: 0 / 0.5147 GB, free: 7.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.35e-05/0.4143, allocations: 35.84 kB / 0.5147 GB, free: 7.035 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.612e-05/0.4144, allocations: 27.86 kB / 0.5148 GB, free: 7.008 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.446e-06/0.4144, allocations: 8 kB / 0.5148 GB, free: 7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006814/0.4151, allocations: 367.5 kB / 0.5151 GB, free: 6.641 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.368e-05/0.4151, allocations: 4 kB / 0.5151 GB, free: 6.637 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.886e-05/0.4152, allocations: 27.86 kB / 0.5152 GB, free: 6.609 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004634/0.4156, allocations: 301.6 kB / 0.5154 GB, free: 6.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.4156, allocations: 3.938 kB / 0.5155 GB, free: 6.316 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4157, allocations: 0 / 0.5155 GB, free: 6.316 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.4157, allocations: 0 / 0.5155 GB, free: 6.316 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.0009049/0.4166, allocations: 446.8 kB / 0.5159 GB, free: 5.832 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.4166, allocations: 8.031 kB / 0.5159 GB, free: 5.824 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.351e-05/0.4167, allocations: 42.73 kB / 0.5159 GB, free: 5.773 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006378/0.4231, allocations: 452.7 kB / 0.5164 GB, free: 5.332 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.4232, allocations: 168.3 kB / 0.5165 GB, free: 5.129 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.4232, allocations: 7.938 kB / 0.5165 GB, free: 5.121 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.768e-05/0.4233, allocations: 11.94 kB / 0.5165 GB, free: 5.109 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000766/0.4241, allocations: 297.3 kB / 0.5168 GB, free: 4.812 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.4241, allocations: 4 kB / 0.5168 GB, free: 4.809 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.964e-05/0.4242, allocations: 7.984 kB / 0.5168 GB, free: 4.801 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.4242, allocations: 0 / 0.5168 GB, free: 4.801 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008208/0.425, allocations: 271.8 kB / 0.5171 GB, free: 4.535 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.426, allocations: 425.4 kB / 0.5175 GB, free: 4.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.427, allocations: 202.3 kB / 0.5177 GB, free: 3.863 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/0.4273, allocations: 77.06 kB / 0.5178 GB, free: 3.785 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.4273, allocations: 8 kB / 0.5178 GB, free: 3.777 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.4273, allocations: 34.56 kB / 0.5178 GB, free: 3.734 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.4273, allocations: 0 / 0.5178 GB, free: 3.734 MB / 446.1 MB Notification: Performance of matching and sorting (n=17): time 0.00175/0.4291, allocations: 426.9 kB / 0.5182 GB, free: 3.312 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.4291, allocations: 51.41 kB / 0.5183 GB, free: 3.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.163e-05/0.4292, allocations: 109.8 kB / 0.5184 GB, free: 3.133 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.4293, allocations: 25.7 kB / 0.5184 GB, free: 3.102 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.296e-05/0.4293, allocations: 96.61 kB / 0.5185 GB, free: 3.004 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.149e-05/0.4294, allocations: 59.47 kB / 0.5185 GB, free: 2.945 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.177e-05/0.4295, allocations: 49.62 kB / 0.5186 GB, free: 2.891 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.4296, allocations: 318.8 kB / 0.5189 GB, free: 2.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002704/0.4299, allocations: 75.94 kB / 0.519 GB, free: 2.496 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000298/0.4302, allocations: 124.2 kB / 0.5191 GB, free: 2.359 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005635/0.4308, allocations: 207.5 kB / 0.5193 GB, free: 2.145 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.4308, allocations: 3.938 kB / 0.5193 GB, free: 2.141 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006761/0.4314, allocations: 237.5 kB / 0.5195 GB, free: 1.902 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.4315, allocations: 4 kB / 0.5195 GB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.4315, allocations: 4 kB / 0.5195 GB, free: 1.895 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.4315, allocations: 0 / 0.5195 GB, free: 1.895 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003819/0.4319, allocations: 52.77 kB / 0.5196 GB, free: 1.844 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.4319, allocations: 4.125 kB / 0.5196 GB, free: 1.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002605/0.4322, allocations: 19.98 kB / 0.5196 GB, free: 1.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.506e-05/0.4322, allocations: 11.98 kB / 0.5196 GB, free: 1.809 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.0001055/0.4323, allocations: 125.7 kB / 0.5197 GB, free: 1.676 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.781e-05/0.4324, allocations: 11.89 kB / 0.5197 GB, free: 1.664 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008159/0.4332, allocations: 280.7 kB / 0.52 GB, free: 1.387 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.4332, allocations: 0 / 0.52 GB, free: 1.387 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4332, allocations: 4 kB / 0.52 GB, free: 1.383 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.4332, allocations: 0 / 0.52 GB, free: 1.383 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.4345, allocations: 0.5826 MB / 0.5206 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-06/0.4345, allocations: 0 / 0.5206 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003458/0.4349, allocations: 43.95 kB / 0.5206 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.4349, allocations: 4 kB / 0.5206 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.267e-05/0.4349, allocations: 8 kB / 0.5206 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.4349, allocations: 3.938 kB / 0.5206 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.435, allocations: 3.938 kB / 0.5206 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006769/0.4356, allocations: 334.6 kB / 0.521 GB, free: 336 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.173e-05/0.4357, allocations: 89.06 kB / 0.521 GB, free: 228 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.535e-05/0.4357, allocations: 3.938 kB / 0.521 GB, free: 224 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002753/0.436, allocations: 19.98 kB / 0.5211 GB, free: 204 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.4361, allocations: 11.92 kB / 0.5211 GB, free: 192 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.461e-05/0.4361, allocations: 11.98 kB / 0.5211 GB, free: 180 kB / 446.1 MB Notification: Performance of sorting global known variables: time 3.883e-05/0.4361, allocations: 83.28 kB / 0.5212 GB, free: 96 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4361, allocations: 3.938 kB / 0.5212 GB, free: 92 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003517/0.4365, allocations: 47.94 kB / 0.5212 GB, free: 44 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.001062/0.4376, allocations: 0.882 MB / 0.5221 GB, free: 15.12 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006303/0.4382, allocations: 192 kB / 0.5223 GB, free: 14.94 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.4382, allocations: 4 kB / 0.5223 GB, free: 14.93 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003085/0.4385, allocations: 104.4 kB / 0.5224 GB, free: 14.83 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004352/0.439, allocations: 41.92 kB / 0.5224 GB, free: 14.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009753/0.44, allocations: 320.3 kB / 0.5227 GB, free: 14.44 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.4402, allocations: 0.6928 MB / 0.5234 GB, free: 13.72 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002846/0.4405, allocations: 56.56 kB / 0.5234 GB, free: 13.67 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001608/0.4407, allocations: 43.41 kB / 0.5235 GB, free: 13.62 MB / 462.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4407, allocations: 4 kB / 0.5235 GB, free: 13.62 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02099/0.4617, allocations: 4.334 MB / 0.5277 GB, free: 9.242 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.641/8.103, allocations: 3.938 kB / 0.5277 GB, free: 9.238 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