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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 180.2 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008856/0.0008857, allocations: 92 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003621/0.0003621, allocations: 8 kB / 351.1 MB, free: 15.33 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2841, allocations: 50.41 MB / 401.5 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08602/0.3702, allocations: 76.1 MB / 477.6 MB, free: 4.406 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000179/0.3704, allocations: 79.89 kB / 477.7 MB, free: 4.328 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01035/0.3807, allocations: 3.627 MB / 481.3 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3808, allocations: 0 / 481.3 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.3808, allocations: 0 / 481.3 MB, free: 0.7031 MB / 346.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.0003242/0.3811, allocations: 387.1 kB / 481.7 MB, free: 284 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.3812, allocations: 8.031 kB / 481.7 MB, free: 276 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.52e-05/0.3812, allocations: 3.906 kB / 481.7 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.3813, allocations: 171 kB / 481.8 MB, free: 60 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.3813, allocations: 0 / 481.8 MB, free: 60 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.3814, allocations: 4 kB / 481.9 MB, free: 56 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.84e-05/0.3814, allocations: 37.69 kB / 481.9 MB, free: 12 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.3814, allocations: 0 / 481.9 MB, free: 12 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.154e-06/0.3815, allocations: 0 / 481.9 MB, free: 12 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.3815, allocations: 7.953 kB / 481.9 MB, free: 4 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.515e-05/0.3815, allocations: 8.047 kB / 481.9 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001404/0.3817, allocations: 153.7 kB / 482.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.858e-05/0.3817, allocations: 34.52 kB / 482.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.246e-06/0.3818, allocations: 0 / 482.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.3818, allocations: 34.56 kB / 482.1 MB, free: 15.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.3818, allocations: 4 kB / 482.1 MB, free: 15.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001161/0.3819, allocations: 45.78 kB / 482.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.382, allocations: 55.41 kB / 482.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.09e-05/0.3821, allocations: 96.94 kB / 482.3 MB, free: 15.49 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.3821, allocations: 29.64 kB / 482.3 MB, free: 15.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.554e-05/0.3821, allocations: 88.14 kB / 482.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.3821, allocations: 7.812 kB / 482.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-06/0.3822, allocations: 0 / 482.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.028e-05/0.3822, allocations: 322.8 kB / 482.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.541e-05/0.3823, allocations: 4 kB / 482.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.882e-05/0.3823, allocations: 25.72 kB / 482.8 MB, free: 15 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.308e-05/0.3823, allocations: 16.3 kB / 482.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3823, allocations: 0 / 482.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.655e-05/0.3824, allocations: 53.62 kB / 482.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.3824, allocations: 4 kB / 482.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.3825, allocations: 7.984 kB / 482.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.3825, allocations: 4.031 kB / 482.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.302e-05/0.3825, allocations: 8 kB / 482.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.3825, allocations: 0 / 482.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.087e-05/0.3826, allocations: 3.906 kB / 482.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.3826, allocations: 11.95 kB / 482.9 MB, free: 14.88 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.083e-05/0.3827, allocations: 105.8 kB / 483 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.215e-06/0.3827, allocations: 0 / 483 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.504e-05/0.3827, allocations: 11.5 kB / 483 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.3827, allocations: 0 / 483 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.3827, allocations: 7.984 kB / 483 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3827, allocations: 0 / 483 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.3828, allocations: 165.5 kB / 483.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3828, allocations: 0 / 483.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.364e-05/0.3829, allocations: 11.94 kB / 483.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3829, allocations: 0 / 483.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.3829, allocations: 4 kB / 483.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3829, allocations: 0 / 483.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3829, allocations: 0 / 483.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.3831, allocations: 77.08 kB / 483.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.888e-05/0.3831, allocations: 89.03 kB / 483.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.3831, allocations: 4 kB / 483.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.769e-05/0.3832, allocations: 0 / 483.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.177e-05/0.3832, allocations: 0 / 483.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.3832, allocations: 4 kB / 483.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.484e-05/0.3832, allocations: 83.27 kB / 483.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3832, allocations: 0 / 483.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002688/0.3835, allocations: 67.88 kB / 483.5 MB, free: 14.16 MB / 362.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 (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.0002798/0.3838, allocations: 175.1 kB / 483.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.367e-05/0.3839, allocations: 19.94 kB / 483.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3839, allocations: 0 / 483.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.376e-05/0.3839, allocations: 7.984 kB / 483.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000104/0.384, allocations: 11.89 kB / 483.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000232/0.3843, allocations: 130.8 kB / 483.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.3845, allocations: 0.6888 MB / 484.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.879e-05/0.3846, allocations: 4 kB / 484.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.615e-05/0.3846, allocations: 7.438 kB / 484.5 MB, free: 13.06 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3846, allocations: 0 / 484.5 MB, free: 13.06 MB / 362.7 MB Notification: Performance of Templates: time 0.002935/0.3875, allocations: 1.028 MB / 485.6 MB, free: 12.04 MB / 362.7 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","../files/Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches