Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|q|qd",fileNamePrefix="Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") translateModel(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|q|qd",fileNamePrefix="Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008783/0.0008785, allocations: 177.9 kB / 16.71 MB, free: 5.09 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 225.7 MB / 243.2 MB, free: 8.488 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007183/0.0007183, allocations: 92.88 kB / 294.4 MB, free: 9.523 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002493/0.0002494, allocations: 7.938 kB / 354.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.1885, allocations: 50.42 MB / 404.6 MB, free: 31.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.0005081/0.1891, allocations: 253.7 kB / 404.8 MB, free: 31.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.1905, allocations: 1.708 MB / 406.5 MB, free: 29.33 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.299e-05/0.1905, allocations: 2.094 kB / 406.5 MB, free: 29.33 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.862e-05/0.1906, allocations: 0 / 406.5 MB, free: 29.33 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004291/0.191, allocations: 128.2 kB / 406.7 MB, free: 29.21 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.642e-05/0.191, allocations: 1.562 kB / 406.7 MB, free: 29.21 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.671e-05/0.1911, allocations: 23.91 kB / 406.7 MB, free: 29.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.74e-05/0.1911, allocations: 0 / 406.7 MB, free: 29.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.193e-05/0.1911, allocations: 4 kB / 406.7 MB, free: 29.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.414e-05/0.1912, allocations: 13.39 kB / 406.7 MB, free: 29.17 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.1912, allocations: 0 / 406.7 MB, free: 29.17 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002786/0.1915, allocations: 227.7 kB / 406.9 MB, free: 28.95 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.237e-05/0.1915, allocations: 4 kB / 406.9 MB, free: 28.94 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.873e-05/0.1916, allocations: 34.64 kB / 407 MB, free: 28.9 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002047/0.1918, allocations: 171.6 kB / 407.1 MB, free: 28.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1918, allocations: 5.938 kB / 407.1 MB, free: 28.73 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1918, allocations: 0 / 407.1 MB, free: 28.73 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.1918, allocations: 0 / 407.1 MB, free: 28.73 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.0003351/0.1921, allocations: 347.5 kB / 407.5 MB, free: 28.34 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.1922, allocations: 12.84 kB / 407.5 MB, free: 28.33 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.388e-05/0.1922, allocations: 0.9375 kB / 407.5 MB, free: 28.33 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.075e-05/0.1923, allocations: 180.8 kB / 407.7 MB, free: 28.12 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.1923, allocations: 384 / 407.7 MB, free: 28.12 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.1924, allocations: 384 / 407.7 MB, free: 28.12 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.6e-05/0.1924, allocations: 38.02 kB / 407.7 MB, free: 28.08 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.1924, allocations: 3.984 kB / 407.7 MB, free: 28.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.214e-06/0.1925, allocations: 0 / 407.7 MB, free: 28.07 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1925, allocations: 4 kB / 407.7 MB, free: 28.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.118e-05/0.1925, allocations: 4 kB / 407.7 MB, free: 28.07 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001214/0.1926, allocations: 158.9 kB / 407.9 MB, free: 27.86 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.459e-05/0.1927, allocations: 46.53 kB / 407.9 MB, free: 27.81 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.894e-05/0.1927, allocations: 8.859 kB / 407.9 MB, free: 27.8 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.337e-06/0.1927, allocations: 0 / 407.9 MB, free: 27.8 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.1928, allocations: 38.5 kB / 408 MB, free: 27.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1928, allocations: 0 / 408 MB, free: 27.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001305/0.1929, allocations: 49.69 kB / 408 MB, free: 27.7 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.022e-05/0.1929, allocations: 51.41 kB / 408.1 MB, free: 27.63 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.515e-05/0.193, allocations: 113.8 kB / 408.2 MB, free: 27.51 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.19e-06/0.193, allocations: 25.7 kB / 408.2 MB, free: 27.48 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.71e-05/0.193, allocations: 84.14 kB / 408.3 MB, free: 27.39 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.193, allocations: 15.78 kB / 408.3 MB, free: 27.38 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.434e-06/0.1931, allocations: 0 / 408.3 MB, free: 27.38 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.722e-05/0.1931, allocations: 318.8 kB / 408.6 MB, free: 27.06 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.525e-05/0.1931, allocations: 4 kB / 408.6 MB, free: 27.05 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.039e-05/0.1931, allocations: 17.72 kB / 408.6 MB, free: 27.03 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.585e-05/0.1932, allocations: 29.72 kB / 408.6 MB, free: 27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1932, allocations: 0 / 408.6 MB, free: 27 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.719e-05/0.1933, allocations: 61.53 kB / 408.7 MB, free: 26.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.1933, allocations: 7.938 kB / 408.7 MB, free: 26.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1933, allocations: 4 kB / 408.7 MB, free: 26.92 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.1933, allocations: 3.984 kB / 408.7 MB, free: 26.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.166e-05/0.1934, allocations: 8 kB / 408.7 MB, free: 26.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.1934, allocations: 0 / 408.7 MB, free: 26.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.956e-05/0.1934, allocations: 4.031 kB / 408.7 MB, free: 26.9 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.1934, allocations: 0 / 408.7 MB, free: 26.9 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 4.779e-05/0.1935, allocations: 121.7 kB / 408.9 MB, free: 26.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.035e-06/0.1935, allocations: 7.875 kB / 408.9 MB, free: 26.77 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.338e-05/0.1935, allocations: 3.5 kB / 408.9 MB, free: 26.75 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1935, allocations: 4 kB / 408.9 MB, free: 26.75 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.1935, allocations: 0 / 408.9 MB, free: 26.75 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.1936, allocations: 3.984 kB / 408.9 MB, free: 26.75 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.238e-05/0.1936, allocations: 149.7 kB / 409 MB, free: 26.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1936, allocations: 3.984 kB / 409 MB, free: 26.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.648e-05/0.1937, allocations: 12 kB / 409 MB, free: 26.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1937, allocations: 3.938 kB / 409 MB, free: 26.53 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.1937, allocations: 0 / 409 MB, free: 26.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1937, allocations: 0 / 409 MB, free: 26.53 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1937, allocations: 0 / 409 MB, free: 26.53 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.933e-05/0.1938, allocations: 81.39 kB / 409.1 MB, free: 26.43 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.006e-05/0.1939, allocations: 89.06 kB / 409.2 MB, free: 26.33 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.1939, allocations: 0 / 409.2 MB, free: 26.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.684e-05/0.1939, allocations: 4.062 kB / 409.2 MB, free: 26.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.216e-05/0.1939, allocations: 48 / 409.2 MB, free: 26.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.1939, allocations: 7.984 kB / 409.2 MB, free: 26.32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.306e-05/0.194, allocations: 83.28 kB / 409.3 MB, free: 26.23 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.194, allocations: 0 / 409.3 MB, free: 26.23 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002163/0.1942, allocations: 55.92 kB / 409.4 MB, free: 26.18 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.0002017/0.1944, allocations: 156.6 kB / 409.5 MB, free: 26.02 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.345e-05/0.1945, allocations: 20 kB / 409.5 MB, free: 26 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1945, allocations: 0 / 409.5 MB, free: 26 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.252e-05/0.1945, allocations: 11.94 kB / 409.5 MB, free: 25.98 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001271/0.1946, allocations: 3.984 kB / 409.5 MB, free: 25.98 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001967/0.1948, allocations: 138.8 kB / 409.7 MB, free: 25.82 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.453e-05/0.1949, allocations: 0.6809 MB / 410.4 MB, free: 25.11 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.809e-05/0.195, allocations: 12.05 kB / 410.4 MB, free: 25.1 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.37e-05/0.195, allocations: 7.438 kB / 410.4 MB, free: 25.09 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.195, allocations: 0 / 410.4 MB, free: 25.09 MB / 298.7 MB Notification: Performance of Templates: time 0.002553/0.1976, allocations: 1.052 MB / 411.4 MB, free: 24.04 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.makefile (rm -f Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & ./Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches