Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") translateModel(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|q|qd",fileNamePrefix="Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001472/0.001473, allocations: 172.6 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 205.2 MB / 219.8 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00101/0.001011, allocations: 93.91 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.404e-05/2.408e-05, allocations: 0 / 322.4 MB, free: 17.37 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09396/0.094, allocations: 47.58 MB / 370 MB, free: 1.723 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2951/0.3891, allocations: 75.18 MB / 445.2 MB, free: 2.102 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001896/0.3893, allocations: 79.39 kB / 445.3 MB, free: 2.059 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01022/0.3996, allocations: 3.541 MB / 448.8 MB, free: 15.01 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3996, allocations: 0 / 448.8 MB, free: 15.01 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.3997, allocations: 0 / 448.8 MB, free: 15.01 MB / 330.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.0003098/0.4, allocations: 380.1 kB / 449.2 MB, free: 14.6 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.4, allocations: 8.031 kB / 449.2 MB, free: 14.59 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.919e-05/0.4001, allocations: 4.625 kB / 449.2 MB, free: 14.59 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.4002, allocations: 167 kB / 449.4 MB, free: 14.38 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.4002, allocations: 3.688 kB / 449.4 MB, free: 14.38 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.4002, allocations: 7.953 kB / 449.4 MB, free: 14.38 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.841e-05/0.4003, allocations: 33.69 kB / 449.4 MB, free: 14.34 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.4003, allocations: 0 / 449.4 MB, free: 14.34 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.4004, allocations: 0 / 449.4 MB, free: 14.34 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.4004, allocations: 0 / 449.4 MB, free: 14.34 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.475e-05/0.4004, allocations: 11.5 kB / 449.4 MB, free: 14.33 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001524/0.4006, allocations: 163.1 kB / 449.6 MB, free: 14.12 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.814e-05/0.4006, allocations: 34.27 kB / 449.6 MB, free: 14.09 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.224e-05/0.4007, allocations: 12.69 kB / 449.6 MB, free: 14.07 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.858e-06/0.4007, allocations: 7.938 kB / 449.6 MB, free: 14.07 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.665e-05/0.4007, allocations: 30.56 kB / 449.7 MB, free: 14.03 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.4007, allocations: 0 / 449.7 MB, free: 14.03 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001159/0.4008, allocations: 45.33 kB / 449.7 MB, free: 13.98 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.4009, allocations: 55.39 kB / 449.8 MB, free: 13.91 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.081e-05/0.401, allocations: 93 kB / 449.9 MB, free: 13.82 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.401, allocations: 25.7 kB / 449.9 MB, free: 13.79 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.541e-05/0.401, allocations: 87.64 kB / 450 MB, free: 13.7 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/0.4011, allocations: 7.812 kB / 450 MB, free: 13.69 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-06/0.4011, allocations: 3.562 kB / 450 MB, free: 13.69 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.4012, allocations: 318.8 kB / 450.3 MB, free: 13.37 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.647e-05/0.4012, allocations: 7.312 kB / 450.3 MB, free: 13.37 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.572e-05/0.4012, allocations: 17.72 kB / 450.3 MB, free: 13.34 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.199e-05/0.4013, allocations: 7.688 kB / 450.3 MB, free: 13.34 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.4013, allocations: 0 / 450.3 MB, free: 13.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.833e-05/0.4013, allocations: 61.34 kB / 450.4 MB, free: 13.28 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.4014, allocations: 7.953 kB / 450.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.4014, allocations: 3.938 kB / 450.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.4014, allocations: 0 / 450.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.644e-05/0.4015, allocations: 15.92 kB / 450.4 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.4015, allocations: 0.7031 kB / 450.4 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.096e-05/0.4015, allocations: 11.66 kB / 450.4 MB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.4015, allocations: 0 / 450.4 MB, free: 13.24 MB / 330.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.161e-05/0.4016, allocations: 101 kB / 450.5 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.628e-06/0.4016, allocations: 11.84 kB / 450.5 MB, free: 13.12 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.028e-05/0.4016, allocations: 10.95 kB / 450.5 MB, free: 13.11 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.4016, allocations: 0 / 450.5 MB, free: 13.11 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.4017, allocations: 0 / 450.5 MB, free: 13.11 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.4017, allocations: 0 / 450.5 MB, free: 13.11 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.4018, allocations: 158.1 kB / 450.7 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4018, allocations: 0 / 450.7 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.043e-05/0.4018, allocations: 11.98 kB / 450.7 MB, free: 12.9 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.4019, allocations: 0 / 450.7 MB, free: 12.9 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-06/0.4019, allocations: 4 kB / 450.7 MB, free: 12.9 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.4019, allocations: 3.953 kB / 450.7 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.4019, allocations: 128 / 450.7 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.402, allocations: 75.75 kB / 450.8 MB, free: 12.81 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.531e-05/0.402, allocations: 77.11 kB / 450.9 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.4021, allocations: 4.031 kB / 450.9 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.707e-05/0.4021, allocations: 4.062 kB / 450.9 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.214e-05/0.4021, allocations: 11.88 kB / 450.9 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-06/0.4021, allocations: 0 / 450.9 MB, free: 12.7 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.698e-05/0.4022, allocations: 82.78 kB / 451 MB, free: 12.62 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4022, allocations: 4 kB / 451 MB, free: 12.61 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000261/0.4024, allocations: 67.86 kB / 451 MB, free: 12.55 MB / 330.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002692/0.4027, allocations: 170.5 kB / 451.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.478e-05/0.4028, allocations: 23.44 kB / 451.2 MB, free: 12.35 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4028, allocations: 0 / 451.2 MB, free: 12.35 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.416e-05/0.4028, allocations: 7.938 kB / 451.2 MB, free: 12.34 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.229e-05/0.4029, allocations: 11.88 kB / 451.2 MB, free: 12.34 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001891/0.4031, allocations: 97.12 kB / 451.3 MB, free: 12.22 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002002/0.4033, allocations: 0.6848 MB / 452 MB, free: 11.51 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.173e-05/0.4034, allocations: 0 / 452 MB, free: 11.51 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.223e-05/0.4034, allocations: 11.5 kB / 452 MB, free: 11.5 MB / 330.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4034, allocations: 4 kB / 452 MB, free: 11.5 MB / 330.7 MB Notification: Performance of Templates: time 0.00289/0.4063, allocations: 1.031 MB / 453.1 MB, free: 10.48 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.makefile (rm -f Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; mkfifo Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe >> ../files/Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.sim & ./Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Math/Nonlinear/Examples/quadratureLobatto3/quadratureLobatto3.csv","../files/Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches