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.001195/0.001195, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001034/0.001034, allocations: 97.59 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008777/0.0008778, allocations: 51.92 kB / 356.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1863, allocations: 50.45 MB / 407.1 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001448/0.1877, allocations: 0.5851 MB / 407.6 MB, free: 27.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001437/0.1892, allocations: 1.582 MB / 409.2 MB, free: 25.63 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.821e-05/0.1893, allocations: 1.5 kB / 409.2 MB, free: 25.63 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.21e-05/0.1893, allocations: 0 / 409.2 MB, free: 25.63 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004049/0.1897, allocations: 134.3 kB / 409.4 MB, free: 25.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.663e-05/0.1897, allocations: 4 kB / 409.4 MB, free: 25.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.313e-05/0.1897, allocations: 11.92 kB / 409.4 MB, free: 25.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.441e-05/0.1898, allocations: 7.984 kB / 409.4 MB, free: 25.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.871e-05/0.1898, allocations: 11.94 kB / 409.4 MB, free: 25.46 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.566e-05/0.1899, allocations: 4 kB / 409.4 MB, free: 25.46 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.277e-06/0.1899, allocations: 4 kB / 409.4 MB, free: 25.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002665/0.1902, allocations: 243.7 kB / 409.6 MB, free: 25.22 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.977e-06/0.1902, allocations: 3.938 kB / 409.6 MB, free: 25.21 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.681e-05/0.1902, allocations: 7.984 kB / 409.6 MB, free: 25.21 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.1904, allocations: 175.7 kB / 409.8 MB, free: 25.04 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.1904, allocations: 0 / 409.8 MB, free: 25.04 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.1904, allocations: 4 kB / 409.8 MB, free: 25.03 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.445e-06/0.1904, allocations: 0 / 409.8 MB, free: 25.03 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.0002585/0.1907, allocations: 361 kB / 410.2 MB, free: 24.63 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.865e-05/0.1907, allocations: 8.031 kB / 410.2 MB, free: 24.62 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.729e-05/0.1907, allocations: 4.938 kB / 410.2 MB, free: 24.62 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.185e-05/0.1908, allocations: 164.3 kB / 410.3 MB, free: 24.42 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.256e-06/0.1908, allocations: 384 / 410.3 MB, free: 24.42 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.1909, allocations: 12.28 kB / 410.4 MB, free: 24.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.31e-05/0.1909, allocations: 45.92 kB / 410.4 MB, free: 24.36 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.1909, allocations: 0 / 410.4 MB, free: 24.36 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.162e-06/0.1909, allocations: 0 / 410.4 MB, free: 24.36 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.875e-06/0.191, allocations: 3.938 kB / 410.4 MB, free: 24.36 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.511e-05/0.191, allocations: 15.98 kB / 410.4 MB, free: 24.34 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.47e-05/0.1911, allocations: 161.7 kB / 410.6 MB, free: 24.13 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.794e-05/0.1911, allocations: 34.52 kB / 410.6 MB, free: 24.09 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.479e-05/0.1912, allocations: 4.859 kB / 410.6 MB, free: 24.08 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.031e-06/0.1912, allocations: 4 kB / 410.6 MB, free: 24.08 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.06e-05/0.1912, allocations: 38.58 kB / 410.7 MB, free: 24.03 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.1912, allocations: 4 kB / 410.7 MB, free: 24.03 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 9.388e-05/0.1913, allocations: 45.69 kB / 410.7 MB, free: 23.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.666e-05/0.1913, allocations: 59.34 kB / 410.8 MB, free: 23.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.688e-05/0.1914, allocations: 97.86 kB / 410.9 MB, free: 23.8 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.781e-06/0.1914, allocations: 25.7 kB / 410.9 MB, free: 23.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.591e-05/0.1914, allocations: 84.14 kB / 411 MB, free: 23.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/0.1914, allocations: 11.8 kB / 411 MB, free: 23.67 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-05/0.1915, allocations: 17.72 kB / 411 MB, free: 23.65 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.743e-05/0.1915, allocations: 318.8 kB / 411.3 MB, free: 23.33 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.508e-05/0.1915, allocations: 15.98 kB / 411.3 MB, free: 23.31 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.749e-05/0.1915, allocations: 17.72 kB / 411.3 MB, free: 23.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.045e-05/0.1916, allocations: 21.72 kB / 411.4 MB, free: 23.26 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1916, allocations: 4 kB / 411.4 MB, free: 23.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001066/0.1917, allocations: 57.62 kB / 411.4 MB, free: 23.2 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.998e-06/0.1917, allocations: 7.969 kB / 411.4 MB, free: 23.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.1917, allocations: 4 kB / 411.4 MB, free: 23.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.1917, allocations: 4 kB / 411.4 MB, free: 23.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.93e-05/0.1918, allocations: 7.984 kB / 411.4 MB, free: 23.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.1918, allocations: 4 kB / 411.5 MB, free: 23.17 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.799e-05/0.1918, allocations: 0 / 411.5 MB, free: 23.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-06/0.1918, allocations: 3.938 kB / 411.5 MB, free: 23.16 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.806e-05/0.1919, allocations: 115.3 kB / 411.6 MB, free: 23.04 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.157e-06/0.1919, allocations: 3.938 kB / 411.6 MB, free: 23.04 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.171e-05/0.1919, allocations: 11.5 kB / 411.6 MB, free: 23.02 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.1919, allocations: 432 / 411.6 MB, free: 23.02 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1919, allocations: 4 kB / 411.6 MB, free: 23.02 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.192, allocations: 0 / 411.6 MB, free: 23.02 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.241e-05/0.192, allocations: 157.6 kB / 411.7 MB, free: 22.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.192, allocations: 0 / 411.7 MB, free: 22.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.755e-05/0.1921, allocations: 15.91 kB / 411.8 MB, free: 22.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.1921, allocations: 7.938 kB / 411.8 MB, free: 22.79 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-06/0.1921, allocations: 0 / 411.8 MB, free: 22.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1921, allocations: 3.938 kB / 411.8 MB, free: 22.79 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1921, allocations: 0 / 411.8 MB, free: 22.79 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004857/0.1926, allocations: 0.9079 MB / 412.7 MB, free: 21.73 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.232e-05/0.1926, allocations: 81.09 kB / 412.8 MB, free: 21.64 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.224e-06/0.1927, allocations: 4.125 kB / 412.8 MB, free: 21.63 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.691e-05/0.1927, allocations: 8.031 kB / 412.8 MB, free: 21.62 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.316e-05/0.1927, allocations: 0 / 412.8 MB, free: 21.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.1927, allocations: 0 / 412.8 MB, free: 21.62 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.089e-05/0.1927, allocations: 79.28 kB / 412.8 MB, free: 21.55 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1927, allocations: 0 / 412.8 MB, free: 21.55 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003074/0.193, allocations: 59.98 kB / 412.9 MB, free: 21.49 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002039/0.1933, allocations: 151.2 kB / 413 MB, free: 21.33 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.351e-05/0.1933, allocations: 23.94 kB / 413.1 MB, free: 21.31 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1933, allocations: 4 kB / 413.1 MB, free: 21.3 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.274e-05/0.1934, allocations: 11.98 kB / 413.1 MB, free: 21.29 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001232/0.1935, allocations: 3.938 kB / 413.1 MB, free: 21.29 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002122/0.1937, allocations: 246.6 kB / 413.3 MB, free: 21.01 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.598e-05/0.1938, allocations: 0.6809 MB / 414 MB, free: 20.3 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.883e-05/0.1939, allocations: 8.062 kB / 414 MB, free: 20.29 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.22e-05/0.1939, allocations: 7.438 kB / 414 MB, free: 20.29 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1939, allocations: 0 / 414 MB, free: 20.29 MB / 298.7 MB Notification: Performance of Templates: time 0.002426/0.1963, allocations: 1.155 MB / 415.2 MB, free: 19.13 MB / 298.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@2/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