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.0009634/0.0009634, allocations: 195.9 kB / 17.05 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.209/1.209, allocations: 226.5 MB / 244.3 MB, free: 6.59 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007002/0.0007002, allocations: 106.9 kB / 296.4 MB, free: 6.781 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001904/0.0001904, allocations: 4 kB / 356.2 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1751, allocations: 51.3 MB / 407.5 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.0004393/0.1756, allocations: 244.6 kB / 407.7 MB, free: 27.56 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.1767, allocations: 1.476 MB / 409.2 MB, free: 26.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.869e-05/0.1768, allocations: 0 / 409.2 MB, free: 26.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.126e-06/0.1768, allocations: 0 / 409.2 MB, free: 26.07 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003826/0.1772, allocations: 126.2 kB / 409.3 MB, free: 25.95 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.618e-05/0.1772, allocations: 7.922 kB / 409.3 MB, free: 25.95 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.042e-05/0.1772, allocations: 8 kB / 409.3 MB, free: 25.94 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.086e-05/0.1773, allocations: 7.984 kB / 409.4 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.901e-05/0.1773, allocations: 10.44 kB / 409.4 MB, free: 25.92 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.988e-05/0.1774, allocations: 7.984 kB / 409.4 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.1774, allocations: 4 kB / 409.4 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002476/0.1776, allocations: 231.7 kB / 409.6 MB, free: 25.68 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.182e-06/0.1776, allocations: 3.938 kB / 409.6 MB, free: 25.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.58e-05/0.1777, allocations: 29.7 kB / 409.6 MB, free: 25.64 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.1778, allocations: 124.5 kB / 409.8 MB, free: 25.52 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.1778, allocations: 0 / 409.8 MB, free: 25.52 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1778, allocations: 0.625 kB / 409.8 MB, free: 25.52 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.846e-06/0.1778, allocations: 0 / 409.8 MB, free: 25.52 MB / 298.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.000256/0.1781, allocations: 362 kB / 410.1 MB, free: 25.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.624e-05/0.1781, allocations: 8.031 kB / 410.1 MB, free: 25.12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.146e-05/0.1781, allocations: 0 / 410.1 MB, free: 25.12 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.551e-05/0.1782, allocations: 168 kB / 410.3 MB, free: 24.91 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.1782, allocations: 0 / 410.3 MB, free: 24.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.1783, allocations: 1.188 kB / 410.3 MB, free: 24.91 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.759e-05/0.1783, allocations: 45.58 kB / 410.3 MB, free: 24.86 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.1784, allocations: 4 kB / 410.3 MB, free: 24.86 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.971e-06/0.1784, allocations: 3.531 kB / 410.3 MB, free: 24.86 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-06/0.1784, allocations: 0 / 410.3 MB, free: 24.86 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.533e-05/0.1784, allocations: 7.984 kB / 410.3 MB, free: 24.85 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.955e-05/0.1785, allocations: 153.6 kB / 410.5 MB, free: 24.65 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.046e-05/0.1786, allocations: 34.61 kB / 410.5 MB, free: 24.61 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.695e-05/0.1786, allocations: 12.86 kB / 410.5 MB, free: 24.59 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.915e-06/0.1786, allocations: 4 kB / 410.5 MB, free: 24.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.245e-05/0.1786, allocations: 38.45 kB / 410.6 MB, free: 24.54 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.1786, allocations: 0 / 410.6 MB, free: 24.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.000101/0.1787, allocations: 49.69 kB / 410.6 MB, free: 24.49 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.608e-05/0.1788, allocations: 59.39 kB / 410.7 MB, free: 24.42 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.454e-05/0.1788, allocations: 97.86 kB / 410.8 MB, free: 24.31 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.37e-06/0.1788, allocations: 25.7 kB / 410.8 MB, free: 24.28 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.35e-05/0.1788, allocations: 80.14 kB / 410.9 MB, free: 24.2 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.1789, allocations: 19.89 kB / 410.9 MB, free: 24.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.444e-06/0.1789, allocations: 3.938 kB / 410.9 MB, free: 24.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.355e-05/0.1789, allocations: 310.8 kB / 411.2 MB, free: 23.86 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.387e-05/0.1789, allocations: 8 kB / 411.2 MB, free: 23.86 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.861e-05/0.1789, allocations: 25.64 kB / 411.2 MB, free: 23.82 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.814e-05/0.179, allocations: 8 kB / 411.3 MB, free: 23.82 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.179, allocations: 0 / 411.3 MB, free: 23.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.998e-05/0.179, allocations: 61.59 kB / 411.3 MB, free: 23.75 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.808e-06/0.1791, allocations: 4 kB / 411.3 MB, free: 23.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.1791, allocations: 8.078 kB / 411.3 MB, free: 23.74 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.807e-06/0.1791, allocations: 0 / 411.3 MB, free: 23.74 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.229e-05/0.1791, allocations: 15.94 kB / 411.3 MB, free: 23.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.1792, allocations: 3.938 kB / 411.3 MB, free: 23.72 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.837e-05/0.1792, allocations: 432 / 411.3 MB, free: 23.72 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-06/0.1792, allocations: 0 / 411.3 MB, free: 23.72 MB / 298.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 3.554e-05/0.1792, allocations: 113.8 kB / 411.5 MB, free: 23.6 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.434e-06/0.1792, allocations: 4.031 kB / 411.5 MB, free: 23.59 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.883e-05/0.1793, allocations: 7.484 kB / 411.5 MB, free: 23.58 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1793, allocations: 11.94 kB / 411.5 MB, free: 23.57 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.1793, allocations: 0 / 411.5 MB, free: 23.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.1793, allocations: 0 / 411.5 MB, free: 23.57 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.205e-05/0.1793, allocations: 153.7 kB / 411.6 MB, free: 23.37 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.1793, allocations: 0 / 411.6 MB, free: 23.37 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.297e-05/0.1794, allocations: 8 kB / 411.6 MB, free: 23.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1794, allocations: 0 / 411.6 MB, free: 23.36 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.1794, allocations: 0 / 411.6 MB, free: 23.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1794, allocations: 0 / 411.6 MB, free: 23.36 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1794, allocations: 7.953 kB / 411.6 MB, free: 23.35 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.015e-05/0.1795, allocations: 84.95 kB / 411.7 MB, free: 23.25 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.609e-05/0.1795, allocations: 81.14 kB / 411.8 MB, free: 23.15 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.021e-05/0.1796, allocations: 0 / 411.8 MB, free: 23.15 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.713e-05/0.1796, allocations: 0 / 411.8 MB, free: 23.15 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.311e-05/0.1796, allocations: 3.953 kB / 411.8 MB, free: 23.15 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.1796, allocations: 4 kB / 411.8 MB, free: 23.14 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.091e-05/0.1796, allocations: 91.33 kB / 411.9 MB, free: 23.05 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1796, allocations: 0 / 411.9 MB, free: 23.05 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002298/0.1799, allocations: 48 kB / 411.9 MB, free: 23.01 MB / 298.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.0001776/0.1801, allocations: 155.2 kB / 412.1 MB, free: 22.84 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.92e-05/0.1801, allocations: 23.92 kB / 412.1 MB, free: 22.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.1801, allocations: 0 / 412.1 MB, free: 22.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.014e-05/0.1801, allocations: 8 kB / 412.1 MB, free: 22.81 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001227/0.1803, allocations: 7.875 kB / 412.1 MB, free: 22.8 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000167/0.1804, allocations: 160.4 kB / 412.3 MB, free: 22.61 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.125e-05/0.1805, allocations: 0.6809 MB / 413 MB, free: 21.91 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.333e-05/0.1805, allocations: 7.438 kB / 413 MB, free: 21.9 MB / 298.7 MB Notification: Performance of SimCode: time 2.01e-07/0.1806, allocations: 0 / 413 MB, free: 21.9 MB / 298.7 MB Notification: Performance of Templates: time 0.001875/0.1824, allocations: 1.187 MB / 414.2 MB, free: 20.71 MB / 298.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/jenkins/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