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/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_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/Complex trunk/package.mo): time 0.001486/0.001486, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 225.6 MB / 234.8 MB, free: 3.293 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008902/0.0008902, allocations: 100.5 kB / 286.7 MB, free: 5.258 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.355e-05/1.358e-05, allocations: 4 kB / 343.7 MB, free: 8.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1356, allocations: 51.47 MB / 395.2 MB, free: 4.816 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.433/0.5686, allocations: 76.19 MB / 471.3 MB, free: 15.14 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001809/0.5689, allocations: 74.52 kB / 471.4 MB, free: 15.11 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01031/0.5792, allocations: 3.694 MB / 475.1 MB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.5792, allocations: 0.75 kB / 475.1 MB, free: 12.96 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.5792, allocations: 0 / 475.1 MB, free: 12.96 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.0003054/0.5796, allocations: 372.4 kB / 475.5 MB, free: 12.57 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.5796, allocations: 8.031 kB / 475.5 MB, free: 12.56 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.1e-05/0.5796, allocations: 0 / 475.5 MB, free: 12.56 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.5798, allocations: 165.7 kB / 475.6 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.5798, allocations: 0 / 475.6 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.5798, allocations: 2.812 kB / 475.7 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.695e-05/0.5799, allocations: 22.8 kB / 475.7 MB, free: 12.35 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.418e-05/0.58, allocations: 35.88 kB / 475.7 MB, free: 12.31 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.58, allocations: 0 / 475.7 MB, free: 12.31 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.58, allocations: 4 kB / 475.7 MB, free: 12.31 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.58, allocations: 0 / 475.7 MB, free: 12.31 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000126/0.5801, allocations: 132.3 kB / 475.8 MB, free: 12.15 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.228e-05/0.5802, allocations: 31.14 kB / 475.9 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.028e-05/0.5802, allocations: 4.859 kB / 475.9 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.5802, allocations: 5.875 kB / 475.9 MB, free: 12.1 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.5803, allocations: 46.2 kB / 475.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.774e-06/0.5803, allocations: 0 / 475.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001214/0.5804, allocations: 40.69 kB / 476 MB, free: 12.01 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.844e-05/0.5804, allocations: 51.41 kB / 476 MB, free: 11.95 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.522e-05/0.5805, allocations: 98.09 kB / 476.1 MB, free: 11.85 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.5805, allocations: 25.7 kB / 476.1 MB, free: 11.82 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.424e-05/0.5805, allocations: 80.14 kB / 476.2 MB, free: 11.73 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.5806, allocations: 17.42 kB / 476.2 MB, free: 11.72 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.5806, allocations: 0 / 476.2 MB, free: 11.72 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.984e-05/0.5806, allocations: 320.5 kB / 476.5 MB, free: 11.4 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.545e-05/0.5807, allocations: 7.5 kB / 476.6 MB, free: 11.4 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.165e-05/0.5807, allocations: 17.16 kB / 476.6 MB, free: 11.38 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.264e-05/0.5807, allocations: 6.016 kB / 476.6 MB, free: 11.38 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.5807, allocations: 2.812 kB / 476.6 MB, free: 11.38 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.111e-05/0.5808, allocations: 56.44 kB / 476.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.5808, allocations: 4 kB / 476.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.5808, allocations: 4.031 kB / 476.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.5809, allocations: 3.953 kB / 476.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.046e-05/0.5809, allocations: 9.359 kB / 476.7 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.5809, allocations: 1.922 kB / 476.7 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.074e-05/0.581, allocations: 4 kB / 476.7 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.581, allocations: 1.562 kB / 476.7 MB, free: 11.3 MB / 346.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 4.76e-05/0.581, allocations: 104.9 kB / 476.8 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.371e-05/0.5811, allocations: 11.72 kB / 476.8 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.01e-05/0.5811, allocations: 4.125 kB / 476.8 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.5811, allocations: 5.172 kB / 476.8 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5811, allocations: 3.953 kB / 476.8 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.5811, allocations: 0 / 476.8 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.11e-05/0.5812, allocations: 136.5 kB / 476.9 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.5812, allocations: 0.8906 kB / 476.9 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.153e-05/0.5813, allocations: 5.219 kB / 476.9 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.5813, allocations: 0 / 476.9 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.5813, allocations: 0 / 476.9 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.5813, allocations: 3.688 kB / 476.9 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5813, allocations: 4 kB / 476.9 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/0.5814, allocations: 78.47 kB / 477 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.52e-05/0.5815, allocations: 77.11 kB / 477.1 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.5815, allocations: 1.453 kB / 477.1 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.987e-05/0.5815, allocations: 3.938 kB / 477.1 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.731e-05/0.5815, allocations: 7.75 kB / 477.1 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.5815, allocations: 4 kB / 477.1 MB, free: 10.8 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.827e-05/0.5816, allocations: 80.73 kB / 477.2 MB, free: 10.73 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5816, allocations: 0 / 477.2 MB, free: 10.73 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003488/0.5819, allocations: 80.09 kB / 477.3 MB, free: 10.66 MB / 346.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.0002737/0.5822, allocations: 179.6 kB / 477.4 MB, free: 10.48 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.654e-05/0.5823, allocations: 15.31 kB / 477.5 MB, free: 10.47 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.5823, allocations: 0 / 477.5 MB, free: 10.47 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.081e-05/0.5823, allocations: 11.94 kB / 477.5 MB, free: 10.46 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.676e-05/0.5824, allocations: 1.359 kB / 477.5 MB, free: 10.46 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001964/0.5826, allocations: 84.61 kB / 477.5 MB, free: 10.36 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.5828, allocations: 0.6863 MB / 478.2 MB, free: 9.656 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.444e-05/0.5828, allocations: 5.125 kB / 478.2 MB, free: 9.652 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.759e-05/0.5828, allocations: 8.844 kB / 478.2 MB, free: 9.645 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5828, allocations: 0 / 478.2 MB, free: 9.645 MB / 346.7 MB Notification: Performance of Templates: time 0.003139/0.586, allocations: 1.052 MB / 479.3 MB, free: 9.043 MB / 346.7 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","../files/Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches