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.001863/0.001863, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002337/0.002337, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.45/1.45, allocations: 230.6 MB / 258.3 MB, free: 8.043 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.00203/0.00203, allocations: 63.88 kB / 379 MB, free: 2.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2459, allocations: 53.37 MB / 432.4 MB, free: 6.984 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.4003/0.6462, allocations: 152.7 MB / 0.5714 GB, free: 13.17 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002059/0.6482, allocations: 2.566 MB / 0.5739 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.179e-05/0.6483, allocations: 0 / 0.5739 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001422/0.6484, allocations: 25.45 kB / 0.5739 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000786/0.6492, allocations: 339.9 kB / 0.5742 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001597/0.6494, allocations: 64.08 kB / 0.5743 GB, free: 12.87 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.6495, allocations: 107.9 kB / 0.5744 GB, free: 12.83 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.22e-05/0.6495, allocations: 2.562 kB / 0.5744 GB, free: 12.83 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.6496, allocations: 47.77 kB / 0.5744 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.356e-05/0.6497, allocations: 41.12 kB / 0.5745 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.6497, allocations: 2.625 kB / 0.5745 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00063/0.6503, allocations: 368.1 kB / 0.5748 GB, free: 12.8 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.517e-05/0.6504, allocations: 14.25 kB / 0.5748 GB, free: 12.8 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.182e-05/0.6504, allocations: 36.89 kB / 0.5749 GB, free: 12.8 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004045/0.6508, allocations: 314.5 kB / 0.5752 GB, free: 12.79 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.6508, allocations: 0 / 0.5752 GB, free: 12.79 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.6508, allocations: 4 kB / 0.5752 GB, free: 12.78 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.6508, allocations: 3 kB / 0.5752 GB, free: 12.78 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.0008723/0.6517, allocations: 392.6 kB / 0.5755 GB, free: 12.48 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.6517, allocations: 10.69 kB / 0.5755 GB, free: 12.48 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005804/0.6575, allocations: 465.8 kB / 0.576 GB, free: 12.46 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.6577, allocations: 118.4 kB / 0.5761 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.6577, allocations: 7.781 kB / 0.5761 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.045e-05/0.6577, allocations: 4.875 kB / 0.5761 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006888/0.6584, allocations: 298.7 kB / 0.5764 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.6584, allocations: 0 / 0.5764 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.186e-05/0.6585, allocations: 0 / 0.5764 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.6585, allocations: 7.156 kB / 0.5764 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007421/0.6592, allocations: 277.5 kB / 0.5767 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002935/0.6595, allocations: 225 kB / 0.5769 GB, free: 12.11 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003812/0.6599, allocations: 151.1 kB / 0.577 GB, free: 12.08 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002029/0.6601, allocations: 81.56 kB / 0.5771 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.935e-05/0.6601, allocations: 8 kB / 0.5771 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.6602, allocations: 34.19 kB / 0.5772 GB, free: 12.03 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 1.162e-06/0.6602, allocations: 8.047 kB / 0.5772 GB, free: 12.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=24): time 0.002016/0.6622, allocations: 0.5744 MB / 0.5777 GB, free: 11.96 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.6622, allocations: 57.97 kB / 0.5778 GB, free: 11.89 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.671e-05/0.6623, allocations: 105.3 kB / 0.5779 GB, free: 11.79 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.301e-05/0.6624, allocations: 30.92 kB / 0.5779 GB, free: 11.76 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.403e-05/0.6624, allocations: 89.25 kB / 0.578 GB, free: 11.68 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.725e-05/0.6625, allocations: 82.59 kB / 0.5781 GB, free: 11.62 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.386e-05/0.6626, allocations: 48.5 kB / 0.5781 GB, free: 11.61 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.6627, allocations: 322.7 kB / 0.5784 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002772/0.663, allocations: 97.33 kB / 0.5785 GB, free: 11.29 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002545/0.6632, allocations: 101.3 kB / 0.5786 GB, free: 11.29 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005352/0.6638, allocations: 236.4 kB / 0.5788 GB, free: 11.27 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.6638, allocations: 0 / 0.5788 GB, free: 11.27 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006412/0.6644, allocations: 285.9 kB / 0.5791 GB, free: 11.23 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.6644, allocations: 5.219 kB / 0.5791 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.6644, allocations: 3.938 kB / 0.5791 GB, free: 11.22 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.6645, allocations: 0 / 0.5791 GB, free: 11.22 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004382/0.6649, allocations: 62.69 kB / 0.5792 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.6649, allocations: 2.25 kB / 0.5792 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002706/0.6652, allocations: 17.25 kB / 0.5792 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.243e-05/0.6652, allocations: 11.59 kB / 0.5792 GB, free: 11.21 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.0001235/0.6653, allocations: 123.7 kB / 0.5793 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.6654, allocations: 9.141 kB / 0.5793 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008578/0.6662, allocations: 359.6 kB / 0.5797 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.6662, allocations: 9.094 kB / 0.5797 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.6662, allocations: 0 / 0.5797 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.6662, allocations: 0 / 0.5797 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00144/0.6677, allocations: 0.692 MB / 0.5804 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.6677, allocations: 6.781 kB / 0.5804 GB, free: 10.69 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004065/0.6681, allocations: 58.55 kB / 0.5804 GB, free: 10.69 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.6681, allocations: 2.562 kB / 0.5804 GB, free: 10.69 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.706e-05/0.6681, allocations: 13.61 kB / 0.5804 GB, free: 10.69 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.6681, allocations: 3.344 kB / 0.5804 GB, free: 10.69 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.6681, allocations: 0 / 0.5804 GB, free: 10.69 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007131/0.6688, allocations: 408.8 kB / 0.5808 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.204e-05/0.6689, allocations: 14.23 kB / 0.5808 GB, free: 10.49 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.819e-05/0.6689, allocations: 10.62 kB / 0.5809 GB, free: 10.49 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003175/0.6692, allocations: 18.16 kB / 0.5809 GB, free: 10.49 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.6692, allocations: 19.92 kB / 0.5809 GB, free: 10.49 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.014e-05/0.6693, allocations: 16.92 kB / 0.5809 GB, free: 10.48 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.621e-05/0.6693, allocations: 89.69 kB / 0.581 GB, free: 10.41 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6693, allocations: 0 / 0.581 GB, free: 10.41 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003524/0.6697, allocations: 58.75 kB / 0.5811 GB, free: 10.4 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.000207/0.6699, allocations: 130.7 kB / 0.5812 GB, free: 10.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006428/0.6705, allocations: 241.1 kB / 0.5814 GB, free: 10.29 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.6705, allocations: 0 / 0.5814 GB, free: 10.29 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003086/0.6708, allocations: 125.9 kB / 0.5815 GB, free: 10.29 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004933/0.6713, allocations: 56.92 kB / 0.5816 GB, free: 10.27 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008561/0.6722, allocations: 351 kB / 0.5819 GB, free: 10.06 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.6725, allocations: 0.7092 MB / 0.5826 GB, free: 9.363 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002937/0.6728, allocations: 60.83 kB / 0.5827 GB, free: 9.328 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/0.673, allocations: 42.45 kB / 0.5827 GB, free: 9.316 MB / 462.1 MB Notification: Performance of SimCode: time 3.51e-07/0.673, allocations: 1.203 kB / 0.5827 GB, free: 9.316 MB / 462.1 MB Notification: Performance of Templates: time 0.007815/0.6808, allocations: 4.3 MB / 0.5869 GB, free: 7.375 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.941630082204938]