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.001552/0.001552, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001736/0.001736, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.379/1.379, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.001527/0.001527, allocations: 51.92 kB / 379 MB, free: 2.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2439, allocations: 53.36 MB / 432.4 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3923/0.6362, allocations: 152.7 MB / 0.5713 GB, free: 13.15 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002023/0.6382, allocations: 2.562 MB / 0.5738 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.569e-05/0.6382, allocations: 0 / 0.5738 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000136/0.6384, allocations: 24.64 kB / 0.5739 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007773/0.6392, allocations: 341.5 kB / 0.5742 GB, free: 12.87 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001587/0.6393, allocations: 65.14 kB / 0.5743 GB, free: 12.85 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.6394, allocations: 106.7 kB / 0.5744 GB, free: 12.81 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.749e-05/0.6395, allocations: 7.266 kB / 0.5744 GB, free: 12.81 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.056e-05/0.6396, allocations: 38.16 kB / 0.5744 GB, free: 12.81 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.187e-05/0.6396, allocations: 39.48 kB / 0.5744 GB, free: 12.81 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.6396, allocations: 2.781 kB / 0.5744 GB, free: 12.81 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006087/0.6402, allocations: 372 kB / 0.5748 GB, free: 12.79 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.422e-05/0.6403, allocations: 12.17 kB / 0.5748 GB, free: 12.79 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.301e-05/0.6403, allocations: 45.02 kB / 0.5749 GB, free: 12.79 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003933/0.6407, allocations: 310.6 kB / 0.5751 GB, free: 12.77 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.6407, allocations: 0 / 0.5751 GB, free: 12.77 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.6407, allocations: 5.734 kB / 0.5752 GB, free: 12.76 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.6407, allocations: 3 kB / 0.5752 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.0008597/0.6416, allocations: 386.4 kB / 0.5755 GB, free: 12.46 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.6416, allocations: 10.12 kB / 0.5755 GB, free: 12.46 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00575/0.6474, allocations: 466 kB / 0.576 GB, free: 12.45 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.6475, allocations: 120.5 kB / 0.5761 GB, free: 12.31 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.6475, allocations: 10.44 kB / 0.5761 GB, free: 12.3 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.057e-05/0.6476, allocations: 8.344 kB / 0.5761 GB, free: 12.3 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000658/0.6482, allocations: 295 kB / 0.5764 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.6482, allocations: 1.094 kB / 0.5764 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.143e-05/0.6483, allocations: 7.125 kB / 0.5764 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.237e-06/0.6483, allocations: 2.531 kB / 0.5764 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007051/0.649, allocations: 270.7 kB / 0.5767 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002695/0.6493, allocations: 224.7 kB / 0.5769 GB, free: 12.09 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003538/0.6496, allocations: 157.1 kB / 0.577 GB, free: 12.06 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/0.6498, allocations: 80.33 kB / 0.5771 GB, free: 12.05 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.6498, allocations: 2.875 kB / 0.5771 GB, free: 12.05 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.6498, allocations: 37.14 kB / 0.5771 GB, free: 12.01 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 1.543e-06/0.6498, allocations: 2.656 kB / 0.5771 GB, free: 12.01 MB / 462.1 MB Notification: Performance of matching and sorting (n=24): time 0.001919/0.6518, allocations: 0.5744 MB / 0.5777 GB, free: 11.94 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.6518, allocations: 60.09 kB / 0.5778 GB, free: 11.88 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.865e-05/0.6519, allocations: 113.3 kB / 0.5779 GB, free: 11.77 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/0.6519, allocations: 29.02 kB / 0.5779 GB, free: 11.74 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.181e-05/0.652, allocations: 86.31 kB / 0.578 GB, free: 11.66 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.118e-05/0.6521, allocations: 83.47 kB / 0.5781 GB, free: 11.61 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.584e-05/0.6521, allocations: 51.89 kB / 0.5781 GB, free: 11.59 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.6523, allocations: 319.3 kB / 0.5784 GB, free: 11.27 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002583/0.6525, allocations: 100.2 kB / 0.5785 GB, free: 11.27 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002681/0.6528, allocations: 102.7 kB / 0.5786 GB, free: 11.27 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005186/0.6533, allocations: 227.8 kB / 0.5788 GB, free: 11.26 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.6533, allocations: 0 / 0.5788 GB, free: 11.26 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000623/0.6539, allocations: 287.8 kB / 0.5791 GB, free: 11.21 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.6539, allocations: 4.906 kB / 0.5791 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.6539, allocations: 7.875 kB / 0.5791 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.654, allocations: 1.094 kB / 0.5791 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004261/0.6544, allocations: 56.36 kB / 0.5792 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.6544, allocations: 3.062 kB / 0.5792 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002606/0.6547, allocations: 12.55 kB / 0.5792 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-05/0.6547, allocations: 15.39 kB / 0.5792 GB, free: 11.2 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.0001191/0.6548, allocations: 125 kB / 0.5793 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.451e-05/0.6548, allocations: 11.36 kB / 0.5793 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008015/0.6556, allocations: 356.9 kB / 0.5797 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.6557, allocations: 6.719 kB / 0.5797 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.6557, allocations: 0 / 0.5797 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.6557, allocations: 3.734 kB / 0.5797 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001368/0.657, allocations: 0.6864 MB / 0.5803 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.657, allocations: 4.031 kB / 0.5803 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003985/0.6574, allocations: 64.88 kB / 0.5804 GB, free: 10.67 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.6574, allocations: 3.734 kB / 0.5804 GB, free: 10.67 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.486e-05/0.6575, allocations: 11.17 kB / 0.5804 GB, free: 10.67 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.6575, allocations: 2.531 kB / 0.5804 GB, free: 10.67 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.6575, allocations: 0 / 0.5804 GB, free: 10.67 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006941/0.6582, allocations: 411.1 kB / 0.5808 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.755e-05/0.6582, allocations: 17.97 kB / 0.5808 GB, free: 10.47 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.896e-05/0.6582, allocations: 7.094 kB / 0.5808 GB, free: 10.47 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003101/0.6585, allocations: 15.84 kB / 0.5809 GB, free: 10.47 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.169e-05/0.6586, allocations: 20.03 kB / 0.5809 GB, free: 10.47 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.194e-05/0.6586, allocations: 16.42 kB / 0.5809 GB, free: 10.47 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.806e-05/0.6586, allocations: 92.94 kB / 0.581 GB, free: 10.39 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6586, allocations: 1.094 kB / 0.581 GB, free: 10.39 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003328/0.659, allocations: 64.94 kB / 0.581 GB, free: 10.38 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.0002007/0.6592, allocations: 119.2 kB / 0.5812 GB, free: 10.29 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006141/0.6598, allocations: 244.2 kB / 0.5814 GB, free: 10.28 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.6598, allocations: 0 / 0.5814 GB, free: 10.28 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002951/0.6601, allocations: 130.1 kB / 0.5815 GB, free: 10.27 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000515/0.6606, allocations: 58.98 kB / 0.5816 GB, free: 10.26 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008478/0.6614, allocations: 374.8 kB / 0.5819 GB, free: 10.02 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.6617, allocations: 0.7071 MB / 0.5826 GB, free: 9.32 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001891/0.6619, allocations: 40.33 kB / 0.5827 GB, free: 9.312 MB / 462.1 MB Notification: Performance of SimCode: time 3.31e-07/0.6619, allocations: 0 / 0.5827 GB, free: 9.312 MB / 462.1 MB Notification: Performance of Templates: time 0.004734/0.6667, allocations: 2.935 MB / 0.5855 GB, free: 7.996 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 -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: 7.249247090192512]