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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 110.5 kB / 18.45 MB, free: 4.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001854/0.001854, allocations: 213.6 kB / 21.42 MB, free: 1.629 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.403/1.403, allocations: 207.6 MB / 231.8 MB, free: 4.18 MB / 174.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 60.39 kB / 342.3 MB, free: 10.03 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09417/0.09594, allocations: 49.12 MB / 391.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3799/0.4759, allocations: 150.9 MB / 0.5296 GB, free: 11.16 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001927/0.4778, allocations: 1.531 MB / 0.5311 GB, free: 9.941 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.287e-05/0.4778, allocations: 0 / 0.5311 GB, free: 9.941 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000182/0.478, allocations: 20.92 kB / 0.5311 GB, free: 9.926 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001082/0.4791, allocations: 326.1 kB / 0.5314 GB, free: 9.688 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.4793, allocations: 61.05 kB / 0.5315 GB, free: 9.645 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001307/0.4794, allocations: 80.72 kB / 0.5315 GB, free: 9.598 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.244e-05/0.4795, allocations: 2.562 kB / 0.5315 GB, free: 9.598 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.4796, allocations: 38.72 kB / 0.5316 GB, free: 9.574 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.576e-05/0.4797, allocations: 24.95 kB / 0.5316 GB, free: 9.562 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.4797, allocations: 2.688 kB / 0.5316 GB, free: 9.562 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008192/0.4805, allocations: 371.5 kB / 0.5319 GB, free: 9.285 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.486e-05/0.4806, allocations: 3.938 kB / 0.532 GB, free: 9.281 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.622e-05/0.4806, allocations: 27.88 kB / 0.532 GB, free: 9.254 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005349/0.4811, allocations: 301.6 kB / 0.5323 GB, free: 8.961 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.4811, allocations: 0 / 0.5323 GB, free: 8.961 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4811, allocations: 0 / 0.5323 GB, free: 8.961 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.4811, allocations: 0 / 0.5323 GB, free: 8.961 MB / 414.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.0009924/0.4821, allocations: 443.3 kB / 0.5327 GB, free: 8.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.4822, allocations: 8.031 kB / 0.5327 GB, free: 8.473 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.439e-05/0.4822, allocations: 50.73 kB / 0.5327 GB, free: 8.414 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006404/0.4886, allocations: 452.7 kB / 0.5332 GB, free: 7.973 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.4888, allocations: 164.4 kB / 0.5333 GB, free: 7.773 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.4888, allocations: 7.938 kB / 0.5333 GB, free: 7.766 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.325e-05/0.4889, allocations: 8 kB / 0.5334 GB, free: 7.758 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008365/0.4897, allocations: 301.2 kB / 0.5336 GB, free: 7.457 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.4897, allocations: 7.938 kB / 0.5336 GB, free: 7.449 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.017e-05/0.4898, allocations: 4 kB / 0.5336 GB, free: 7.445 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.4898, allocations: 4 kB / 0.5337 GB, free: 7.441 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008459/0.4907, allocations: 267.8 kB / 0.5339 GB, free: 7.18 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.4917, allocations: 432.7 kB / 0.5343 GB, free: 6.707 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.4928, allocations: 198.4 kB / 0.5345 GB, free: 6.504 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002093/0.493, allocations: 73.36 kB / 0.5346 GB, free: 6.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.493, allocations: 3.938 kB / 0.5346 GB, free: 6.426 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.493, allocations: 38.56 kB / 0.5346 GB, free: 6.379 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 2.194e-06/0.493, allocations: 0 / 0.5346 GB, free: 6.379 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001836/0.4949, allocations: 425.1 kB / 0.535 GB, free: 5.957 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.4949, allocations: 55.41 kB / 0.5351 GB, free: 5.891 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.629e-05/0.495, allocations: 97.84 kB / 0.5352 GB, free: 5.785 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.334e-05/0.495, allocations: 33.7 kB / 0.5352 GB, free: 5.746 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.657e-05/0.4951, allocations: 91.98 kB / 0.5353 GB, free: 5.652 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.11e-05/0.4952, allocations: 63.47 kB / 0.5354 GB, free: 5.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.4953, allocations: 49.69 kB / 0.5354 GB, free: 5.535 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.4954, allocations: 314.8 kB / 0.5357 GB, free: 5.219 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/0.4957, allocations: 75.94 kB / 0.5358 GB, free: 5.145 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003066/0.496, allocations: 120.2 kB / 0.5359 GB, free: 5.012 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005716/0.4965, allocations: 204.2 kB / 0.5361 GB, free: 4.797 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.4965, allocations: 3.938 kB / 0.5361 GB, free: 4.793 MB / 414.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006988/0.4972, allocations: 241.4 kB / 0.5363 GB, free: 4.551 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.4973, allocations: 8.125 kB / 0.5363 GB, free: 4.543 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.4973, allocations: 0 / 0.5363 GB, free: 4.543 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.4973, allocations: 4 kB / 0.5363 GB, free: 4.539 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003887/0.4977, allocations: 51.89 kB / 0.5364 GB, free: 4.488 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.4977, allocations: 0 / 0.5364 GB, free: 4.488 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002589/0.4979, allocations: 15.98 kB / 0.5364 GB, free: 4.473 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.731e-05/0.498, allocations: 11.98 kB / 0.5364 GB, free: 4.461 MB / 414.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.0001245/0.4981, allocations: 129.7 kB / 0.5365 GB, free: 4.324 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.89e-05/0.4982, allocations: 15.89 kB / 0.5365 GB, free: 4.309 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008637/0.499, allocations: 274 kB / 0.5368 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.499, allocations: 4 kB / 0.5368 GB, free: 4.031 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.499, allocations: 0.875 kB / 0.5368 GB, free: 4.031 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.499, allocations: 0 / 0.5368 GB, free: 4.031 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001335/0.5004, allocations: 0.5834 MB / 0.5374 GB, free: 3.387 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.5004, allocations: 0 / 0.5374 GB, free: 3.387 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003583/0.5007, allocations: 43.95 kB / 0.5374 GB, free: 3.344 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.5007, allocations: 8.047 kB / 0.5374 GB, free: 3.336 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.778e-05/0.5008, allocations: 11.94 kB / 0.5374 GB, free: 3.328 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.5008, allocations: 0 / 0.5374 GB, free: 3.328 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.5008, allocations: 7.938 kB / 0.5374 GB, free: 3.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000748/0.5015, allocations: 329.4 kB / 0.5378 GB, free: 2.977 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.177e-05/0.5016, allocations: 85.06 kB / 0.5378 GB, free: 2.875 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.525e-05/0.5016, allocations: 8 kB / 0.5378 GB, free: 2.867 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002706/0.5019, allocations: 11.98 kB / 0.5379 GB, free: 2.855 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.616e-05/0.5019, allocations: 15.92 kB / 0.5379 GB, free: 2.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.748e-05/0.502, allocations: 15.92 kB / 0.5379 GB, free: 2.824 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.848e-05/0.502, allocations: 87.28 kB / 0.538 GB, free: 2.738 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.502, allocations: 0 / 0.538 GB, free: 2.738 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003552/0.5024, allocations: 43.94 kB / 0.538 GB, free: 2.695 MB / 414.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.001158/0.5035, allocations: 0.8818 MB / 0.5389 GB, free: 1.781 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006671/0.5042, allocations: 191.7 kB / 0.5391 GB, free: 1.594 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5042, allocations: 0 / 0.5391 GB, free: 1.594 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003024/0.5045, allocations: 101.6 kB / 0.5392 GB, free: 1.496 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00047/0.505, allocations: 38.48 kB / 0.5392 GB, free: 1.461 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.506, allocations: 312.4 kB / 0.5395 GB, free: 1.109 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/0.5063, allocations: 0.7005 MB / 0.5402 GB, free: 392 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002607/0.5066, allocations: 52.75 kB / 0.5402 GB, free: 340 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.5068, allocations: 43.41 kB / 0.5403 GB, free: 296 kB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.5068, allocations: 4 kB / 0.5403 GB, free: 292 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02833/0.5351, allocations: 4.355 MB / 0.5445 GB, free: 11.89 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.028/8.563, allocations: 0 / 0.5445 GB, free: 11.89 MB / 430.1 MB " [Timeout remaining time 651] (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.00019992 Modelica_3_2_3_Modelica_Media_Examples_IdealGasH2O.fmu > Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "Error: Could not read variable smoothState.p in file Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O_res.csv. Warning: Get data of variable smoothState.p from file Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O_res.csv failed! Error: Could not read variable der_p in file Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O_res.csv. Warning: Get data of variable der_p from file Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O_res.csv failed! Error: Could not read variable der_T in file Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O_res.csv. Warning: Get data of variable der_T from file Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.983833817008417]