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.001835/0.001835, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.001985/0.001985, allocations: 204.1 kB / 24.46 MB, free: 4.023 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.52/1.52, allocations: 230.4 MB / 258.1 MB, free: 8.141 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.002247/0.002247, allocations: 63.91 kB / 378.7 MB, free: 2.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2916, allocations: 53.31 MB / 432 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.4657/0.7573, allocations: 152.7 MB / 0.571 GB, free: 13.2 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002261/0.7595, allocations: 2.562 MB / 0.5735 GB, free: 13 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.615e-05/0.7596, allocations: 0 / 0.5735 GB, free: 13 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001532/0.7598, allocations: 25.22 kB / 0.5735 GB, free: 13 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009461/0.7607, allocations: 335.3 kB / 0.5738 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001828/0.7609, allocations: 64.31 kB / 0.5739 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.761, allocations: 105.8 kB / 0.574 GB, free: 12.85 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.357e-05/0.761, allocations: 7.328 kB / 0.574 GB, free: 12.85 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.7612, allocations: 47.38 kB / 0.5741 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.57e-05/0.7612, allocations: 35.91 kB / 0.5741 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.7612, allocations: 3.906 kB / 0.5741 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006448/0.7619, allocations: 369.8 kB / 0.5744 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.568e-05/0.7619, allocations: 10.17 kB / 0.5745 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.651e-05/0.7619, allocations: 41.27 kB / 0.5745 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004589/0.7624, allocations: 316.4 kB / 0.5748 GB, free: 12.8 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.7624, allocations: 3.938 kB / 0.5748 GB, free: 12.8 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.7624, allocations: 4 kB / 0.5748 GB, free: 12.79 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.7624, allocations: 1.203 kB / 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.000952/0.7634, allocations: 463 kB / 0.5752 GB, free: 12.4 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.7634, allocations: 9.562 kB / 0.5753 GB, free: 12.4 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006628/0.77, allocations: 465.4 kB / 0.5757 GB, free: 12.38 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.7702, allocations: 183.5 kB / 0.5759 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.7702, allocations: 5.438 kB / 0.5759 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.406e-05/0.7703, allocations: 5.625 kB / 0.5759 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007427/0.7711, allocations: 298.9 kB / 0.5762 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.7711, allocations: 3.938 kB / 0.5762 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.151e-05/0.7711, allocations: 10.19 kB / 0.5762 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.7712, allocations: 3.984 kB / 0.5762 GB, free: 12.13 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007775/0.7719, allocations: 273.7 kB / 0.5765 GB, free: 12.13 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003355/0.7723, allocations: 245.1 kB / 0.5767 GB, free: 11.92 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004038/0.7727, allocations: 155 kB / 0.5768 GB, free: 11.89 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002091/0.7729, allocations: 79.97 kB / 0.5769 GB, free: 11.88 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.318e-05/0.7729, allocations: 5.359 kB / 0.5769 GB, free: 11.88 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.7729, allocations: 34.56 kB / 0.5769 GB, free: 11.84 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 1.844e-06/0.7729, allocations: 0 / 0.5769 GB, free: 11.84 MB / 462.1 MB Notification: Performance of matching and sorting (n=24): time 0.002157/0.7751, allocations: 0.5802 MB / 0.5775 GB, free: 11.77 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.7751, allocations: 57.75 kB / 0.5776 GB, free: 11.7 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.62e-05/0.7752, allocations: 110.1 kB / 0.5777 GB, free: 11.61 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.881e-05/0.7753, allocations: 31.83 kB / 0.5777 GB, free: 11.57 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.474e-05/0.7753, allocations: 80.58 kB / 0.5778 GB, free: 11.49 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.741e-05/0.7754, allocations: 88.14 kB / 0.5779 GB, free: 11.44 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.974e-05/0.7755, allocations: 48.64 kB / 0.5779 GB, free: 11.42 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.7757, allocations: 321 kB / 0.5782 GB, free: 11.11 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000287/0.776, allocations: 100.5 kB / 0.5783 GB, free: 11.11 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002733/0.7763, allocations: 107.3 kB / 0.5784 GB, free: 11.1 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005749/0.7768, allocations: 225.9 kB / 0.5786 GB, free: 11.09 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.7768, allocations: 0 / 0.5786 GB, free: 11.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007057/0.7775, allocations: 290 kB / 0.5789 GB, free: 11.04 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.7776, allocations: 9.016 kB / 0.5789 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.7776, allocations: 0 / 0.5789 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.7776, allocations: 2.281 kB / 0.5789 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004708/0.778, allocations: 60.41 kB / 0.579 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.7781, allocations: 0 / 0.579 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002773/0.7783, allocations: 19.8 kB / 0.579 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.571e-05/0.7784, allocations: 13.44 kB / 0.579 GB, free: 11.03 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.0001252/0.7785, allocations: 125.5 kB / 0.5791 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.833e-05/0.7785, allocations: 8.547 kB / 0.5791 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008645/0.7794, allocations: 351.3 kB / 0.5795 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.7794, allocations: 11.58 kB / 0.5795 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.7794, allocations: 1.094 kB / 0.5795 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.7794, allocations: 0 / 0.5795 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001484/0.7809, allocations: 0.7176 MB / 0.5802 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.7809, allocations: 8.359 kB / 0.5802 GB, free: 10.47 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004099/0.7813, allocations: 55.66 kB / 0.5802 GB, free: 10.47 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.7813, allocations: 6.938 kB / 0.5803 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.718e-05/0.7813, allocations: 10.17 kB / 0.5803 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.7814, allocations: 3.031 kB / 0.5803 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.7814, allocations: 2.344 kB / 0.5803 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007972/0.7822, allocations: 417.5 kB / 0.5807 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.884e-05/0.7822, allocations: 91.92 kB / 0.5808 GB, free: 10.17 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.127e-05/0.7823, allocations: 8.562 kB / 0.5808 GB, free: 10.17 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003197/0.7826, allocations: 15.59 kB / 0.5808 GB, free: 10.17 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.163e-05/0.7826, allocations: 20.73 kB / 0.5808 GB, free: 10.17 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.068e-05/0.7826, allocations: 14.56 kB / 0.5808 GB, free: 10.16 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.56e-05/0.7827, allocations: 88.53 kB / 0.5809 GB, free: 10.09 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7827, allocations: 0 / 0.5809 GB, free: 10.09 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003579/0.7831, allocations: 60.66 kB / 0.581 GB, free: 10.08 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.0002432/0.7833, allocations: 131.3 kB / 0.5811 GB, free: 9.988 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006893/0.784, allocations: 240.6 kB / 0.5813 GB, free: 9.977 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.784, allocations: 0 / 0.5813 GB, free: 9.977 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003231/0.7843, allocations: 130.6 kB / 0.5814 GB, free: 9.969 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000547/0.7849, allocations: 62.16 kB / 0.5815 GB, free: 9.957 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009126/0.7858, allocations: 351.5 kB / 0.5818 GB, free: 9.746 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.7861, allocations: 0.7067 MB / 0.5825 GB, free: 9.047 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000273/0.7864, allocations: 59 kB / 0.5826 GB, free: 9.016 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.7865, allocations: 39.73 kB / 0.5826 GB, free: 9.004 MB / 462.1 MB Notification: Performance of SimCode: time 3.91e-07/0.7865, allocations: 2.469 kB / 0.5826 GB, free: 9.004 MB / 462.1 MB Notification: Performance of Templates: time 0.008123/0.7947, allocations: 4.242 MB / 0.5868 GB, free: 7.133 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 -s cvode -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: 5.325863274745643]