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.001918/0.001918, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.002352/0.002352, allocations: 161.7 kB / 24.27 MB, free: 176 kB / 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 1.501/1.501, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 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.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.804e-06/1.804e-06, allocations: 0 / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.089e-05/3.269e-05, allocations: 2.312 kB / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001495/0.001528, allocations: 0.5195 MB / 272.8 MB, free: 1.297 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002231/0.003759, allocations: 1.475 MB / 274.3 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.737e-05/0.003786, allocations: 4 kB / 274.3 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.245e-05/0.003799, allocations: 0 / 274.3 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006477/0.004446, allocations: 179.3 kB / 274.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.177e-05/0.004468, allocations: 3.984 kB / 274.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.598e-05/0.004524, allocations: 19.92 kB / 274.5 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.448e-05/0.004559, allocations: 4 kB / 274.5 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.786e-05/0.004627, allocations: 11.98 kB / 274.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.537e-05/0.004672, allocations: 0 / 274.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.004689, allocations: 4 kB / 274.5 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004158/0.005104, allocations: 239.5 kB / 274.8 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.01e-05/0.005115, allocations: 0 / 274.8 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.121e-05/0.005136, allocations: 4 kB / 274.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003446/0.00548, allocations: 223.6 kB / 275 MB, free: 15.12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.005482, allocations: 0 / 275 MB, free: 15.12 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.005483, allocations: 3.938 kB / 275 MB, free: 15.12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.005487, allocations: 0 / 275 MB, free: 15.12 MB / 266.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.0005132/0.006, allocations: 293.9 kB / 275.3 MB, free: 14.8 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.006032, allocations: 8.031 kB / 275.3 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.939e-05/0.006072, allocations: 4.922 kB / 275.3 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.006199, allocations: 109.8 kB / 275.4 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.006211, allocations: 4.375 kB / 275.4 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.006231, allocations: 384 / 275.4 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.357e-05/0.006314, allocations: 38.25 kB / 275.4 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.006323, allocations: 4.188 kB / 275.5 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-06/0.00633, allocations: 384 / 275.5 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.006338, allocations: 3.938 kB / 275.5 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.976e-05/0.006368, allocations: 4 kB / 275.5 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001526/0.006521, allocations: 113.2 kB / 275.6 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.361e-05/0.006594, allocations: 30.58 kB / 275.6 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.596e-05/0.00662, allocations: 12.98 kB / 275.6 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.006632, allocations: 4 kB / 275.6 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.006664, allocations: 30.56 kB / 275.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.006665, allocations: 0 / 275.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001495/0.006814, allocations: 57.58 kB / 275.7 MB, free: 14.3 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/0.006868, allocations: 59.34 kB / 275.8 MB, free: 14.23 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.006983, allocations: 101.8 kB / 275.9 MB, free: 14.12 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.007008, allocations: 25.7 kB / 275.9 MB, free: 14.09 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.91e-05/0.007068, allocations: 80.14 kB / 276 MB, free: 14.01 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.007101, allocations: 15.91 kB / 276 MB, free: 13.99 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.007136, allocations: 13.72 kB / 276 MB, free: 13.97 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.007303, allocations: 318.8 kB / 276.3 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.899e-05/0.007322, allocations: 4 kB / 276.3 MB, free: 13.65 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.543e-05/0.007357, allocations: 21.72 kB / 276.3 MB, free: 13.62 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.639e-05/0.007413, allocations: 33.66 kB / 276.4 MB, free: 13.58 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.007415, allocations: 0 / 276.4 MB, free: 13.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.446e-05/0.00751, allocations: 54.11 kB / 276.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.007522, allocations: 4 kB / 276.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.007526, allocations: 0 / 276.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.007545, allocations: 11.92 kB / 276.4 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.84e-05/0.007614, allocations: 7.938 kB / 276.4 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.007623, allocations: 7.938 kB / 276.4 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.388e-05/0.007647, allocations: 7.938 kB / 276.5 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.838e-06/0.007651, allocations: 128 / 276.5 MB, free: 13.48 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 9.067e-05/0.007741, allocations: 113.9 kB / 276.6 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.007764, allocations: 3.984 kB / 276.6 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.883e-05/0.007793, allocations: 15.69 kB / 276.6 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.007794, allocations: 0 / 276.6 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.0078, allocations: 3.938 kB / 276.6 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.007806, allocations: 3.984 kB / 276.6 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.85e-05/0.007904, allocations: 101.3 kB / 276.7 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.007905, allocations: 0 / 276.7 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.273e-05/0.007968, allocations: 12 kB / 276.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.007969, allocations: 0 / 276.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.007978, allocations: 7.984 kB / 276.7 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.007979, allocations: 0 / 276.7 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.00798, allocations: 0 / 276.7 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.008119, allocations: 81 kB / 276.8 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.29e-06/0.008125, allocations: 0 / 276.8 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.008139, allocations: 4.031 kB / 276.8 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.289e-05/0.008162, allocations: 4 kB / 276.8 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.518e-05/0.008177, allocations: 3.984 kB / 276.8 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.008182, allocations: 3.938 kB / 276.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.208e-05/0.008234, allocations: 79.28 kB / 276.9 MB, free: 13 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008234, allocations: 0 / 276.9 MB, free: 13 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002735/0.008508, allocations: 63.92 kB / 276.9 MB, free: 12.93 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.0003003/0.008808, allocations: 151.1 kB / 277.1 MB, free: 12.78 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.45e-05/0.008892, allocations: 23.92 kB / 277.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.008894, allocations: 0 / 277.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.006e-05/0.008914, allocations: 8 kB / 277.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/0.009063, allocations: 4 kB / 277.1 MB, free: 12.74 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002641/0.009327, allocations: 132.5 kB / 277.3 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.853e-05/0.009385, allocations: 71.22 kB / 277.3 MB, free: 12.5 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.748e-05/0.009443, allocations: 4.062 kB / 277.3 MB, free: 12.49 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.535e-05/0.009468, allocations: 16.44 kB / 277.3 MB, free: 12.48 MB / 266.7 MB Notification: Performance of SimCode: time 3.81e-07/0.009469, allocations: 0 / 277.3 MB, free: 12.48 MB / 266.7 MB Notification: Performance of Templates: time 0.003791/0.01326, allocations: 1.156 MB / 278.5 MB, free: 11.32 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.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: 4.250448834965937]