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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,variableFilter="time|q|qd",fileNamePrefix="Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") translateModel(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|q|qd",fileNamePrefix="Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001323/0.001323, allocations: 122.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001515/0.001515, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 63.89 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2607, allocations: 50.54 MB / 409.2 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.0015/0.2623, allocations: 0.5103 MB / 409.8 MB, free: 1.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001909/0.2642, allocations: 1.547 MB / 411.3 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.989e-05/0.2642, allocations: 0 / 411.3 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.681e-05/0.2642, allocations: 3.938 kB / 411.3 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000641/0.2649, allocations: 179.4 kB / 411.5 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.399e-05/0.2649, allocations: 4 kB / 411.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.441e-05/0.265, allocations: 11.94 kB / 411.5 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.697e-05/0.265, allocations: 7.984 kB / 411.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.757e-05/0.2651, allocations: 11.94 kB / 411.5 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.81e-05/0.2652, allocations: 0 / 411.5 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.2652, allocations: 4 kB / 411.5 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000393/0.2656, allocations: 251.7 kB / 411.8 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.109e-05/0.2656, allocations: 3.938 kB / 411.8 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.275e-05/0.2656, allocations: 11.94 kB / 411.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002591/0.2659, allocations: 175.7 kB / 412 MB, free: 14.88 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2659, allocations: 0 / 412 MB, free: 14.88 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2659, allocations: 0 / 412 MB, free: 14.88 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.826e-06/0.2659, allocations: 0 / 412 MB, free: 14.88 MB / 334.1 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.0003977/0.2663, allocations: 363.3 kB / 412.3 MB, free: 14.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.2664, allocations: 12.03 kB / 412.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.838e-05/0.2664, allocations: 0.9375 kB / 412.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.2665, allocations: 164.4 kB / 412.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.2666, allocations: 8.312 kB / 412.5 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.2666, allocations: 4.375 kB / 412.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.246e-05/0.2667, allocations: 38 kB / 412.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.2667, allocations: 0 / 412.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.2667, allocations: 4 kB / 412.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.2667, allocations: 4 kB / 412.5 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.799e-05/0.2668, allocations: 11.98 kB / 412.5 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001756/0.2669, allocations: 153.7 kB / 412.7 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.143e-05/0.267, allocations: 42.45 kB / 412.7 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.226e-05/0.267, allocations: 8.859 kB / 412.7 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.2671, allocations: 4.078 kB / 412.8 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.2671, allocations: 38.48 kB / 412.8 MB, free: 13.88 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 9.91e-07/0.2671, allocations: 0 / 412.8 MB, free: 13.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001282/0.2672, allocations: 49.59 kB / 412.8 MB, free: 13.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.2673, allocations: 51.41 kB / 412.9 MB, free: 13.76 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.214e-05/0.2674, allocations: 109.8 kB / 413 MB, free: 13.64 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.2674, allocations: 25.7 kB / 413 MB, free: 13.61 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.473e-05/0.2674, allocations: 88.12 kB / 413.1 MB, free: 13.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.2675, allocations: 9.172 kB / 413.1 MB, free: 13.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-05/0.2675, allocations: 17.72 kB / 413.1 MB, free: 13.49 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.2676, allocations: 310.8 kB / 413.4 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.781e-05/0.2676, allocations: 11.98 kB / 413.4 MB, free: 13.17 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.681e-05/0.2677, allocations: 17.72 kB / 413.5 MB, free: 13.14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.283e-05/0.2677, allocations: 29.72 kB / 413.5 MB, free: 13.11 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2677, allocations: 0 / 413.5 MB, free: 13.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.315e-05/0.2678, allocations: 61.53 kB / 413.6 MB, free: 13.04 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.2678, allocations: 14.75 kB / 413.6 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.2678, allocations: 0 / 413.6 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.2679, allocations: 0 / 413.6 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.247e-05/0.2679, allocations: 11.98 kB / 413.6 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.2679, allocations: 3.984 kB / 413.6 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.879e-05/0.268, allocations: 4.031 kB / 413.6 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-06/0.268, allocations: 7.938 kB / 413.6 MB, free: 13 MB / 334.1 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 6.931e-05/0.2681, allocations: 113.7 kB / 413.7 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.065e-05/0.2681, allocations: 3.938 kB / 413.7 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.635e-05/0.2681, allocations: 11.5 kB / 413.7 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.2681, allocations: 0 / 413.7 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.2681, allocations: 0 / 413.7 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.2681, allocations: 0 / 413.7 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.2682, allocations: 161.6 kB / 413.9 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2682, allocations: 4 kB / 413.9 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.085e-05/0.2683, allocations: 11.98 kB / 413.9 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.2683, allocations: 3.938 kB / 413.9 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.2683, allocations: 0 / 413.9 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.2683, allocations: 3.938 kB / 413.9 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2683, allocations: 0 / 413.9 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/0.2685, allocations: 81.19 kB / 414 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.556e-05/0.2685, allocations: 85.05 kB / 414.1 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.2685, allocations: 4 kB / 414.1 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.963e-05/0.2686, allocations: 7.984 kB / 414.1 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.151e-05/0.2686, allocations: 480 / 414.1 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.2686, allocations: 4 kB / 414.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.111e-05/0.2686, allocations: 87.27 kB / 414.2 MB, free: 12.33 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2686, allocations: 0 / 414.2 MB, free: 12.33 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002708/0.2689, allocations: 51.98 kB / 414.2 MB, free: 12.28 MB / 334.1 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.0002544/0.2692, allocations: 151.2 kB / 414.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.561e-05/0.2693, allocations: 24 kB / 414.4 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2693, allocations: 0 / 414.4 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.571e-05/0.2693, allocations: 11.94 kB / 414.4 MB, free: 12.08 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.2694, allocations: 7.984 kB / 414.4 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00024/0.2697, allocations: 122.3 kB / 414.5 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.2699, allocations: 0.6807 MB / 415.2 MB, free: 11.22 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.642e-05/0.27, allocations: 0 / 415.2 MB, free: 11.22 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.591e-05/0.27, allocations: 15.5 kB / 415.2 MB, free: 11.21 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.27, allocations: 0 / 415.2 MB, free: 11.21 MB / 334.1 MB Notification: Performance of Templates: time 0.003185/0.2732, allocations: 1.111 MB / 416.3 MB, free: 10.1 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches