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.001888/0.001888, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001961/0.001961, allocations: 210.7 kB / 24.48 MB, free: 3.977 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.445/1.445, allocations: 230.6 MB / 258.2 MB, free: 7.805 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: translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O") translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 51.91 kB / 378.9 MB, free: 2.609 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2085, allocations: 53.37 MB / 432.3 MB, free: 6.773 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3532/0.5617, allocations: 131.3 MB / 0.5504 GB, free: 1.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.5636, allocations: 2.252 MB / 0.5526 GB, free: 1.246 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.705e-05/0.5636, allocations: 2.219 kB / 0.5526 GB, free: 1.246 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001367/0.5638, allocations: 29.33 kB / 0.5526 GB, free: 1.246 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000703/0.5645, allocations: 337.1 kB / 0.5529 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001515/0.5646, allocations: 60.94 kB / 0.553 GB, free: 1.238 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.451e-05/0.5647, allocations: 105.5 kB / 0.5531 GB, free: 1.238 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.668e-05/0.5648, allocations: 12.25 kB / 0.5531 GB, free: 1.234 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.702e-05/0.5649, allocations: 46.28 kB / 0.5531 GB, free: 1.234 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.274e-05/0.5649, allocations: 35.89 kB / 0.5532 GB, free: 1.234 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.5649, allocations: 2.656 kB / 0.5532 GB, free: 1.234 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005256/0.5655, allocations: 360.9 kB / 0.5535 GB, free: 1.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.431e-05/0.5655, allocations: 9.906 kB / 0.5535 GB, free: 1.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.349e-05/0.5655, allocations: 37.3 kB / 0.5536 GB, free: 1.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003889/0.5659, allocations: 316.5 kB / 0.5539 GB, free: 1.215 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.5659, allocations: 0 / 0.5539 GB, free: 1.215 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.5659, allocations: 3.656 kB / 0.5539 GB, free: 1.215 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.5659, allocations: 1 kB / 0.5539 GB, free: 1.215 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.0009469/0.5669, allocations: 387.2 kB / 0.5543 GB, free: 16.91 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.807e-05/0.5669, allocations: 9.5 kB / 0.5543 GB, free: 16.91 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006651/0.5735, allocations: 470.4 kB / 0.5547 GB, free: 16.91 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.5736, allocations: 121.1 kB / 0.5548 GB, free: 16.77 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.5737, allocations: 7.156 kB / 0.5548 GB, free: 16.77 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.74e-05/0.5737, allocations: 5.531 kB / 0.5548 GB, free: 16.77 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007223/0.5745, allocations: 299.4 kB / 0.5551 GB, free: 16.74 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.5745, allocations: 0 / 0.5551 GB, free: 16.74 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.994e-05/0.5745, allocations: 3 kB / 0.5551 GB, free: 16.74 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.5745, allocations: 3.719 kB / 0.5551 GB, free: 16.74 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007669/0.5753, allocations: 273.7 kB / 0.5554 GB, free: 16.74 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002102/0.5755, allocations: 179.1 kB / 0.5556 GB, free: 16.59 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003731/0.5759, allocations: 149.3 kB / 0.5557 GB, free: 16.57 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002019/0.5761, allocations: 79.98 kB / 0.5558 GB, free: 16.56 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.5761, allocations: 7.781 kB / 0.5558 GB, free: 16.56 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.5761, allocations: 40.78 kB / 0.5558 GB, free: 16.52 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 1.322e-06/0.5761, allocations: 1.062 kB / 0.5558 GB, free: 16.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=24): time 0.002209/0.5783, allocations: 0.5711 MB / 0.5564 GB, free: 16.46 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.5784, allocations: 54.75 kB / 0.5564 GB, free: 16.4 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.109e-05/0.5785, allocations: 111.4 kB / 0.5565 GB, free: 16.3 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.944e-05/0.5785, allocations: 33.11 kB / 0.5566 GB, free: 16.27 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.143e-05/0.5785, allocations: 86.14 kB / 0.5567 GB, free: 16.18 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.106e-05/0.5786, allocations: 86.55 kB / 0.5567 GB, free: 16.13 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.548e-05/0.5787, allocations: 50.34 kB / 0.5568 GB, free: 16.11 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.5788, allocations: 319.6 kB / 0.5571 GB, free: 15.8 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002915/0.5791, allocations: 100.8 kB / 0.5572 GB, free: 15.8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002737/0.5794, allocations: 102.8 kB / 0.5573 GB, free: 15.8 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005646/0.58, allocations: 226.6 kB / 0.5575 GB, free: 15.79 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.58, allocations: 3.594 kB / 0.5575 GB, free: 15.79 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006802/0.5806, allocations: 287.3 kB / 0.5578 GB, free: 15.75 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.5806, allocations: 3.25 kB / 0.5578 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.5807, allocations: 0 / 0.5578 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.5807, allocations: 2.781 kB / 0.5578 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004834/0.5811, allocations: 58.16 kB / 0.5578 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.5812, allocations: 5.953 kB / 0.5578 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003201/0.5815, allocations: 15.08 kB / 0.5579 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.63e-05/0.5815, allocations: 14.2 kB / 0.5579 GB, free: 15.74 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.0001167/0.5816, allocations: 120.1 kB / 0.558 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.724e-05/0.5817, allocations: 10.48 kB / 0.558 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008856/0.5825, allocations: 358.2 kB / 0.5583 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.5826, allocations: 3 kB / 0.5583 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.5826, allocations: 3.938 kB / 0.5583 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.5826, allocations: 3.953 kB / 0.5584 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001399/0.584, allocations: 0.6303 MB / 0.559 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.584, allocations: 0 / 0.559 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004529/0.5844, allocations: 60.97 kB / 0.559 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.5844, allocations: 7.406 kB / 0.559 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.879e-05/0.5845, allocations: 12.78 kB / 0.559 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.5845, allocations: 7.172 kB / 0.5591 GB, free: 15.28 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.5845, allocations: 4.375 kB / 0.5591 GB, free: 15.28 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007558/0.5852, allocations: 405.1 kB / 0.5594 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.51e-05/0.5852, allocations: 18.72 kB / 0.5595 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.287e-05/0.5853, allocations: 5.594 kB / 0.5595 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003527/0.5856, allocations: 18.77 kB / 0.5595 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.496e-05/0.5857, allocations: 20.42 kB / 0.5595 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.888e-05/0.5857, allocations: 9.031 kB / 0.5595 GB, free: 15.09 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.91e-05/0.5857, allocations: 93.58 kB / 0.5596 GB, free: 15.02 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5857, allocations: 0 / 0.5596 GB, free: 15.02 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003384/0.5861, allocations: 58.81 kB / 0.5597 GB, free: 15.02 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.0001987/0.5863, allocations: 127.8 kB / 0.5598 GB, free: 14.92 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006613/0.5869, allocations: 245.4 kB / 0.56 GB, free: 14.92 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.5869, allocations: 0.875 kB / 0.56 GB, free: 14.92 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003136/0.5872, allocations: 131.3 kB / 0.5601 GB, free: 14.92 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000514/0.5878, allocations: 59.69 kB / 0.5602 GB, free: 14.91 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008165/0.5886, allocations: 347.8 kB / 0.5605 GB, free: 14.71 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.907e-05/0.5886, allocations: 92.14 kB / 0.5606 GB, free: 14.64 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002908/0.5889, allocations: 56.03 kB / 0.5607 GB, free: 14.63 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001888/0.5891, allocations: 41.28 kB / 0.5607 GB, free: 14.62 MB / 462.1 MB Notification: Performance of SimCode: time 3.51e-07/0.5891, allocations: 0 / 0.5607 GB, free: 14.62 MB / 462.1 MB Notification: Performance of Templates: time 0.006933/0.5961, allocations: 4.589 MB / 0.5652 GB, free: 14.19 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O_res.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.77601095099817]