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.0009987/0.0009987, allocations: 72.33 kB / 22.21 MB, free: 2.301 MB / 18.57 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.001174/0.001174, allocations: 165.2 kB / 25.61 MB, free: 8.91 MB / 18.57 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 0.9928/0.9928, allocations: 177.2 MB / 206.1 MB, free: 4.504 MB / 186.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 2.154e-06/2.154e-06, allocations: 0 / 274.2 MB, free: 4.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.725e-05/2.941e-05, allocations: 2.312 kB / 274.2 MB, free: 4.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001845/0.001874, allocations: 0.5203 MB / 274.7 MB, free: 3.938 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002139/0.004013, allocations: 1.5 MB / 276.2 MB, free: 2.422 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.826e-05/0.004051, allocations: 4 kB / 276.2 MB, free: 2.418 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.08e-05/0.004072, allocations: 3.938 kB / 276.2 MB, free: 2.414 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007513/0.004823, allocations: 177.7 kB / 276.4 MB, free: 2.242 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.456e-05/0.004848, allocations: 8 kB / 276.4 MB, free: 2.234 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 5.84e-05/0.004906, allocations: 11.92 kB / 276.4 MB, free: 2.223 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.184e-05/0.004958, allocations: 11.94 kB / 276.4 MB, free: 2.211 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.124e-05/0.005029, allocations: 15.92 kB / 276.4 MB, free: 2.195 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.693e-05/0.005086, allocations: 7.984 kB / 276.4 MB, free: 2.188 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.005101, allocations: 0 / 276.4 MB, free: 2.188 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003765/0.005478, allocations: 223.7 kB / 276.7 MB, free: 1.969 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.578e-05/0.005493, allocations: 11.97 kB / 276.7 MB, free: 1.957 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.739e-05/0.005511, allocations: 11.88 kB / 276.7 MB, free: 1.945 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003063/0.005817, allocations: 215.5 kB / 276.9 MB, free: 1.734 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.00582, allocations: 0 / 276.9 MB, free: 1.734 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.005821, allocations: 0 / 276.9 MB, free: 1.734 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.005825, allocations: 4 kB / 276.9 MB, free: 1.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.0003628/0.006188, allocations: 380.3 kB / 277.3 MB, free: 1.324 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.006223, allocations: 8.031 kB / 277.3 MB, free: 1.316 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.137e-05/0.006254, allocations: 8.891 kB / 277.3 MB, free: 1.309 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.829e-05/0.006352, allocations: 120.6 kB / 277.4 MB, free: 1.164 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.006365, allocations: 4.312 kB / 277.4 MB, free: 1.16 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.006381, allocations: 384 / 277.4 MB, free: 1.16 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.387e-05/0.006445, allocations: 34.25 kB / 277.4 MB, free: 1.121 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.006454, allocations: 192 / 277.4 MB, free: 1.121 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.461e-06/0.006459, allocations: 384 / 277.4 MB, free: 1.121 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.006466, allocations: 3.938 kB / 277.5 MB, free: 1.117 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.13e-05/0.006487, allocations: 8 kB / 277.5 MB, free: 1.109 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001255/0.006613, allocations: 101.3 kB / 277.6 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.89e-05/0.006672, allocations: 39 kB / 277.6 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.283e-05/0.006695, allocations: 11.69 kB / 277.6 MB, free: 0.918 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.813e-06/0.006701, allocations: 4.094 kB / 277.6 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.006725, allocations: 41.31 kB / 277.7 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.006727, allocations: 0 / 277.7 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001217/0.006848, allocations: 45.64 kB / 277.7 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.00688, allocations: 51.41 kB / 277.7 MB, free: 0.75 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.225e-05/0.006972, allocations: 174 kB / 277.9 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.006986, allocations: 33.7 kB / 278 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.416e-05/0.00703, allocations: 126.9 kB / 278.1 MB, free: 404 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/0.007059, allocations: 11.88 kB / 278.1 MB, free: 392 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.782e-05/0.007097, allocations: 27.36 kB / 278.1 MB, free: 356 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.007251, allocations: 496.1 kB / 278.6 MB, free: 15.85 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.463e-05/0.007266, allocations: 3.984 kB / 278.6 MB, free: 15.85 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.609e-05/0.007292, allocations: 27.38 kB / 278.6 MB, free: 15.81 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.195e-05/0.007334, allocations: 27.38 kB / 278.7 MB, free: 15.78 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.007336, allocations: 0 / 278.7 MB, free: 15.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.749e-05/0.007423, allocations: 57.58 kB / 278.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.007434, allocations: 4 kB / 278.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.007439, allocations: 0 / 278.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.494e-06/0.007446, allocations: 0 / 278.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.553e-05/0.007512, allocations: 11.98 kB / 278.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.007514, allocations: 0 / 278.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.565e-05/0.00753, allocations: 11.94 kB / 278.7 MB, free: 15.69 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-06/0.007532, allocations: 0 / 278.7 MB, free: 15.69 MB / 266.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 5.64e-05/0.007589, allocations: 160.5 kB / 278.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.262e-06/0.007595, allocations: 4 kB / 278.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.175e-05/0.007617, allocations: 7.688 kB / 278.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.007618, allocations: 4.031 kB / 278.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.007622, allocations: 4 kB / 278.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.007625, allocations: 3.938 kB / 278.9 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.152e-05/0.007686, allocations: 105.2 kB / 279 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.007687, allocations: 0 / 279 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.522e-05/0.007722, allocations: 4 kB / 279 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.007724, allocations: 0 / 279 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.007732, allocations: 4 kB / 279 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.007733, allocations: 0 / 279 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.007734, allocations: 0 / 279 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.928e-05/0.007823, allocations: 96.3 kB / 279.1 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.989e-06/0.007828, allocations: 3.938 kB / 279.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.924e-06/0.007836, allocations: 4 kB / 279.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.825e-06/0.007844, allocations: 0 / 279.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.709e-06/0.007853, allocations: 0 / 279.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.007856, allocations: 4.125 kB / 279.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.274e-05/0.007888, allocations: 127.2 kB / 279.3 MB, free: 15.1 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007888, allocations: 0 / 279.3 MB, free: 15.1 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001786/0.008067, allocations: 51.88 kB / 279.3 MB, free: 15.05 MB / 266.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.0001836/0.008251, allocations: 163.1 kB / 279.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.193e-05/0.008313, allocations: 35.64 kB / 279.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.008315, allocations: 0 / 279.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.059e-05/0.008325, allocations: 16.14 kB / 279.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001074/0.008433, allocations: 7.938 kB / 279.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000177/0.00861, allocations: 118.3 kB / 279.6 MB, free: 14.67 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.569e-05/0.008635, allocations: 59.22 kB / 279.7 MB, free: 14.59 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.607e-05/0.008671, allocations: 4 kB / 279.7 MB, free: 14.59 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.315e-05/0.008705, allocations: 70.19 kB / 279.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of SimCode: time 7.51e-07/0.008705, allocations: 4 kB / 279.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of Templates: time 0.002657/0.01136, allocations: 1.342 MB / 281.1 MB, free: 13.18 MB / 266.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 -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.7175243012607098]