Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001717/0.001717, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002078/0.002078, allocations: 209.3 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.443/1.443, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 51.91 kB / 377.7 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2462, allocations: 53.37 MB / 431.1 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.388/0.6342, allocations: 131.3 MB / 0.5492 GB, free: 1.277 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002004/0.6362, allocations: 2.26 MB / 0.5514 GB, free: 1.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.008e-05/0.6363, allocations: 1.375 kB / 0.5514 GB, free: 1.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001378/0.6364, allocations: 16.78 kB / 0.5514 GB, free: 1.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007763/0.6372, allocations: 338.7 kB / 0.5517 GB, free: 1.266 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001598/0.6373, allocations: 67.03 kB / 0.5518 GB, free: 1.262 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000104/0.6374, allocations: 107.7 kB / 0.5519 GB, free: 1.262 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.799e-05/0.6375, allocations: 6.344 kB / 0.5519 GB, free: 1.262 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.354e-05/0.6376, allocations: 42.27 kB / 0.5519 GB, free: 1.262 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.522e-05/0.6376, allocations: 39.41 kB / 0.552 GB, free: 1.262 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.6377, allocations: 3.406 kB / 0.552 GB, free: 1.262 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005313/0.6382, allocations: 360.9 kB / 0.5523 GB, free: 1.258 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.454e-05/0.6382, allocations: 10.31 kB / 0.5523 GB, free: 1.258 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.919e-05/0.6382, allocations: 40.5 kB / 0.5524 GB, free: 1.258 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003771/0.6386, allocations: 314.6 kB / 0.5527 GB, free: 1.238 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.6386, allocations: 0 / 0.5527 GB, free: 1.238 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.6386, allocations: 1.203 kB / 0.5527 GB, free: 1.238 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.6386, allocations: 0.8125 kB / 0.5527 GB, free: 1.238 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.0008811/0.6395, allocations: 388.6 kB / 0.553 GB, free: 16.94 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.6395, allocations: 10.72 kB / 0.553 GB, free: 16.94 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.705e-05/0.6396, allocations: 40.66 kB / 0.5531 GB, free: 16.9 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005895/0.6455, allocations: 469.4 kB / 0.5535 GB, free: 16.89 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.6456, allocations: 116.1 kB / 0.5536 GB, free: 16.75 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.6456, allocations: 4.922 kB / 0.5536 GB, free: 16.75 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.622e-05/0.6457, allocations: 9.312 kB / 0.5537 GB, free: 16.75 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006818/0.6464, allocations: 302.4 kB / 0.5539 GB, free: 16.72 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.6464, allocations: 0 / 0.5539 GB, free: 16.72 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.109e-05/0.6464, allocations: 2.766 kB / 0.5539 GB, free: 16.72 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.6464, allocations: 3.812 kB / 0.554 GB, free: 16.72 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007248/0.6471, allocations: 272.2 kB / 0.5542 GB, free: 16.72 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002293/0.6474, allocations: 205.4 kB / 0.5544 GB, free: 16.54 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003568/0.6477, allocations: 153.4 kB / 0.5546 GB, free: 16.52 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001883/0.6479, allocations: 80 kB / 0.5546 GB, free: 16.51 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.6479, allocations: 4.656 kB / 0.5546 GB, free: 16.51 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.648, allocations: 33.56 kB / 0.5547 GB, free: 16.47 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 1.423e-06/0.648, allocations: 2.188 kB / 0.5547 GB, free: 16.47 MB / 462.1 MB Notification: Performance of matching and sorting (n=24): time 0.001937/0.6499, allocations: 0.5813 MB / 0.5552 GB, free: 16.41 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.65, allocations: 57.89 kB / 0.5553 GB, free: 16.35 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.995e-05/0.65, allocations: 107.5 kB / 0.5554 GB, free: 16.25 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.6501, allocations: 29.14 kB / 0.5554 GB, free: 16.22 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.512e-05/0.6501, allocations: 93.02 kB / 0.5555 GB, free: 16.14 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.976e-05/0.6502, allocations: 79.8 kB / 0.5556 GB, free: 16.08 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.186e-05/0.6503, allocations: 42.78 kB / 0.5556 GB, free: 16.07 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.6504, allocations: 326.3 kB / 0.5559 GB, free: 15.75 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002818/0.6507, allocations: 99.61 kB / 0.556 GB, free: 15.75 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002623/0.6509, allocations: 102.5 kB / 0.5561 GB, free: 15.75 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005428/0.6515, allocations: 229.2 kB / 0.5564 GB, free: 15.74 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.6515, allocations: 3.25 kB / 0.5564 GB, free: 15.74 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00065/0.6521, allocations: 287.5 kB / 0.5566 GB, free: 15.7 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.6521, allocations: 2.375 kB / 0.5566 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.6521, allocations: 3.75 kB / 0.5566 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.6522, allocations: 3.938 kB / 0.5566 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004112/0.6526, allocations: 58.84 kB / 0.5567 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.6526, allocations: 0 / 0.5567 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002544/0.6528, allocations: 18.28 kB / 0.5567 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-05/0.6529, allocations: 15.75 kB / 0.5567 GB, free: 15.69 MB / 462.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.0001254/0.653, allocations: 118.3 kB / 0.5568 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.348e-05/0.653, allocations: 12.17 kB / 0.5569 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008452/0.6539, allocations: 356.8 kB / 0.5572 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.6539, allocations: 8.031 kB / 0.5572 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.6539, allocations: 0 / 0.5572 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.6539, allocations: 3 kB / 0.5572 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001366/0.6552, allocations: 0.6618 MB / 0.5578 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.6553, allocations: 3.969 kB / 0.5579 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003784/0.6556, allocations: 60.92 kB / 0.5579 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.6556, allocations: 3.156 kB / 0.5579 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.633e-05/0.6557, allocations: 15.41 kB / 0.5579 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.6557, allocations: 4.094 kB / 0.5579 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.6557, allocations: 3.094 kB / 0.5579 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006956/0.6564, allocations: 413.7 kB / 0.5583 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.517e-05/0.6564, allocations: 12.89 kB / 0.5583 GB, free: 15.01 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.816e-05/0.6564, allocations: 7.219 kB / 0.5583 GB, free: 15.01 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002994/0.6567, allocations: 15.47 kB / 0.5584 GB, free: 15.01 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.6568, allocations: 21.67 kB / 0.5584 GB, free: 15.01 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.686e-05/0.6568, allocations: 18.16 kB / 0.5584 GB, free: 15.01 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.714e-05/0.6568, allocations: 88.2 kB / 0.5585 GB, free: 14.93 MB / 462.1 MB Notification: Performance of sort global known variables: time 6e-08/0.6568, allocations: 0 / 0.5585 GB, free: 14.93 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003334/0.6572, allocations: 54.44 kB / 0.5585 GB, free: 14.93 MB / 462.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.001129/0.6583, allocations: 0.9619 MB / 0.5595 GB, free: 14.22 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006466/0.6589, allocations: 245.8 kB / 0.5597 GB, free: 14.21 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.6589, allocations: 3.312 kB / 0.5597 GB, free: 14.21 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003087/0.6593, allocations: 129 kB / 0.5598 GB, free: 14.21 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005275/0.6598, allocations: 59.94 kB / 0.5599 GB, free: 14.21 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003132/0.6629, allocations: 2.113 MB / 0.562 GB, free: 12.92 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.444e-05/0.663, allocations: 88.7 kB / 0.562 GB, free: 12.84 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002805/0.6633, allocations: 63.52 kB / 0.5621 GB, free: 12.82 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/0.6634, allocations: 53.17 kB / 0.5622 GB, free: 12.81 MB / 462.1 MB Notification: Performance of SimCode: time 6.11e-07/0.6634, allocations: 0 / 0.5622 GB, free: 12.81 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03226/0.6957, allocations: 6.654 MB / 0.5687 GB, free: 11.59 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.66, allocations: 11.06 kB / 0.5687 GB, free: 11.59 MB / 462.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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.00019992 Modelica_4_1_0_Modelica_Media_Examples_IdealGasH2O.fmu > Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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_4.1.0_Modelica.Media.Examples.IdealGasH2O_res.csv. Warning: Get data of variable smoothState.p from file Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O_res.csv failed! Error: Could not read variable der_p in file Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O_res.csv. Warning: Get data of variable der_p from file Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O_res.csv failed! Error: Could not read variable der_T in file Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O_res.csv. Warning: Get data of variable der_T from file Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.156883751013083]