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.001947/0.001947, allocations: 195.3 kB / 17.38 MB, free: 4.312 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 226.5 MB / 244.7 MB, free: 6.445 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000949/0.000949, allocations: 103.5 kB / 296.8 MB, free: 6.688 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002252/0.0002253, allocations: 8 kB / 356.7 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.1893, allocations: 51.3 MB / 408 MB, free: 27.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.0005219/0.1898, allocations: 248.6 kB / 408.3 MB, free: 27.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.1912, allocations: 1.472 MB / 409.8 MB, free: 25.98 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.165e-05/0.1912, allocations: 0 / 409.8 MB, free: 25.98 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.468e-06/0.1912, allocations: 0 / 409.8 MB, free: 25.98 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004425/0.1917, allocations: 125.1 kB / 409.9 MB, free: 25.86 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.615e-05/0.1917, allocations: 4 kB / 409.9 MB, free: 25.86 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.707e-05/0.1917, allocations: 15 kB / 409.9 MB, free: 25.85 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.858e-05/0.1918, allocations: 3.984 kB / 409.9 MB, free: 25.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.223e-05/0.1918, allocations: 15.88 kB / 409.9 MB, free: 25.83 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.792e-05/0.1919, allocations: 7.984 kB / 409.9 MB, free: 25.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.009e-05/0.1919, allocations: 0 / 409.9 MB, free: 25.82 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002657/0.1922, allocations: 235.7 kB / 410.2 MB, free: 25.59 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.018e-05/0.1922, allocations: 7.922 kB / 410.2 MB, free: 25.58 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.086e-05/0.1922, allocations: 30.27 kB / 410.2 MB, free: 25.55 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.1924, allocations: 119.8 kB / 410.3 MB, free: 25.43 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1924, allocations: 1.156 kB / 410.3 MB, free: 25.43 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1924, allocations: 0 / 410.3 MB, free: 25.43 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.1924, allocations: 4 kB / 410.3 MB, free: 25.43 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.0002918/0.1927, allocations: 353.3 kB / 410.7 MB, free: 25.04 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.1927, allocations: 12.03 kB / 410.7 MB, free: 25.02 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.488e-05/0.1927, allocations: 4.875 kB / 410.7 MB, free: 25.02 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.37e-05/0.1928, allocations: 174.2 kB / 410.8 MB, free: 24.81 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-06/0.1929, allocations: 4.375 kB / 410.9 MB, free: 24.81 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.1929, allocations: 1.312 kB / 410.9 MB, free: 24.81 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.472e-05/0.193, allocations: 41.98 kB / 410.9 MB, free: 24.76 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.193, allocations: 1.25 kB / 410.9 MB, free: 24.76 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.193, allocations: 0 / 410.9 MB, free: 24.76 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.193, allocations: 0 / 410.9 MB, free: 24.76 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.99e-05/0.193, allocations: 12 kB / 410.9 MB, free: 24.75 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001168/0.1932, allocations: 158.4 kB / 411.1 MB, free: 24.55 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.276e-05/0.1932, allocations: 43.23 kB / 411.1 MB, free: 24.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.747e-05/0.1932, allocations: 8.859 kB / 411.1 MB, free: 24.48 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-06/0.1933, allocations: 0 / 411.1 MB, free: 24.48 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.489e-05/0.1933, allocations: 34.5 kB / 411.1 MB, free: 24.44 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.1933, allocations: 0 / 411.1 MB, free: 24.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001108/0.1934, allocations: 57.62 kB / 411.2 MB, free: 24.38 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.102e-05/0.1934, allocations: 51.41 kB / 411.3 MB, free: 24.32 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.315e-05/0.1935, allocations: 105.8 kB / 411.4 MB, free: 24.2 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.261e-06/0.1935, allocations: 25.7 kB / 411.4 MB, free: 24.17 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.026e-05/0.1935, allocations: 84.14 kB / 411.5 MB, free: 24.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/0.1936, allocations: 7.906 kB / 411.5 MB, free: 24.08 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/0.1936, allocations: 0 / 411.5 MB, free: 24.08 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.74e-05/0.1936, allocations: 318.8 kB / 411.8 MB, free: 23.76 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.464e-05/0.1936, allocations: 4 kB / 411.8 MB, free: 23.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.959e-05/0.1937, allocations: 17.72 kB / 411.8 MB, free: 23.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.534e-05/0.1937, allocations: 33.72 kB / 411.8 MB, free: 23.69 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.1937, allocations: 7.922 kB / 411.8 MB, free: 23.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.284e-05/0.1938, allocations: 49.61 kB / 411.9 MB, free: 23.63 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.1938, allocations: 7.938 kB / 411.9 MB, free: 23.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1938, allocations: 3.984 kB / 411.9 MB, free: 23.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.1938, allocations: 7.938 kB / 411.9 MB, free: 23.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.459e-05/0.1939, allocations: 4 kB / 411.9 MB, free: 23.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.902e-06/0.1939, allocations: 7.938 kB / 411.9 MB, free: 23.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.791e-05/0.1939, allocations: 0 / 411.9 MB, free: 23.6 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-06/0.1939, allocations: 4.031 kB / 411.9 MB, free: 23.59 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.972e-05/0.194, allocations: 113.8 kB / 412 MB, free: 23.47 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.366e-06/0.194, allocations: 8 kB / 412 MB, free: 23.46 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.006e-05/0.194, allocations: 3.5 kB / 412 MB, free: 23.45 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.194, allocations: 4.422 kB / 412.1 MB, free: 23.45 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.194, allocations: 7.984 kB / 412.1 MB, free: 23.44 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-06/0.194, allocations: 0 / 412.1 MB, free: 23.44 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.663e-05/0.1941, allocations: 153.7 kB / 412.2 MB, free: 23.24 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1941, allocations: 0 / 412.2 MB, free: 23.24 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-05/0.1942, allocations: 12 kB / 412.2 MB, free: 23.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1942, allocations: 7.922 kB / 412.2 MB, free: 23.22 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.1942, allocations: 0 / 412.2 MB, free: 23.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1942, allocations: 0 / 412.2 MB, free: 23.22 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1942, allocations: 0 / 412.2 MB, free: 23.22 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.242e-05/0.1943, allocations: 80.97 kB / 412.3 MB, free: 23.12 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.954e-05/0.1943, allocations: 89.06 kB / 412.4 MB, free: 23.02 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.1943, allocations: 0 / 412.4 MB, free: 23.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.781e-05/0.1944, allocations: 8.062 kB / 412.4 MB, free: 23.01 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.351e-05/0.1944, allocations: 0 / 412.4 MB, free: 23.01 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.1944, allocations: 0 / 412.4 MB, free: 23.01 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.256e-05/0.1944, allocations: 83.27 kB / 412.5 MB, free: 22.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1944, allocations: 0 / 412.5 MB, free: 22.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002231/0.1946, allocations: 56 kB / 412.5 MB, free: 22.88 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.0002058/0.1949, allocations: 147.2 kB / 412.7 MB, free: 22.72 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.535e-05/0.1949, allocations: 19.94 kB / 412.7 MB, free: 22.7 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1949, allocations: 4.062 kB / 412.7 MB, free: 22.7 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.204e-05/0.195, allocations: 11.98 kB / 412.7 MB, free: 22.68 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/0.1951, allocations: 10.34 kB / 412.7 MB, free: 22.68 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001949/0.1953, allocations: 164.1 kB / 412.9 MB, free: 22.48 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.665e-05/0.1954, allocations: 0.6809 MB / 413.6 MB, free: 21.77 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.524e-05/0.1954, allocations: 7.438 kB / 413.6 MB, free: 21.77 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1954, allocations: 4 kB / 413.6 MB, free: 21.76 MB / 298.7 MB Notification: Performance of Templates: time 0.002144/0.1976, allocations: 1.19 MB / 414.8 MB, free: 20.57 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