Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|q|qd",fileNamePrefix="Modelica_trunk_cpp_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_cpp_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00203/0.00203, allocations: 203.8 kB / 18.07 MB, free: 3.641 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 3.079/3.079, allocations: 226.5 MB / 245.4 MB, free: 6.426 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001236/0.001236, allocations: 100.2 kB / 297.4 MB, free: 6.684 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.004518/0.004518, allocations: 8 kB / 357.4 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7122/0.7168, allocations: 51.29 MB / 408.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2334/0.9502, allocations: 76.85 MB / 485.5 MB, free: 14.76 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004234/0.9508, allocations: 71.97 kB / 485.6 MB, free: 14.69 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01803/0.9688, allocations: 3.717 MB / 489.3 MB, free: 10.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.837e-06/0.9689, allocations: 0 / 489.3 MB, free: 10.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.317e-06/0.9689, allocations: 0 / 489.3 MB, free: 10.98 MB / 362.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.0006687/0.9696, allocations: 375.4 kB / 489.7 MB, free: 10.56 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.028e-05/0.9697, allocations: 12.03 kB / 489.7 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.336e-05/0.9697, allocations: 4.844 kB / 489.7 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/0.97, allocations: 164.4 kB / 489.8 MB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.97, allocations: 8.375 kB / 489.8 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.9701, allocations: 384 / 489.8 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.9702, allocations: 42.19 kB / 489.9 MB, free: 10.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.9702, allocations: 192 / 489.9 MB, free: 10.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.9703, allocations: 3.938 kB / 489.9 MB, free: 10.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.9703, allocations: 0 / 489.9 MB, free: 10.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.016e-05/0.9703, allocations: 11.94 kB / 489.9 MB, free: 10.28 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002961/0.9707, allocations: 157.6 kB / 490.1 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.9708, allocations: 42.59 kB / 490.1 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.503e-05/0.9709, allocations: 16.8 kB / 490.1 MB, free: 10 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.9709, allocations: 0 / 490.1 MB, free: 10 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.518e-05/0.971, allocations: 30.56 kB / 490.1 MB, free: 9.965 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.971, allocations: 0 / 490.1 MB, free: 9.965 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.00029/0.9713, allocations: 57.56 kB / 490.2 MB, free: 9.902 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.584e-05/0.9714, allocations: 51.41 kB / 490.2 MB, free: 9.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.9715, allocations: 105.8 kB / 490.4 MB, free: 9.727 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/0.9716, allocations: 29.7 kB / 490.4 MB, free: 9.691 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.965e-05/0.9716, allocations: 80.14 kB / 490.5 MB, free: 9.609 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.394e-05/0.9717, allocations: 7.906 kB / 490.5 MB, free: 9.602 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-06/0.9717, allocations: 4 kB / 490.5 MB, free: 9.598 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002044/0.9719, allocations: 314.8 kB / 490.8 MB, free: 9.281 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.097e-05/0.972, allocations: 8 kB / 490.8 MB, free: 9.273 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.241e-05/0.972, allocations: 13.72 kB / 490.8 MB, free: 9.254 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.9722, allocations: 41.64 kB / 490.8 MB, free: 9.207 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.9722, allocations: 0 / 490.8 MB, free: 9.207 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001449/0.9723, allocations: 53.59 kB / 490.9 MB, free: 9.148 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.73e-05/0.9724, allocations: 7.938 kB / 490.9 MB, free: 9.141 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.9724, allocations: 3.938 kB / 490.9 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.806e-05/0.9724, allocations: 4 kB / 490.9 MB, free: 9.133 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.9726, allocations: 8 kB / 490.9 MB, free: 9.125 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.9726, allocations: 4 kB / 490.9 MB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.08e-05/0.9727, allocations: 0 / 490.9 MB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.9727, allocations: 4.156 kB / 490.9 MB, free: 9.117 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 0.0001572/0.9729, allocations: 109.8 kB / 491 MB, free: 9 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.297e-05/0.9729, allocations: 0 / 491 MB, free: 9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.163e-05/0.973, allocations: 19.42 kB / 491 MB, free: 8.977 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.973, allocations: 0 / 491 MB, free: 8.977 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.973, allocations: 4 kB / 491.1 MB, free: 8.973 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.973, allocations: 0 / 491.1 MB, free: 8.973 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/0.9733, allocations: 153.7 kB / 491.2 MB, free: 8.773 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.9733, allocations: 0 / 491.2 MB, free: 8.773 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.9734, allocations: 12 kB / 491.2 MB, free: 8.762 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.9735, allocations: 0 / 491.2 MB, free: 8.762 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.9735, allocations: 3.938 kB / 491.2 MB, free: 8.758 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.016e-06/0.9735, allocations: 7.922 kB / 491.2 MB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.9735, allocations: 3.938 kB / 491.2 MB, free: 8.746 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002613/0.9738, allocations: 85.38 kB / 491.3 MB, free: 8.645 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.9739, allocations: 85.17 kB / 491.4 MB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.78e-05/0.974, allocations: 3.938 kB / 491.4 MB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.607e-05/0.974, allocations: 4.062 kB / 491.4 MB, free: 8.535 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/0.9741, allocations: 0 / 491.4 MB, free: 8.535 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.9741, allocations: 0 / 491.4 MB, free: 8.535 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.734e-05/0.9742, allocations: 87.27 kB / 491.5 MB, free: 8.449 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.9742, allocations: 0 / 491.5 MB, free: 8.449 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007025/0.9749, allocations: 79.8 kB / 491.6 MB, free: 8.371 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.000551/0.9755, allocations: 171.1 kB / 491.7 MB, free: 8.191 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001442/0.9756, allocations: 19.92 kB / 491.8 MB, free: 8.172 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.9757, allocations: 4.062 kB / 491.8 MB, free: 8.168 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.535e-05/0.9757, allocations: 12 kB / 491.8 MB, free: 8.156 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.976, allocations: 2.406 kB / 491.8 MB, free: 8.156 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006015/0.9766, allocations: 160.5 kB / 491.9 MB, free: 7.969 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004927/0.9771, allocations: 0.6809 MB / 492.6 MB, free: 7.262 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.338e-05/0.9772, allocations: 7.438 kB / 492.6 MB, free: 7.254 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.9772, allocations: 0 / 492.6 MB, free: 7.254 MB / 362.7 MB Notification: Performance of Templates: time 0.004833/0.982, allocations: 1.193 MB / 493.8 MB, free: 6.066 MB / 362.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.makefile (rm -f Modelica_trunk_cpp_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_trunk_cpp_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & ./Modelica_trunk_cpp_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3 --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Math/Nonlinear/Examples/QuadratureLobatto3/QuadratureLobatto3.csv","../files/Modelica_trunk_cpp_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches