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.001924/0.001924, allocations: 119.5 kB / 21.17 MB, free: 0.7305 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.002445/0.002445, allocations: 210.9 kB / 24.47 MB, free: 4.191 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.382/1.382, allocations: 230.5 MB / 258.1 MB, free: 8.129 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.001871/0.001871, allocations: 71.81 kB / 378.7 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2608, allocations: 53.31 MB / 432 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.4018/0.6626, allocations: 152.7 MB / 0.571 GB, free: 13.16 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002436/0.665, allocations: 2.565 MB / 0.5735 GB, free: 12.97 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.052e-05/0.6651, allocations: 0 / 0.5735 GB, free: 12.97 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001682/0.6653, allocations: 32.83 kB / 0.5735 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001044/0.6663, allocations: 337.8 kB / 0.5739 GB, free: 12.87 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002068/0.6665, allocations: 61.78 kB / 0.5739 GB, free: 12.85 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001311/0.6666, allocations: 105.2 kB / 0.574 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.55e-05/0.6667, allocations: 4.5 kB / 0.574 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.6668, allocations: 37.14 kB / 0.5741 GB, free: 12.81 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.41e-05/0.6669, allocations: 41.44 kB / 0.5741 GB, free: 12.81 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.6669, allocations: 2.531 kB / 0.5741 GB, free: 12.81 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000757/0.6676, allocations: 375 kB / 0.5745 GB, free: 12.79 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.1e-05/0.6677, allocations: 15.14 kB / 0.5745 GB, free: 12.79 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.459e-05/0.6677, allocations: 36.36 kB / 0.5745 GB, free: 12.79 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005499/0.6683, allocations: 315.2 kB / 0.5748 GB, free: 12.76 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.6683, allocations: 2.578 kB / 0.5748 GB, free: 12.76 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.6683, allocations: 0 / 0.5748 GB, free: 12.76 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.6683, allocations: 0 / 0.5748 GB, free: 12.76 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.0009942/0.6693, allocations: 469.2 kB / 0.5753 GB, free: 12.36 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.6693, allocations: 12.47 kB / 0.5753 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00639/0.6757, allocations: 460.5 kB / 0.5757 GB, free: 12.35 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.6759, allocations: 185 kB / 0.5759 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.6759, allocations: 6.844 kB / 0.5759 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-05/0.676, allocations: 8 kB / 0.5759 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007339/0.6767, allocations: 300.7 kB / 0.5762 GB, free: 12.1 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.6767, allocations: 0 / 0.5762 GB, free: 12.1 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.582e-05/0.6768, allocations: 1.094 kB / 0.5762 GB, free: 12.1 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.6768, allocations: 3.281 kB / 0.5762 GB, free: 12.1 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007475/0.6775, allocations: 279.5 kB / 0.5765 GB, free: 12.1 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002946/0.6778, allocations: 247.9 kB / 0.5767 GB, free: 11.88 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003773/0.6782, allocations: 148.2 kB / 0.5768 GB, free: 11.86 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001961/0.6784, allocations: 82.02 kB / 0.5769 GB, free: 11.85 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.953e-05/0.6784, allocations: 6.906 kB / 0.5769 GB, free: 11.85 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.6785, allocations: 33.88 kB / 0.5769 GB, free: 11.81 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 1.403e-06/0.6785, allocations: 3 kB / 0.577 GB, free: 11.81 MB / 462.1 MB Notification: Performance of matching and sorting (n=24): time 0.002061/0.6805, allocations: 0.5854 MB / 0.5775 GB, free: 11.73 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.6806, allocations: 58.06 kB / 0.5776 GB, free: 11.67 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.973e-05/0.6807, allocations: 111.9 kB / 0.5777 GB, free: 11.57 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.477e-05/0.6807, allocations: 28.95 kB / 0.5777 GB, free: 11.54 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.74e-05/0.6807, allocations: 84.2 kB / 0.5778 GB, free: 11.45 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.904e-05/0.6808, allocations: 85.33 kB / 0.5779 GB, free: 11.4 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.638e-05/0.6809, allocations: 45.48 kB / 0.5779 GB, free: 11.38 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.6811, allocations: 322.4 kB / 0.5782 GB, free: 11.07 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000283/0.6814, allocations: 100.9 kB / 0.5783 GB, free: 11.07 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002685/0.6816, allocations: 105.3 kB / 0.5784 GB, free: 11.07 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005599/0.6822, allocations: 220.7 kB / 0.5786 GB, free: 11.05 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.6822, allocations: 4.875 kB / 0.5786 GB, free: 11.05 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006873/0.6829, allocations: 289.8 kB / 0.5789 GB, free: 11 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.6829, allocations: 5.062 kB / 0.5789 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.6829, allocations: 0 / 0.5789 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.6829, allocations: 1.094 kB / 0.5789 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004374/0.6834, allocations: 63.12 kB / 0.579 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.6834, allocations: 6.375 kB / 0.579 GB, free: 10.99 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002727/0.6836, allocations: 15.36 kB / 0.579 GB, free: 10.99 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.409e-05/0.6837, allocations: 9.125 kB / 0.579 GB, free: 10.99 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.0001231/0.6838, allocations: 123.5 kB / 0.5791 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.779e-05/0.6838, allocations: 9.078 kB / 0.5791 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008718/0.6847, allocations: 354.7 kB / 0.5795 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.6847, allocations: 8.594 kB / 0.5795 GB, free: 10.81 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.6847, allocations: 2.578 kB / 0.5795 GB, free: 10.81 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.6847, allocations: 1.203 kB / 0.5795 GB, free: 10.81 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001489/0.6862, allocations: 0.722 MB / 0.5802 GB, free: 10.44 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.6862, allocations: 0 / 0.5802 GB, free: 10.44 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003921/0.6866, allocations: 58.28 kB / 0.5802 GB, free: 10.44 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.6866, allocations: 7.578 kB / 0.5803 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.723e-05/0.6866, allocations: 12.05 kB / 0.5803 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.6866, allocations: 11.16 kB / 0.5803 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.6866, allocations: 3.984 kB / 0.5803 GB, free: 10.42 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007667/0.6874, allocations: 411.6 kB / 0.5807 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.631e-05/0.6875, allocations: 92.2 kB / 0.5808 GB, free: 10.13 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.109e-05/0.6875, allocations: 6.031 kB / 0.5808 GB, free: 10.13 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003099/0.6878, allocations: 15.8 kB / 0.5808 GB, free: 10.13 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.805e-05/0.6879, allocations: 25.86 kB / 0.5808 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.943e-05/0.6879, allocations: 16.56 kB / 0.5808 GB, free: 10.12 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.41e-05/0.688, allocations: 90.7 kB / 0.5809 GB, free: 10.05 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.688, allocations: 1.203 kB / 0.5809 GB, free: 10.05 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003585/0.6883, allocations: 56.06 kB / 0.581 GB, free: 10.04 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.0002286/0.6886, allocations: 133.6 kB / 0.5811 GB, free: 9.945 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006646/0.6892, allocations: 237.1 kB / 0.5813 GB, free: 9.938 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.6892, allocations: 4 kB / 0.5813 GB, free: 9.934 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003121/0.6895, allocations: 124 kB / 0.5814 GB, free: 9.926 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005132/0.69, allocations: 57.25 kB / 0.5815 GB, free: 9.918 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009082/0.691, allocations: 377.3 kB / 0.5819 GB, free: 9.68 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.6913, allocations: 0.7062 MB / 0.5825 GB, free: 8.984 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000192/0.6915, allocations: 38.64 kB / 0.5826 GB, free: 8.973 MB / 462.1 MB Notification: Performance of SimCode: time 5.21e-07/0.6915, allocations: 0 / 0.5826 GB, free: 8.973 MB / 462.1 MB Notification: Performance of Templates: time 0.005135/0.6966, allocations: 2.922 MB / 0.5854 GB, free: 7.719 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: 7.245266783051193]