Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001069/0.00107, allocations: 199.8 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 229.5 MB / 247.7 MB, free: 6.344 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007682/0.0007682, allocations: 99.64 kB / 299.9 MB, free: 5.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001975/0.0001976, allocations: 4 kB / 360.6 MB, free: 8.484 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1889, allocations: 51.42 MB / 412.1 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.0004936/0.1894, allocations: 244 kB / 412.3 MB, free: 25.67 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.1909, allocations: 1.995 MB / 414.3 MB, free: 23.55 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.12e-05/0.1909, allocations: 0 / 414.3 MB, free: 23.55 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.125e-05/0.191, allocations: 0 / 414.3 MB, free: 23.55 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004516/0.1914, allocations: 129.2 kB / 414.4 MB, free: 23.43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.81e-05/0.1914, allocations: 7.984 kB / 414.4 MB, free: 23.42 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.578e-05/0.1915, allocations: 13.89 kB / 414.4 MB, free: 23.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.861e-05/0.1915, allocations: 7.984 kB / 414.4 MB, free: 23.4 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.293e-05/0.1916, allocations: 11.88 kB / 414.5 MB, free: 23.39 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.313e-05/0.1916, allocations: 3.984 kB / 414.5 MB, free: 23.39 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.576e-06/0.1916, allocations: 0 / 414.5 MB, free: 23.39 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002794/0.1919, allocations: 240.6 kB / 414.7 MB, free: 23.15 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.123e-05/0.1919, allocations: 3.984 kB / 414.7 MB, free: 23.15 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.213e-05/0.192, allocations: 33.64 kB / 414.7 MB, free: 23.11 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.1922, allocations: 175.7 kB / 414.9 MB, free: 22.94 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1922, allocations: 0 / 414.9 MB, free: 22.94 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1922, allocations: 0 / 414.9 MB, free: 22.94 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.025e-06/0.1922, allocations: 0 / 414.9 MB, free: 22.94 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.0002881/0.1925, allocations: 357.1 kB / 415.2 MB, free: 22.54 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.1925, allocations: 8.031 kB / 415.3 MB, free: 22.54 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.578e-05/0.1926, allocations: 4.938 kB / 415.3 MB, free: 22.53 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.383e-05/0.1927, allocations: 164.4 kB / 415.4 MB, free: 22.33 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.1927, allocations: 8.375 kB / 415.4 MB, free: 22.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.1927, allocations: 384 / 415.4 MB, free: 22.32 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.578e-05/0.1928, allocations: 45.94 kB / 415.5 MB, free: 22.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1928, allocations: 0 / 415.5 MB, free: 22.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.1928, allocations: 0 / 415.5 MB, free: 22.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.1928, allocations: 0 / 415.5 MB, free: 22.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.184e-05/0.1929, allocations: 4 kB / 415.5 MB, free: 22.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001229/0.193, allocations: 165.5 kB / 415.6 MB, free: 22.06 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.324e-05/0.1931, allocations: 34.61 kB / 415.7 MB, free: 22.02 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.731e-05/0.1931, allocations: 12.86 kB / 415.7 MB, free: 22 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/0.1931, allocations: 3.938 kB / 415.7 MB, free: 22 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.357e-05/0.1931, allocations: 38.5 kB / 415.7 MB, free: 21.95 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1931, allocations: 3.938 kB / 415.7 MB, free: 21.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001127/0.1932, allocations: 49.69 kB / 415.8 MB, free: 21.89 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.504e-05/0.1933, allocations: 51.41 kB / 415.8 MB, free: 21.83 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.179e-05/0.1933, allocations: 109.8 kB / 415.9 MB, free: 21.71 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.763e-06/0.1933, allocations: 25.7 kB / 416 MB, free: 21.68 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.547e-05/0.1934, allocations: 80.14 kB / 416 MB, free: 21.6 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.1934, allocations: 7.906 kB / 416 MB, free: 21.59 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.746e-06/0.1934, allocations: 0 / 416 MB, free: 21.59 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.959e-05/0.1934, allocations: 318.8 kB / 416.4 MB, free: 21.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.559e-05/0.1935, allocations: 11.94 kB / 416.4 MB, free: 21.26 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.93e-05/0.1935, allocations: 13.72 kB / 416.4 MB, free: 21.24 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.384e-05/0.1935, allocations: 34.08 kB / 416.4 MB, free: 21.2 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1935, allocations: 4 kB / 416.4 MB, free: 21.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.263e-05/0.1936, allocations: 57.53 kB / 416.5 MB, free: 21.13 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.1936, allocations: 7.938 kB / 416.5 MB, free: 21.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.1936, allocations: 48 / 416.5 MB, free: 21.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.1936, allocations: 4.109 kB / 416.5 MB, free: 21.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.553e-05/0.1937, allocations: 16 kB / 416.5 MB, free: 21.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.1937, allocations: 0 / 416.5 MB, free: 21.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.9e-05/0.1937, allocations: 8.031 kB / 416.5 MB, free: 21.1 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.828e-06/0.1937, allocations: 0 / 416.5 MB, free: 21.1 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.782e-05/0.1938, allocations: 113.8 kB / 416.6 MB, free: 20.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.775e-06/0.1938, allocations: 3.938 kB / 416.6 MB, free: 20.97 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.967e-05/0.1938, allocations: 11.48 kB / 416.6 MB, free: 20.95 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.1938, allocations: 0 / 416.6 MB, free: 20.95 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1938, allocations: 0 / 416.6 MB, free: 20.95 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.1939, allocations: 3.938 kB / 416.6 MB, free: 20.95 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.544e-05/0.1939, allocations: 157.7 kB / 416.8 MB, free: 20.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.1939, allocations: 0 / 416.8 MB, free: 20.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.34e-05/0.194, allocations: 8 kB / 416.8 MB, free: 20.74 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.194, allocations: 3.938 kB / 416.8 MB, free: 20.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.194, allocations: 7.938 kB / 416.8 MB, free: 20.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.194, allocations: 0 / 416.8 MB, free: 20.73 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.194, allocations: 0 / 416.8 MB, free: 20.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.359e-05/0.1941, allocations: 81.02 kB / 416.9 MB, free: 20.63 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.608e-05/0.1941, allocations: 81.05 kB / 417 MB, free: 20.53 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.1941, allocations: 4.031 kB / 417 MB, free: 20.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.692e-05/0.1942, allocations: 4.062 kB / 417 MB, free: 20.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.778e-06/0.1942, allocations: 0 / 417 MB, free: 20.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.1942, allocations: 0 / 417 MB, free: 20.52 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.424e-05/0.1942, allocations: 87.27 kB / 417.1 MB, free: 20.44 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1942, allocations: 3.938 kB / 417.1 MB, free: 20.43 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000231/0.1945, allocations: 55.94 kB / 417.1 MB, free: 20.38 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.000205/0.1947, allocations: 163.2 kB / 417.3 MB, free: 20.21 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.309e-05/0.1947, allocations: 19.98 kB / 417.3 MB, free: 20.19 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1947, allocations: 0 / 417.3 MB, free: 20.19 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.269e-05/0.1948, allocations: 8 kB / 417.3 MB, free: 20.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001267/0.1949, allocations: 7.875 kB / 417.3 MB, free: 20.17 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001976/0.1951, allocations: 142.8 kB / 417.5 MB, free: 20 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.178e-05/0.1952, allocations: 0.677 MB / 418.1 MB, free: 19.3 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.459e-05/0.1953, allocations: 8.062 kB / 418.1 MB, free: 19.29 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.452e-05/0.1953, allocations: 7.438 kB / 418.2 MB, free: 19.29 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1953, allocations: 3.938 kB / 418.2 MB, free: 19.28 MB / 298.7 MB Notification: Performance of Templates: time 0.002577/0.1979, allocations: 1.107 MB / 419.3 MB, free: 18.18 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/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