Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9771/0.9771, allocations: 173.3 MB / 201.1 MB, free: 9.312 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 268 MB, free: 6.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.491e-05/2.679e-05, allocations: 10.25 kB / 268 MB, free: 6.414 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001544/0.00157, allocations: 0.522 MB / 268.5 MB, free: 5.891 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00227/0.00384, allocations: 1.475 MB / 270 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.186e-05/0.003872, allocations: 0 / 270 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.274e-05/0.003895, allocations: 0 / 270 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007463/0.004641, allocations: 175.3 kB / 270.2 MB, free: 4.227 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.206e-05/0.004673, allocations: 8 kB / 270.2 MB, free: 4.219 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.004778, allocations: 11.94 kB / 270.2 MB, free: 4.207 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.147e-05/0.004839, allocations: 3.984 kB / 270.2 MB, free: 4.203 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.715e-05/0.004936, allocations: 15.94 kB / 270.2 MB, free: 4.188 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.299e-05/0.005009, allocations: 3.984 kB / 270.2 MB, free: 4.184 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.719e-05/0.005036, allocations: 4 kB / 270.2 MB, free: 4.18 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004571/0.005493, allocations: 227.7 kB / 270.4 MB, free: 3.957 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.914e-05/0.005513, allocations: 0 / 270.4 MB, free: 3.957 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.039e-05/0.005543, allocations: 3.938 kB / 270.4 MB, free: 3.953 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003711/0.005914, allocations: 219.5 kB / 270.6 MB, free: 3.738 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.005917, allocations: 7.938 kB / 270.6 MB, free: 3.73 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.005917, allocations: 0 / 270.6 MB, free: 3.73 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.005922, allocations: 0 / 270.6 MB, free: 3.73 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.0004766/0.006399, allocations: 384 kB / 271 MB, free: 3.32 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.006445, allocations: 12.92 kB / 271 MB, free: 3.309 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.526e-05/0.0065, allocations: 5.234 kB / 271 MB, free: 3.305 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.006629, allocations: 116.6 kB / 271.2 MB, free: 3.164 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.006643, allocations: 384 / 271.2 MB, free: 3.164 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.45e-05/0.006668, allocations: 4.375 kB / 271.2 MB, free: 3.16 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.002e-05/0.006758, allocations: 34.25 kB / 271.2 MB, free: 3.121 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.00677, allocations: 4.188 kB / 271.2 MB, free: 3.117 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.00678, allocations: 384 / 271.2 MB, free: 3.117 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.006791, allocations: 3.938 kB / 271.2 MB, free: 3.113 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.324e-05/0.006824, allocations: 15.92 kB / 271.2 MB, free: 3.098 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001605/0.006985, allocations: 108.6 kB / 271.3 MB, free: 2.957 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.41e-05/0.007069, allocations: 43.09 kB / 271.4 MB, free: 2.902 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.399e-05/0.007093, allocations: 11.62 kB / 271.4 MB, free: 2.887 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.046e-06/0.007101, allocations: 4 kB / 271.4 MB, free: 2.883 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.007128, allocations: 37.39 kB / 271.4 MB, free: 2.836 MB / 250.7 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.007129, allocations: 0 / 271.4 MB, free: 2.836 MB / 250.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001509/0.00728, allocations: 49.67 kB / 271.5 MB, free: 2.781 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.007315, allocations: 59.34 kB / 271.5 MB, free: 2.711 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.423e-05/0.00741, allocations: 165.9 kB / 271.7 MB, free: 2.531 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.007423, allocations: 25.7 kB / 271.7 MB, free: 2.5 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.951e-05/0.007472, allocations: 130.9 kB / 271.8 MB, free: 2.367 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/0.007505, allocations: 11.89 kB / 271.9 MB, free: 2.355 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.973e-05/0.007545, allocations: 27.36 kB / 271.9 MB, free: 2.32 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.007692, allocations: 492.1 kB / 272.4 MB, free: 1.828 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.854e-05/0.00771, allocations: 4 kB / 272.4 MB, free: 1.824 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.293e-05/0.007743, allocations: 27.36 kB / 272.4 MB, free: 1.789 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.387e-05/0.007797, allocations: 35.31 kB / 272.4 MB, free: 1.746 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.0078, allocations: 4 kB / 272.4 MB, free: 1.742 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.768e-05/0.007888, allocations: 54.02 kB / 272.5 MB, free: 1.684 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.007901, allocations: 4 kB / 272.5 MB, free: 1.68 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.007908, allocations: 0 / 272.5 MB, free: 1.68 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.007923, allocations: 7.938 kB / 272.5 MB, free: 1.672 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.408e-05/0.008017, allocations: 4.125 kB / 272.5 MB, free: 1.668 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.008029, allocations: 11.94 kB / 272.5 MB, free: 1.656 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.858e-05/0.008048, allocations: 0 / 272.5 MB, free: 1.656 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.008052, allocations: 48 / 272.5 MB, free: 1.656 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 8.278e-05/0.008135, allocations: 168.6 kB / 272.7 MB, free: 1.48 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.084e-05/0.008146, allocations: 3.984 kB / 272.7 MB, free: 1.477 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.048e-05/0.008177, allocations: 3.688 kB / 272.7 MB, free: 1.469 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.008179, allocations: 4 kB / 272.7 MB, free: 1.465 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.008184, allocations: 3.938 kB / 272.7 MB, free: 1.461 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.008187, allocations: 0 / 272.7 MB, free: 1.461 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.757e-05/0.008274, allocations: 116.6 kB / 272.8 MB, free: 1.312 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.008275, allocations: 0 / 272.8 MB, free: 1.312 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.672e-05/0.008332, allocations: 8 kB / 272.8 MB, free: 1.305 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.008334, allocations: 0 / 272.8 MB, free: 1.305 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.008348, allocations: 0 / 272.8 MB, free: 1.305 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.008349, allocations: 4 kB / 272.8 MB, free: 1.301 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.00835, allocations: 3.938 kB / 272.8 MB, free: 1.297 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.008489, allocations: 96.27 kB / 272.9 MB, free: 1.18 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.02e-05/0.008499, allocations: 7.984 kB / 272.9 MB, free: 1.172 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.008513, allocations: 0 / 272.9 MB, free: 1.172 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.324e-05/0.008526, allocations: 0 / 272.9 MB, free: 1.172 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.863e-05/0.008544, allocations: 0 / 272.9 MB, free: 1.172 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.008549, allocations: 7.938 kB / 272.9 MB, free: 1.164 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.899e-05/0.008598, allocations: 123.2 kB / 273 MB, free: 1.043 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008598, allocations: 0 / 273 MB, free: 1.043 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002953/0.008894, allocations: 55.86 kB / 273.1 MB, free: 0.9883 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.0002564/0.00915, allocations: 159.1 kB / 273.3 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.516e-05/0.009245, allocations: 27.62 kB / 273.3 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.009247, allocations: 0 / 273.3 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.786e-05/0.009265, allocations: 15.67 kB / 273.3 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000176/0.009441, allocations: 10.97 kB / 273.3 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002639/0.009705, allocations: 118.2 kB / 273.4 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.496e-05/0.00975, allocations: 67.28 kB / 273.5 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.217e-05/0.009792, allocations: 8.062 kB / 273.5 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.215e-05/0.009814, allocations: 8.5 kB / 273.5 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of SimCode: time 7.02e-07/0.009815, allocations: 0 / 273.5 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of Templates: time 0.002784/0.0126, allocations: 1.268 MB / 274.8 MB, free: 15.25 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & ./Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.584637442138046]