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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|q|qd",fileNamePrefix="Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001666/0.001666, allocations: 105 kB / 17.06 MB, free: 6.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001923/0.001923, allocations: 194.9 kB / 18 MB, free: 5.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009824/0.0009825, allocations: 51.92 kB / 351.3 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2624, allocations: 49.43 MB / 400.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001624/0.264, allocations: 0.5227 MB / 401.2 MB, free: 8.344 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002027/0.2661, allocations: 1.48 MB / 402.7 MB, free: 6.848 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.196e-05/0.2661, allocations: 3.938 kB / 402.7 MB, free: 6.844 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.899e-05/0.2661, allocations: 0 / 402.7 MB, free: 6.844 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007524/0.2669, allocations: 175.5 kB / 402.9 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.803e-05/0.267, allocations: 7.922 kB / 402.9 MB, free: 6.664 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.081e-05/0.267, allocations: 19.92 kB / 402.9 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.449e-05/0.2671, allocations: 0 / 402.9 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.411e-05/0.2672, allocations: 4 kB / 402.9 MB, free: 6.641 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.7e-05/0.2672, allocations: 11.92 kB / 402.9 MB, free: 6.629 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.2672, allocations: 0 / 402.9 MB, free: 6.629 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004574/0.2677, allocations: 247.7 kB / 403.2 MB, free: 6.387 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.521e-05/0.2677, allocations: 3.984 kB / 403.2 MB, free: 6.383 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.366e-05/0.2678, allocations: 11.92 kB / 403.2 MB, free: 6.371 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003663/0.2681, allocations: 167.7 kB / 403.4 MB, free: 6.207 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.2682, allocations: 0 / 403.4 MB, free: 6.207 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.807e-06/0.2682, allocations: 4 kB / 403.4 MB, free: 6.203 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.2682, allocations: 0 / 403.4 MB, free: 6.203 MB / 318.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.0006139/0.2688, allocations: 359.4 kB / 403.7 MB, free: 5.809 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.2689, allocations: 12.03 kB / 403.7 MB, free: 5.797 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.372e-05/0.2689, allocations: 8.844 kB / 403.7 MB, free: 5.789 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.2691, allocations: 168.3 kB / 403.9 MB, free: 5.586 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.2691, allocations: 384 / 403.9 MB, free: 5.586 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.091e-05/0.2692, allocations: 4.375 kB / 403.9 MB, free: 5.582 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.2693, allocations: 42 kB / 403.9 MB, free: 5.535 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.2693, allocations: 0 / 403.9 MB, free: 5.535 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.2693, allocations: 0 / 403.9 MB, free: 5.535 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.2693, allocations: 0 / 403.9 MB, free: 5.535 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.951e-05/0.2694, allocations: 7.984 kB / 404 MB, free: 5.527 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000227/0.2696, allocations: 165.7 kB / 404.1 MB, free: 5.316 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.671e-05/0.2697, allocations: 34.5 kB / 404.2 MB, free: 5.273 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.674e-05/0.2698, allocations: 8.859 kB / 404.2 MB, free: 5.262 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.2698, allocations: 0 / 404.2 MB, free: 5.262 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.2698, allocations: 38.5 kB / 404.2 MB, free: 5.215 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.2698, allocations: 0 / 404.2 MB, free: 5.215 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001864/0.27, allocations: 49.69 kB / 404.2 MB, free: 5.16 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.2701, allocations: 59.34 kB / 404.3 MB, free: 5.09 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.2702, allocations: 105.8 kB / 404.4 MB, free: 4.977 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.2702, allocations: 25.7 kB / 404.4 MB, free: 4.945 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.843e-05/0.2703, allocations: 84.14 kB / 404.5 MB, free: 4.859 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.677e-05/0.2703, allocations: 3.906 kB / 404.5 MB, free: 4.855 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.247e-05/0.2704, allocations: 21.66 kB / 404.5 MB, free: 4.828 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.2706, allocations: 314.8 kB / 404.8 MB, free: 4.512 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.233e-05/0.2706, allocations: 12 kB / 404.9 MB, free: 4.5 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.099e-05/0.2706, allocations: 17.72 kB / 404.9 MB, free: 4.477 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.561e-05/0.2707, allocations: 29.7 kB / 404.9 MB, free: 4.441 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.2707, allocations: 0 / 404.9 MB, free: 4.441 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.693e-05/0.2708, allocations: 61.48 kB / 405 MB, free: 4.375 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.2708, allocations: 10.44 kB / 405 MB, free: 4.367 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.2708, allocations: 7.969 kB / 405 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.2709, allocations: 0 / 405 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.271, allocations: 12.03 kB / 405 MB, free: 4.348 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.271, allocations: 0 / 405 MB, free: 4.348 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.165e-05/0.2711, allocations: 9.266 kB / 405 MB, free: 4.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.2711, allocations: 3.938 kB / 405 MB, free: 4.336 MB / 318.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 9.033e-05/0.2712, allocations: 109.8 kB / 405.1 MB, free: 4.219 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.501e-05/0.2712, allocations: 4.359 kB / 405.1 MB, free: 4.215 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.41e-05/0.2712, allocations: 7.5 kB / 405.1 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.2713, allocations: 3.984 kB / 405.1 MB, free: 4.199 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.2713, allocations: 3.984 kB / 405.1 MB, free: 4.195 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.2713, allocations: 8 kB / 405.1 MB, free: 4.188 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.2714, allocations: 157.6 kB / 405.3 MB, free: 3.984 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.2714, allocations: 0 / 405.3 MB, free: 3.984 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.085e-05/0.2715, allocations: 4.125 kB / 405.3 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.2715, allocations: 3.938 kB / 405.3 MB, free: 3.977 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.2715, allocations: 8 kB / 405.3 MB, free: 3.969 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.2715, allocations: 0 / 405.3 MB, free: 3.969 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2716, allocations: 0 / 405.3 MB, free: 3.969 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001621/0.2717, allocations: 84.97 kB / 405.4 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.64e-05/0.2718, allocations: 85.03 kB / 405.5 MB, free: 3.766 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.2718, allocations: 4.031 kB / 405.5 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.961e-05/0.2718, allocations: 0 / 405.5 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.059e-05/0.2719, allocations: 0 / 405.5 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.2719, allocations: 0 / 405.5 MB, free: 3.762 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.448e-05/0.2719, allocations: 79.28 kB / 405.6 MB, free: 3.684 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2719, allocations: 0 / 405.6 MB, free: 3.684 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003131/0.2722, allocations: 55.98 kB / 405.6 MB, free: 3.629 MB / 318.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.0002451/0.2725, allocations: 159.1 kB / 405.8 MB, free: 3.461 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.333e-05/0.2726, allocations: 16 kB / 405.8 MB, free: 3.445 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2726, allocations: 3.938 kB / 405.8 MB, free: 3.441 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.49e-05/0.2726, allocations: 4 kB / 405.8 MB, free: 3.438 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.2728, allocations: 7.984 kB / 405.8 MB, free: 3.43 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002919/0.2731, allocations: 130.4 kB / 405.9 MB, free: 3.277 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.2734, allocations: 0.6884 MB / 406.6 MB, free: 2.562 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.644e-05/0.2735, allocations: 0 / 406.6 MB, free: 2.562 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.24e-05/0.2735, allocations: 11.44 kB / 406.6 MB, free: 2.551 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2735, allocations: 3.938 kB / 406.6 MB, free: 2.547 MB / 318.1 MB Notification: Performance of Templates: time 0.003924/0.2774, allocations: 1.07 MB / 407.7 MB, free: 1.477 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches