Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00103/0.00103, allocations: 88.73 kB / 21.5 MB, free: 2.98 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001201/0.001201, allocations: 166.2 kB / 24.91 MB, free: 8.758 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.022/1.022, allocations: 177 MB / 205.2 MB, free: 5.445 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|q|qd",fileNamePrefix="Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") translateModel(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|q|qd",fileNamePrefix="Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 273.4 MB, free: 1.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.057e-05/2.268e-05, allocations: 2.312 kB / 273.4 MB, free: 1.172 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001248/0.00127, allocations: 0.5749 MB / 274 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001583/0.002853, allocations: 1.513 MB / 275.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.864e-05/0.002882, allocations: 0 / 275.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.272e-05/0.002895, allocations: 0 / 275.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005026/0.003397, allocations: 167.2 kB / 275.7 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.722e-05/0.003414, allocations: 4 kB / 275.7 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.7e-05/0.003461, allocations: 15.92 kB / 275.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.738e-05/0.003499, allocations: 4 kB / 275.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.694e-05/0.003556, allocations: 4 kB / 275.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.972e-05/0.003605, allocations: 11.97 kB / 275.7 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.003617, allocations: 0 / 275.7 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003384/0.003955, allocations: 263.5 kB / 276 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.979e-06/0.003965, allocations: 0 / 276 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.636e-05/0.003982, allocations: 7.984 kB / 276 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.004209, allocations: 219.5 kB / 276.2 MB, free: 14.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.004211, allocations: 0 / 276.2 MB, free: 14.38 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.004212, allocations: 0 / 276.2 MB, free: 14.38 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.004216, allocations: 3.938 kB / 276.2 MB, free: 14.38 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.0002633/0.004479, allocations: 268.6 kB / 276.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.00451, allocations: 11.98 kB / 276.5 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.257e-05/0.004532, allocations: 4.938 kB / 276.5 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.384e-05/0.004606, allocations: 109.8 kB / 276.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-06/0.004614, allocations: 4.375 kB / 276.6 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.00463, allocations: 4.359 kB / 276.6 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.158e-05/0.004692, allocations: 34.27 kB / 276.6 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.0047, allocations: 192 / 276.6 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.601e-06/0.004706, allocations: 384 / 276.6 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.004711, allocations: 3.938 kB / 276.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.808e-05/0.004729, allocations: 11.92 kB / 276.6 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.324e-05/0.004812, allocations: 61.05 kB / 276.7 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.534e-05/0.004857, allocations: 30.61 kB / 276.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.434e-05/0.004872, allocations: 8.859 kB / 276.7 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.051e-06/0.004878, allocations: 8 kB / 276.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.004895, allocations: 30.56 kB / 276.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.004896, allocations: 0 / 276.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 8.458e-05/0.00498, allocations: 49.7 kB / 276.8 MB, free: 13.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.531e-05/0.005006, allocations: 51.41 kB / 276.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.529e-05/0.005061, allocations: 106.7 kB / 277 MB, free: 13.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.725e-06/0.005069, allocations: 25.7 kB / 277 MB, free: 13.45 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.189e-05/0.005091, allocations: 84.14 kB / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.005116, allocations: 15.84 kB / 277.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.226e-05/0.005139, allocations: 13.72 kB / 277.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.614e-05/0.005215, allocations: 330.8 kB / 277.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.502e-06/0.005221, allocations: 0 / 277.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.599e-05/0.005237, allocations: 13.72 kB / 277.4 MB, free: 12.97 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.057e-05/0.005268, allocations: 33.64 kB / 277.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.00527, allocations: 0 / 277.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.319e-05/0.005323, allocations: 45.62 kB / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.005334, allocations: 4 kB / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.005339, allocations: 7.938 kB / 277.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.00535, allocations: 0 / 277.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.502e-05/0.005425, allocations: 8.031 kB / 277.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/0.005428, allocations: 4 kB / 277.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.292e-05/0.00544, allocations: 7.922 kB / 277.6 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.005445, allocations: 4 kB / 277.6 MB, free: 12.85 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.155e-05/0.005496, allocations: 113.8 kB / 277.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.142e-06/0.005502, allocations: 4 kB / 277.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.824e-05/0.005521, allocations: 3.688 kB / 277.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.005522, allocations: 0 / 277.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-06/0.005523, allocations: 0 / 277.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.005525, allocations: 0 / 277.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.186e-05/0.005587, allocations: 73.83 kB / 277.7 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.005588, allocations: 4 kB / 277.8 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.011e-05/0.005628, allocations: 4 kB / 277.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.00563, allocations: 0 / 277.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.005638, allocations: 4 kB / 277.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.00564, allocations: 3.938 kB / 277.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.00564, allocations: 0 / 277.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.163e-05/0.005732, allocations: 85.03 kB / 277.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.501e-06/0.005738, allocations: 0 / 277.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.534e-06/0.005745, allocations: 128 / 277.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.885e-06/0.005753, allocations: 4 kB / 277.9 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.077e-05/0.005764, allocations: 8.031 kB / 277.9 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-06/0.005765, allocations: 0 / 277.9 MB, free: 12.5 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.337e-05/0.005779, allocations: 13.31 kB / 277.9 MB, free: 12.49 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.005779, allocations: 0 / 277.9 MB, free: 12.49 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001591/0.005938, allocations: 55.86 kB / 277.9 MB, free: 12.43 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.0001809/0.006119, allocations: 148.2 kB / 278.1 MB, free: 12.28 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.515e-05/0.006174, allocations: 24.92 kB / 278.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.006177, allocations: 0 / 278.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.049e-05/0.006188, allocations: 12.94 kB / 278.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.255e-05/0.00625, allocations: 19.88 kB / 278.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001778/0.006428, allocations: 128.5 kB / 278.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.65e-05/0.006455, allocations: 55.3 kB / 278.3 MB, free: 11.99 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.478e-05/0.00649, allocations: 7.984 kB / 278.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.986e-05/0.006519, allocations: 51.38 kB / 278.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of SimCode: time 7.81e-07/0.00652, allocations: 0 / 278.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of Templates: time 0.002734/0.009254, allocations: 1.328 MB / 279.7 MB, free: 10.61 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & ./Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.5570327350869775]