Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Math_Nonlinear_Examples_quadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.698/1.698, allocations: 171.1 MB / 186.7 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003411/0.0003412, allocations: 8 kB / 233.3 MB, free: 2.918 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08002/0.08039, allocations: 38.77 MB / 272.1 MB, free: 12.08 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3384/0.4188, allocations: 65.73 MB / 337.8 MB, free: 7.715 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003188/0.4192, allocations: 73.52 kB / 337.9 MB, free: 7.676 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02233/0.4416, allocations: 3.537 MB / 341.4 MB, free: 4.625 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.849e-06/0.4416, allocations: 0 / 341.4 MB, free: 4.625 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.4416, allocations: 7.938 kB / 341.5 MB, free: 4.617 MB / 266.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.0005936/0.4422, allocations: 386.4 kB / 341.8 MB, free: 4.195 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.4423, allocations: 8.031 kB / 341.8 MB, free: 4.188 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.518e-05/0.4424, allocations: 34.12 kB / 341.9 MB, free: 4.148 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.961e-05/0.4424, allocations: 0 / 341.9 MB, free: 4.148 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.4426, allocations: 175 kB / 342 MB, free: 3.938 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.4426, allocations: 3.953 kB / 342 MB, free: 3.934 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.4427, allocations: 7.906 kB / 342.1 MB, free: 3.926 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.4428, allocations: 37.08 kB / 342.1 MB, free: 3.887 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.4428, allocations: 0 / 342.1 MB, free: 3.887 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.4429, allocations: 0 / 342.1 MB, free: 3.887 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.4429, allocations: 0 / 342.1 MB, free: 3.887 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.007e-05/0.4429, allocations: 15.55 kB / 342.1 MB, free: 3.875 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002376/0.4432, allocations: 157.1 kB / 342.3 MB, free: 3.676 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.4433, allocations: 29.92 kB / 342.3 MB, free: 3.641 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.4434, allocations: 3.953 kB / 342.3 MB, free: 3.637 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.4434, allocations: 38.56 kB / 342.3 MB, free: 3.59 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.944e-06/0.4434, allocations: 3.938 kB / 342.3 MB, free: 3.586 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002058/0.4437, allocations: 49.22 kB / 342.4 MB, free: 3.535 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.4437, allocations: 54.84 kB / 342.4 MB, free: 3.473 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.4438, allocations: 89 kB / 342.5 MB, free: 3.379 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.4439, allocations: 25.7 kB / 342.5 MB, free: 3.348 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.632e-05/0.444, allocations: 158.1 kB / 342.7 MB, free: 3.195 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.923e-05/0.444, allocations: 11.8 kB / 342.7 MB, free: 3.184 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-06/0.444, allocations: 4 kB / 342.7 MB, free: 3.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.4442, allocations: 314.3 kB / 343 MB, free: 2.867 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.265e-05/0.4442, allocations: 4 kB / 343 MB, free: 2.863 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.24e-05/0.4443, allocations: 24.7 kB / 343 MB, free: 2.836 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.375e-05/0.4444, allocations: 7.562 kB / 343.1 MB, free: 2.832 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4444, allocations: 0 / 343.1 MB, free: 2.832 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001518/0.4445, allocations: 55.38 kB / 343.1 MB, free: 2.777 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/0.4446, allocations: 11.98 kB / 343.1 MB, free: 2.766 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.4446, allocations: 3.938 kB / 343.1 MB, free: 2.762 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.4446, allocations: 4.422 kB / 343.1 MB, free: 2.758 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.4448, allocations: 4 kB / 343.1 MB, free: 2.754 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.4448, allocations: 4 kB / 343.1 MB, free: 2.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.253e-05/0.4449, allocations: 0 / 343.1 MB, free: 2.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.4449, allocations: 3.75 kB / 343.1 MB, free: 2.75 MB / 266.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 0.0001071/0.445, allocations: 115.6 kB / 343.3 MB, free: 2.629 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.581e-05/0.445, allocations: 0 / 343.3 MB, free: 2.629 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.757e-05/0.4451, allocations: 22.8 kB / 343.3 MB, free: 2.602 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.4451, allocations: 4 kB / 343.3 MB, free: 2.598 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.4451, allocations: 0 / 343.3 MB, free: 2.598 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4451, allocations: 0 / 343.3 MB, free: 2.598 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.4453, allocations: 157 kB / 343.4 MB, free: 2.398 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4453, allocations: 0 / 343.4 MB, free: 2.398 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.4455, allocations: 8.688 kB / 343.4 MB, free: 2.391 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.4455, allocations: 0 / 343.4 MB, free: 2.391 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.4455, allocations: 0 / 343.4 MB, free: 2.391 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/0.4455, allocations: 3.953 kB / 343.4 MB, free: 2.387 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.4456, allocations: 0 / 343.4 MB, free: 2.387 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/0.4458, allocations: 87.64 kB / 343.5 MB, free: 2.289 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.304e-05/0.4459, allocations: 85.08 kB / 343.6 MB, free: 2.188 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/0.4459, allocations: 3.938 kB / 343.6 MB, free: 2.184 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.427e-05/0.4459, allocations: 0 / 343.6 MB, free: 2.184 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.085e-05/0.446, allocations: 3.953 kB / 343.6 MB, free: 2.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.446, allocations: 7.375 kB / 343.6 MB, free: 2.176 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.433e-05/0.4461, allocations: 83.27 kB / 343.7 MB, free: 2.094 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.4461, allocations: 4.062 kB / 343.7 MB, free: 2.09 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006491/0.4468, allocations: 67.62 kB / 343.8 MB, free: 2.027 MB / 266.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.000936/0.4477, allocations: 0.6781 MB / 344.5 MB, free: 1.324 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001317/0.4479, allocations: 23.17 kB / 344.5 MB, free: 1.305 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4479, allocations: 128 / 344.5 MB, free: 1.305 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.166e-05/0.4479, allocations: 15.69 kB / 344.5 MB, free: 1.293 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001805/0.4481, allocations: 7.891 kB / 344.5 MB, free: 1.285 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.4492, allocations: 0.6002 MB / 345.1 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.4496, allocations: 0.6809 MB / 345.8 MB, free: 15.94 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.583e-05/0.4496, allocations: 11 kB / 345.8 MB, free: 15.93 MB / 282.7 MB Notification: Performance of SimCode: time 1.032e-06/0.4497, allocations: 0 / 345.8 MB, free: 15.93 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.568/3.017, allocations: 1.438 MB / 347.2 MB, free: 14.49 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_res.mat does not exist to compare? outputFormat=mat