Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001549/0.001549, allocations: 113.9 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001691/0.001691, allocations: 209.8 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.427/1.427, allocations: 230.4 MB / 258.1 MB, free: 8.16 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Media.Examples.IdealGasH2O") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 67.83 kB / 378.7 MB, free: 2.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2105, allocations: 53.33 MB / 432 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3558/0.5663, allocations: 152.7 MB / 0.571 GB, free: 13.18 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002176/0.5685, allocations: 2.556 MB / 0.5735 GB, free: 13 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.553e-05/0.5686, allocations: 0 / 0.5735 GB, free: 13 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001428/0.5687, allocations: 30.62 kB / 0.5735 GB, free: 12.99 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008653/0.5696, allocations: 337.5 kB / 0.5739 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001817/0.5697, allocations: 63.97 kB / 0.5739 GB, free: 12.88 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.5699, allocations: 109.4 kB / 0.574 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.037e-05/0.5699, allocations: 2.625 kB / 0.574 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.56e-05/0.57, allocations: 41.95 kB / 0.5741 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.181e-05/0.5701, allocations: 41.14 kB / 0.5741 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.5701, allocations: 2.781 kB / 0.5741 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006628/0.5707, allocations: 372.2 kB / 0.5745 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.438e-05/0.5708, allocations: 10.58 kB / 0.5745 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.243e-05/0.5708, allocations: 40.92 kB / 0.5745 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004571/0.5713, allocations: 318.4 kB / 0.5748 GB, free: 12.79 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.5713, allocations: 0 / 0.5748 GB, free: 12.79 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.5713, allocations: 8.203 kB / 0.5748 GB, free: 12.79 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.267e-06/0.5713, allocations: 0 / 0.5748 GB, free: 12.79 MB / 462.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.0009698/0.5722, allocations: 462.2 kB / 0.5753 GB, free: 12.39 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.5723, allocations: 6.906 kB / 0.5753 GB, free: 12.39 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006845/0.5791, allocations: 466.2 kB / 0.5757 GB, free: 12.38 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.5793, allocations: 181.5 kB / 0.5759 GB, free: 12.17 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.5793, allocations: 7.016 kB / 0.5759 GB, free: 12.17 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.888e-05/0.5794, allocations: 4.375 kB / 0.5759 GB, free: 12.17 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007445/0.5801, allocations: 301.1 kB / 0.5762 GB, free: 12.13 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.5801, allocations: 2.812 kB / 0.5762 GB, free: 12.13 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.377e-05/0.5802, allocations: 4.859 kB / 0.5762 GB, free: 12.13 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.5802, allocations: 7 kB / 0.5762 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007739/0.581, allocations: 273 kB / 0.5765 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002885/0.5812, allocations: 248.8 kB / 0.5767 GB, free: 11.91 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003903/0.5816, allocations: 155.5 kB / 0.5768 GB, free: 11.88 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/0.5818, allocations: 80.41 kB / 0.5769 GB, free: 11.87 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.5819, allocations: 5.156 kB / 0.5769 GB, free: 11.87 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.5819, allocations: 34.25 kB / 0.577 GB, free: 11.83 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 1.493e-06/0.5819, allocations: 4 kB / 0.577 GB, free: 11.83 MB / 462.1 MB Notification: Performance of matching and sorting (n=24): time 0.002139/0.584, allocations: 0.5802 MB / 0.5775 GB, free: 11.76 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.5841, allocations: 58.16 kB / 0.5776 GB, free: 11.69 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.912e-05/0.5842, allocations: 109.1 kB / 0.5777 GB, free: 11.59 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.681e-05/0.5842, allocations: 29.39 kB / 0.5777 GB, free: 11.56 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.58e-05/0.5843, allocations: 86.39 kB / 0.5778 GB, free: 11.48 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.567e-05/0.5843, allocations: 87.72 kB / 0.5779 GB, free: 11.43 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.687e-05/0.5844, allocations: 45.94 kB / 0.5779 GB, free: 11.41 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.5846, allocations: 322.4 kB / 0.5782 GB, free: 11.09 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002996/0.5849, allocations: 99.02 kB / 0.5783 GB, free: 11.09 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002844/0.5852, allocations: 108.8 kB / 0.5784 GB, free: 11.09 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005851/0.5857, allocations: 225.6 kB / 0.5786 GB, free: 11.07 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5857, allocations: 2.578 kB / 0.5786 GB, free: 11.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007026/0.5864, allocations: 286.3 kB / 0.5789 GB, free: 11.03 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.5865, allocations: 8.906 kB / 0.5789 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.5865, allocations: 0 / 0.5789 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.5865, allocations: 0 / 0.5789 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004594/0.5869, allocations: 61.78 kB / 0.579 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.587, allocations: 3.938 kB / 0.579 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002948/0.5872, allocations: 9.906 kB / 0.579 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.35e-05/0.5873, allocations: 13.45 kB / 0.579 GB, free: 11.02 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.0001239/0.5874, allocations: 127.7 kB / 0.5791 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.35e-05/0.5874, allocations: 12.61 kB / 0.5791 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009011/0.5883, allocations: 348.3 kB / 0.5795 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.5884, allocations: 7.469 kB / 0.5795 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.5884, allocations: 3.938 kB / 0.5795 GB, free: 10.83 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.928e-05/0.5884, allocations: 87.8 kB / 0.5796 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.288e-05/0.5885, allocations: 7.188 kB / 0.5796 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003061/0.5888, allocations: 17.88 kB / 0.5796 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.018e-05/0.5888, allocations: 13.94 kB / 0.5796 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001024/0.5898, allocations: 398.3 kB / 0.58 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007968/0.5906, allocations: 471.8 kB / 0.5804 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003006/0.5909, allocations: 122.3 kB / 0.5806 GB, free: 10.39 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.602e-05/0.591, allocations: 91.22 kB / 0.5806 GB, free: 10.31 MB / 462.1 MB Notification: Performance of Backend: time 2.9e-07/0.591, allocations: 1.203 kB / 0.5806 GB, free: 10.31 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001012/0.592, allocations: 342.5 kB / 0.581 GB, free: 10.22 MB / 462.1 MB Notification: Performance of SimCode: time 0.000686/0.5927, allocations: 0.6832 MB / 0.5816 GB, free: 9.594 MB / 462.1 MB Notification: Performance of Templates: time 0.009897/0.6026, allocations: 6.084 MB / 0.5876 GB, free: 6.844 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.885083252098411]