Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Math_Nonlinear_Examples_quadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.954/1.954, allocations: 194.8 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003874/0.0003875, allocations: 12 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09608/0.0965, allocations: 44.5 MB / 308.5 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4275/0.5241, allocations: 71.04 MB / 379.6 MB, free: 14.51 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000312/0.5244, allocations: 79.3 kB / 379.6 MB, free: 14.51 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01748/0.5419, allocations: 3.541 MB / 383.2 MB, free: 14.04 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.542, allocations: 0 / 383.2 MB, free: 14.04 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.542, allocations: 5.406 kB / 383.2 MB, free: 14.04 MB / 314.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.0005635/0.5426, allocations: 378.3 kB / 383.6 MB, free: 13.65 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.18e-05/0.5427, allocations: 8.656 kB / 383.6 MB, free: 13.65 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.858e-05/0.5427, allocations: 34.28 kB / 383.6 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.311e-05/0.5428, allocations: 7.906 kB / 383.6 MB, free: 13.6 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.5429, allocations: 175.3 kB / 383.8 MB, free: 13.4 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.543, allocations: 0 / 383.8 MB, free: 13.4 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.877e-05/0.543, allocations: 5.688 kB / 383.8 MB, free: 13.39 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.5431, allocations: 41.39 kB / 383.8 MB, free: 13.36 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.5432, allocations: 0 / 383.8 MB, free: 13.36 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.5432, allocations: 0 / 383.8 MB, free: 13.36 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.5432, allocations: 0 / 383.8 MB, free: 13.36 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.321e-05/0.5433, allocations: 8.828 kB / 383.8 MB, free: 13.36 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002062/0.5435, allocations: 164.3 kB / 384 MB, free: 13.16 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.5436, allocations: 38.69 kB / 384 MB, free: 13.14 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.5436, allocations: 2.062 kB / 384 MB, free: 13.14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.5437, allocations: 33.88 kB / 384.1 MB, free: 13.1 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.803e-06/0.5437, allocations: 0 / 384.1 MB, free: 13.1 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002039/0.5439, allocations: 46.41 kB / 384.1 MB, free: 13.07 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.5439, allocations: 51.41 kB / 384.2 MB, free: 13 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.838e-05/0.544, allocations: 98.64 kB / 384.3 MB, free: 12.91 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.5441, allocations: 26.92 kB / 384.3 MB, free: 12.88 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.717e-05/0.5441, allocations: 150.6 kB / 384.4 MB, free: 12.73 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.788e-05/0.5442, allocations: 14.69 kB / 384.4 MB, free: 12.72 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-06/0.5442, allocations: 0 / 384.4 MB, free: 12.72 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.136e-05/0.5443, allocations: 321.1 kB / 384.8 MB, free: 12.41 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.455e-05/0.5443, allocations: 2.969 kB / 384.8 MB, free: 12.41 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.166e-05/0.5444, allocations: 25.2 kB / 384.8 MB, free: 12.39 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.05e-05/0.5445, allocations: 15.08 kB / 384.8 MB, free: 12.38 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.5445, allocations: 3.953 kB / 384.8 MB, free: 12.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001554/0.5447, allocations: 55.75 kB / 384.9 MB, free: 12.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.5447, allocations: 4.531 kB / 384.9 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.5447, allocations: 2.297 kB / 384.9 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.5447, allocations: 0 / 384.9 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.5449, allocations: 9.234 kB / 384.9 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.5449, allocations: 1.5 kB / 384.9 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.478e-05/0.545, allocations: 4.031 kB / 384.9 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.545, allocations: 1.406 kB / 384.9 MB, free: 12.34 MB / 314.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 7.476e-05/0.5451, allocations: 113 kB / 385 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.116e-05/0.5451, allocations: 9.078 kB / 385 MB, free: 12.22 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.751e-05/0.5452, allocations: 5.891 kB / 385 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.5452, allocations: 4 kB / 385 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.5452, allocations: 3.938 kB / 385 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.5452, allocations: 0.9375 kB / 385 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.5453, allocations: 157.9 kB / 385.2 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.5454, allocations: 4 kB / 385.2 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.5455, allocations: 12.55 kB / 385.2 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.5455, allocations: 0 / 385.2 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.5456, allocations: 3.25 kB / 385.2 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.5456, allocations: 5.5 kB / 385.2 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5456, allocations: 1.359 kB / 385.2 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001812/0.5458, allocations: 72.92 kB / 385.3 MB, free: 11.94 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.041e-05/0.5458, allocations: 86.98 kB / 385.4 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.5459, allocations: 10.62 kB / 385.4 MB, free: 11.83 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.503e-05/0.5459, allocations: 0 / 385.4 MB, free: 11.83 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.575e-05/0.546, allocations: 2.375 kB / 385.4 MB, free: 11.83 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.546, allocations: 1.344 kB / 385.4 MB, free: 11.83 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.647e-05/0.546, allocations: 84.55 kB / 385.5 MB, free: 11.76 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5461, allocations: 0 / 385.5 MB, free: 11.76 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007053/0.5468, allocations: 65.39 kB / 385.5 MB, free: 11.74 MB / 314.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.000759/0.5475, allocations: 0.6809 MB / 386.2 MB, free: 11.12 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001278/0.5477, allocations: 18.62 kB / 386.2 MB, free: 11.12 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.5477, allocations: 0 / 386.2 MB, free: 11.12 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.241e-05/0.5478, allocations: 12.11 kB / 386.2 MB, free: 11.12 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001839/0.548, allocations: 12.58 kB / 386.2 MB, free: 11.11 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009595/0.5489, allocations: 0.5993 MB / 386.8 MB, free: 10.57 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/0.5491, allocations: 0.6814 MB / 387.5 MB, free: 9.871 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.491e-05/0.5492, allocations: 13.56 kB / 387.5 MB, free: 9.867 MB / 314.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5492, allocations: 96 / 387.5 MB, free: 9.867 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.821/3.371, allocations: 1.445 MB / 389 MB, free: 9.723 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_res.mat does not exist to compare? outputFormat=mat