Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_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_Modelica_Math_Nonlinear_Examples_quadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.969/1.969, allocations: 171.2 MB / 186.1 MB, free: 1.117 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005301/0.0005297, allocations: 12 kB / 233.4 MB, free: 2.266 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1132, allocations: 38.77 MB / 272.1 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3584/0.4717, allocations: 65.73 MB / 337.9 MB, free: 7.168 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/0.472, allocations: 70.47 kB / 337.9 MB, free: 7.133 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01763/0.4896, allocations: 3.547 MB / 341.5 MB, free: 4.074 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4897, allocations: 0 / 341.5 MB, free: 4.074 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.4897, allocations: 0 / 341.5 MB, free: 4.074 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.0005729/0.4903, allocations: 386.6 kB / 341.8 MB, free: 3.652 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/0.4904, allocations: 16.03 kB / 341.9 MB, free: 3.637 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.258e-05/0.4904, allocations: 30.56 kB / 341.9 MB, free: 3.598 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.617e-05/0.4904, allocations: 0 / 341.9 MB, free: 3.598 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.4906, allocations: 167 kB / 342.1 MB, free: 3.395 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.4907, allocations: 3.953 kB / 342.1 MB, free: 3.391 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.4907, allocations: 7.781 kB / 342.1 MB, free: 3.387 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.4908, allocations: 37.62 kB / 342.1 MB, free: 3.344 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.4908, allocations: 0 / 342.1 MB, free: 3.344 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.4908, allocations: 0 / 342.1 MB, free: 3.344 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.4909, allocations: 4 kB / 342.1 MB, free: 3.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.471e-05/0.4909, allocations: 15.3 kB / 342.1 MB, free: 3.328 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002137/0.4911, allocations: 157.3 kB / 342.3 MB, free: 3.129 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.595e-05/0.4913, allocations: 33.83 kB / 342.3 MB, free: 3.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.4913, allocations: 3.953 kB / 342.3 MB, free: 3.086 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.4913, allocations: 34.64 kB / 342.3 MB, free: 3.043 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.4913, allocations: 0 / 342.3 MB, free: 3.043 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001839/0.4915, allocations: 49.5 kB / 342.4 MB, free: 2.992 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.4916, allocations: 59.22 kB / 342.5 MB, free: 2.926 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.92e-05/0.4917, allocations: 89 kB / 342.5 MB, free: 2.832 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.4917, allocations: 25.7 kB / 342.6 MB, free: 2.801 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.144e-05/0.4918, allocations: 83.77 kB / 342.6 MB, free: 2.719 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.783e-05/0.4918, allocations: 15.8 kB / 342.7 MB, free: 2.703 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.4918, allocations: 0 / 342.7 MB, free: 2.703 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.492, allocations: 313.9 kB / 343 MB, free: 2.391 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.762e-05/0.492, allocations: 11.69 kB / 343 MB, free: 2.383 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.372e-05/0.4921, allocations: 23.64 kB / 343 MB, free: 2.355 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.71e-05/0.4921, allocations: 12.25 kB / 343 MB, free: 2.348 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.4922, allocations: 0 / 343 MB, free: 2.348 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001288/0.4923, allocations: 59.86 kB / 343.1 MB, free: 2.289 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.4923, allocations: 9.359 kB / 343.1 MB, free: 2.281 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.4923, allocations: 3.938 kB / 343.1 MB, free: 2.277 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.4924, allocations: 4 kB / 343.1 MB, free: 2.273 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.4925, allocations: 4.875 kB / 343.1 MB, free: 2.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.4925, allocations: 12.02 kB / 343.1 MB, free: 2.258 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.105e-05/0.4926, allocations: 0 / 343.1 MB, free: 2.258 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.4926, allocations: 0 / 343.1 MB, free: 2.258 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 9.296e-05/0.4927, allocations: 113.7 kB / 343.2 MB, free: 2.141 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.232e-05/0.4927, allocations: 0 / 343.2 MB, free: 2.141 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.957e-05/0.4927, allocations: 11.44 kB / 343.2 MB, free: 2.121 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.4928, allocations: 0 / 343.2 MB, free: 2.121 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4928, allocations: 4 kB / 343.2 MB, free: 2.117 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.4928, allocations: 128 / 343.2 MB, free: 2.117 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.493, allocations: 172.7 kB / 343.4 MB, free: 1.906 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.493, allocations: 0 / 343.4 MB, free: 1.906 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.4931, allocations: 4 kB / 343.4 MB, free: 1.902 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.4931, allocations: 7.938 kB / 343.4 MB, free: 1.895 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-06/0.4932, allocations: 0 / 343.4 MB, free: 1.895 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.4932, allocations: 3.953 kB / 343.4 MB, free: 1.891 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.4932, allocations: 3.938 kB / 343.4 MB, free: 1.887 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.4934, allocations: 74.42 kB / 343.5 MB, free: 1.801 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.814e-05/0.4934, allocations: 81.17 kB / 343.6 MB, free: 1.703 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.4935, allocations: 4.031 kB / 343.6 MB, free: 1.699 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.603e-05/0.4935, allocations: 0 / 343.6 MB, free: 1.699 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.325e-05/0.4935, allocations: 7.203 kB / 343.6 MB, free: 1.695 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.4935, allocations: 0 / 343.6 MB, free: 1.695 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.419e-05/0.4936, allocations: 83.27 kB / 343.7 MB, free: 1.613 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.4936, allocations: 0 / 343.7 MB, free: 1.613 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004453/0.4941, allocations: 66.94 kB / 343.7 MB, free: 1.551 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.0007614/0.4948, allocations: 0.6911 MB / 344.4 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001075/0.495, allocations: 19.3 kB / 344.4 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.495, allocations: 0 / 344.4 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.74e-05/0.495, allocations: 15 kB / 344.5 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001286/0.4952, allocations: 3.953 kB / 344.5 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008612/0.496, allocations: 0.5814 MB / 345 MB, free: 200 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.4964, allocations: 0.6809 MB / 345.7 MB, free: 15.49 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.142e-05/0.4964, allocations: 8 kB / 345.7 MB, free: 15.48 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.704e-05/0.4965, allocations: 15.42 kB / 345.7 MB, free: 15.46 MB / 282.7 MB Notification: Performance of SimCode: time 9.92e-07/0.4965, allocations: 0 / 345.7 MB, free: 15.46 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03166/0.5282, allocations: 1.738 MB / 347.5 MB, free: 13.79 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003549/0.5286, allocations: 181.3 kB / 347.7 MB, free: 13.55 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.516/3.044, allocations: 0 / 347.7 MB, free: 13.55 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_res.mat does not exist to compare? outputFormat=mat