Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.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.001092/0.001092, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001563/0.002655, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001139/0.001139, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00155/0.002689, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.037/1.037, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08446/1.121, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] 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.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|q|qd",fileNamePrefix="Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") translateModel(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|q|qd",fileNamePrefix="Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.059e-05/1.174e-05, allocations: 4.984 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001147/0.001159, allocations: 0.5789 MB / 245.1 MB, free: 13.73 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001587/0.002746, allocations: 1.529 MB / 246.6 MB, free: 12.19 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.664e-05/0.002773, allocations: 4 kB / 246.6 MB, free: 12.18 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.818e-06/0.002777, allocations: 4 kB / 246.6 MB, free: 12.18 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003971/0.003174, allocations: 143.5 kB / 246.8 MB, free: 12.04 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.854e-05/0.003192, allocations: 7.938 kB / 246.8 MB, free: 12.03 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 5.629e-05/0.003249, allocations: 19.91 kB / 246.8 MB, free: 12.01 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.779e-05/0.003286, allocations: 0 / 246.8 MB, free: 12.01 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.288e-05/0.003369, allocations: 19.92 kB / 246.8 MB, free: 11.99 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.596e-05/0.003415, allocations: 8 kB / 246.8 MB, free: 11.98 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.003428, allocations: 0 / 246.8 MB, free: 11.98 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003852/0.003813, allocations: 267.5 kB / 247.1 MB, free: 11.72 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.19e-05/0.003825, allocations: 7.938 kB / 247.1 MB, free: 11.71 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.337e-05/0.003839, allocations: 0 / 247.1 MB, free: 11.71 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002523/0.004091, allocations: 167.7 kB / 247.3 MB, free: 11.55 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.518e-05/0.004106, allocations: 0 / 247.3 MB, free: 11.55 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.004107, allocations: 0 / 247.3 MB, free: 11.55 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.659e-05/0.004123, allocations: 0 / 247.3 MB, free: 11.55 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003629/0.004486, allocations: 288.2 kB / 247.5 MB, free: 11.25 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.852e-05/0.004515, allocations: 8.031 kB / 247.5 MB, free: 11.24 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.861e-05/0.004543, allocations: 4.938 kB / 247.6 MB, free: 11.23 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.739e-05/0.004641, allocations: 117.7 kB / 247.7 MB, free: 11.09 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.004652, allocations: 384 / 247.7 MB, free: 11.09 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/0.004669, allocations: 4.375 kB / 247.7 MB, free: 11.09 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.932e-05/0.004739, allocations: 30.27 kB / 247.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.004748, allocations: 192 / 247.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.851e-06/0.004754, allocations: 384 / 247.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.00476, allocations: 3.938 kB / 247.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.73e-05/0.004788, allocations: 7.984 kB / 247.7 MB, free: 11.04 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.499e-05/0.004883, allocations: 65.05 kB / 247.8 MB, free: 10.96 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.609e-05/0.004939, allocations: 38.53 kB / 247.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.408e-05/0.004953, allocations: 4.859 kB / 247.8 MB, free: 10.91 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.911e-06/0.004959, allocations: 4 kB / 247.8 MB, free: 10.91 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.004981, allocations: 30.56 kB / 247.9 MB, free: 10.87 MB / 250.7 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.004982, allocations: 0 / 247.9 MB, free: 10.87 MB / 250.7 MB Notification: Performance of matching and sorting (n=3): time 9.218e-05/0.005074, allocations: 45.77 kB / 247.9 MB, free: 10.82 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.005105, allocations: 55.34 kB / 248 MB, free: 10.75 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.982e-05/0.005165, allocations: 102.7 kB / 248.1 MB, free: 10.64 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.005175, allocations: 25.7 kB / 248.1 MB, free: 10.61 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.259e-05/0.005198, allocations: 88.14 kB / 248.2 MB, free: 10.52 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.005227, allocations: 15.89 kB / 248.2 MB, free: 10.5 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/0.005259, allocations: 17.72 kB / 248.2 MB, free: 10.48 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.495e-05/0.005344, allocations: 322.8 kB / 248.5 MB, free: 10.15 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.334e-06/0.005352, allocations: 0 / 248.5 MB, free: 10.15 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.085e-05/0.005372, allocations: 25.7 kB / 248.5 MB, free: 10.12 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.301e-05/0.005405, allocations: 21.83 kB / 248.6 MB, free: 10.09 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.005409, allocations: 4 kB / 248.6 MB, free: 10.09 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.372e-05/0.005463, allocations: 45.62 kB / 248.6 MB, free: 10.04 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.005476, allocations: 11.59 kB / 248.6 MB, free: 10.03 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.00548, allocations: 4.031 kB / 248.6 MB, free: 10.03 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.005489, allocations: 0 / 248.6 MB, free: 10.03 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.192e-05/0.005581, allocations: 11.94 kB / 248.6 MB, free: 10.02 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.005585, allocations: 3.984 kB / 248.6 MB, free: 10.01 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.692e-05/0.005602, allocations: 11.88 kB / 248.7 MB, free: 10 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-06/0.005605, allocations: 0 / 248.7 MB, free: 10 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 4.819e-05/0.005653, allocations: 109.8 kB / 248.8 MB, free: 9.883 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.743e-06/0.00566, allocations: 4 kB / 248.8 MB, free: 9.879 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.43e-05/0.005685, allocations: 3.688 kB / 248.8 MB, free: 9.875 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.005686, allocations: 0 / 248.8 MB, free: 9.875 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.005687, allocations: 4 kB / 248.8 MB, free: 9.871 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.00569, allocations: 0 / 248.8 MB, free: 9.871 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.886e-05/0.005748, allocations: 73.83 kB / 248.8 MB, free: 9.781 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.00575, allocations: 0 / 248.8 MB, free: 9.781 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.755e-05/0.005797, allocations: 12 kB / 248.9 MB, free: 9.77 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.033e-06/0.005804, allocations: 3.953 kB / 248.9 MB, free: 9.766 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.005806, allocations: 0 / 248.9 MB, free: 9.766 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.005814, allocations: 0 / 248.9 MB, free: 9.766 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.005816, allocations: 3.984 kB / 248.9 MB, free: 9.762 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.005819, allocations: 4 kB / 248.9 MB, free: 9.758 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.111e-05/0.0059, allocations: 72.98 kB / 248.9 MB, free: 9.668 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.468e-06/0.005909, allocations: 8.031 kB / 248.9 MB, free: 9.66 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.578e-06/0.005919, allocations: 0 / 248.9 MB, free: 9.66 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.037e-05/0.005929, allocations: 0 / 248.9 MB, free: 9.66 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.005932, allocations: 3.984 kB / 248.9 MB, free: 9.656 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.478e-05/0.005946, allocations: 13.33 kB / 249 MB, free: 9.641 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005946, allocations: 0 / 249 MB, free: 9.641 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001955/0.006142, allocations: 59.8 kB / 249 MB, free: 9.582 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (q,qd) * 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 (3): * Single equations (assignments): 3 * 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.0001934/0.006335, allocations: 140.2 kB / 249.2 MB, free: 9.438 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.095e-05/0.006396, allocations: 32.91 kB / 249.2 MB, free: 9.402 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.0064, allocations: 4.062 kB / 249.2 MB, free: 9.398 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.305e-05/0.006413, allocations: 16.84 kB / 249.2 MB, free: 9.379 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.088e-05/0.006473, allocations: 6.688 kB / 249.2 MB, free: 9.375 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001871/0.006661, allocations: 120.5 kB / 249.3 MB, free: 9.23 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.921e-05/0.00669, allocations: 59.3 kB / 249.4 MB, free: 9.152 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.816e-05/0.006728, allocations: 3.984 kB / 249.4 MB, free: 9.148 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.429e-05/0.006762, allocations: 51.38 kB / 249.4 MB, free: 9.098 MB / 250.7 MB Notification: Performance of SimCode: time 3.6e-07/0.006763, allocations: 0 / 249.4 MB, free: 9.098 MB / 250.7 MB Notification: Performance of Templates: time 0.003013/0.009776, allocations: 1.331 MB / 250.8 MB, free: 7.766 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & ./Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Math/Nonlinear/Examples/QuadratureLobatto3/QuadratureLobatto3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4065925143659115]