Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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_Modelica_Math_Nonlinear_Examples_quadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.095/2.095, allocations: 194.9 MB / 211.1 MB, free: 7.598 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003527/0.0003527, allocations: 8 kB / 264.1 MB, free: 2.52 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2948, allocations: 44.5 MB / 308.6 MB, free: 12.67 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1322/0.4271, allocations: 71.05 MB / 379.6 MB, free: 5.523 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/0.4275, allocations: 71.95 kB / 379.7 MB, free: 5.453 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01918/0.4467, allocations: 3.538 MB / 383.2 MB, free: 1.906 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.417e-06/0.4467, allocations: 0 / 383.2 MB, free: 1.906 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.006e-06/0.4468, allocations: 0 / 383.2 MB, free: 1.906 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.000851/0.4476, allocations: 379.2 kB / 383.6 MB, free: 1.488 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.812e-05/0.4477, allocations: 12.03 kB / 383.6 MB, free: 1.477 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.746e-05/0.4478, allocations: 30.56 kB / 383.6 MB, free: 1.438 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.981e-05/0.4479, allocations: 3.906 kB / 383.6 MB, free: 1.434 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/0.4482, allocations: 175 kB / 383.8 MB, free: 1.223 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.4482, allocations: 4 kB / 383.8 MB, free: 1.219 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.354e-05/0.4483, allocations: 0 / 383.8 MB, free: 1.219 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.4485, allocations: 47.84 kB / 383.9 MB, free: 1.168 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.4485, allocations: 0 / 383.9 MB, free: 1.168 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.4485, allocations: 0 / 383.9 MB, free: 1.168 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.4485, allocations: 4 kB / 383.9 MB, free: 1.164 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.092e-05/0.4486, allocations: 8 kB / 383.9 MB, free: 1.156 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003149/0.449, allocations: 161.6 kB / 384 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.4491, allocations: 42.55 kB / 384.1 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.4492, allocations: 0 / 384.1 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.759e-05/0.4492, allocations: 30.56 kB / 384.1 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 2.074e-06/0.4492, allocations: 0 / 384.1 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002383/0.4495, allocations: 45.78 kB / 384.1 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.132e-05/0.4496, allocations: 55.41 kB / 384.2 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.4497, allocations: 101 kB / 384.3 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.4498, allocations: 25.7 kB / 384.3 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.74e-05/0.4499, allocations: 80.14 kB / 384.4 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.714e-05/0.4499, allocations: 15.81 kB / 384.4 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.631e-06/0.4499, allocations: 0 / 384.4 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001995/0.4502, allocations: 310.8 kB / 384.7 MB, free: 200 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.986e-05/0.4502, allocations: 15.92 kB / 384.7 MB, free: 184 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.491e-05/0.4503, allocations: 21.41 kB / 384.8 MB, free: 160 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.848e-05/0.4504, allocations: 15.94 kB / 384.8 MB, free: 144 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.535e-06/0.4504, allocations: 3.953 kB / 384.8 MB, free: 140 kB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002295/0.4507, allocations: 57.62 kB / 384.8 MB, free: 76 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.926e-05/0.4507, allocations: 4 kB / 384.8 MB, free: 72 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.4507, allocations: 0 / 384.8 MB, free: 72 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/0.4508, allocations: 4 kB / 384.8 MB, free: 68 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.451, allocations: 4 kB / 384.8 MB, free: 64 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.774e-05/0.451, allocations: 7.984 kB / 384.9 MB, free: 56 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.204e-05/0.4511, allocations: 3.906 kB / 384.9 MB, free: 52 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.4511, allocations: 4.031 kB / 384.9 MB, free: 48 kB / 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 0.0001827/0.4513, allocations: 113.8 kB / 385 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.818e-05/0.4514, allocations: 3.953 kB / 385 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.638e-05/0.4514, allocations: 3.5 kB / 385 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.4515, allocations: 0 / 385 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.4515, allocations: 4 kB / 385 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.4515, allocations: 432 / 385 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002514/0.4518, allocations: 157.6 kB / 385.1 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.4518, allocations: 128 / 385.1 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001922/0.452, allocations: 11.95 kB / 385.1 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.155e-05/0.4521, allocations: 11.98 kB / 385.2 MB, free: 15.69 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.4521, allocations: 0 / 385.2 MB, free: 15.69 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.4521, allocations: 0 / 385.2 MB, free: 15.69 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.4521, allocations: 3.938 kB / 385.2 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003415/0.4525, allocations: 77.11 kB / 385.2 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.418e-05/0.4526, allocations: 81.02 kB / 385.3 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.732e-05/0.4527, allocations: 7.984 kB / 385.3 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.063e-05/0.4527, allocations: 64 / 385.3 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.174e-05/0.4528, allocations: 7.984 kB / 385.3 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.587e-06/0.4528, allocations: 0 / 385.3 MB, free: 15.48 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.559e-05/0.4529, allocations: 83.28 kB / 385.4 MB, free: 15.39 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.453, allocations: 0 / 385.4 MB, free: 15.39 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007056/0.4537, allocations: 67.86 kB / 385.5 MB, free: 15.33 MB / 330.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.001262/0.455, allocations: 0.6865 MB / 386.2 MB, free: 14.61 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001718/0.4552, allocations: 16 kB / 386.2 MB, free: 14.6 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.4552, allocations: 0 / 386.2 MB, free: 14.6 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.889e-05/0.4553, allocations: 15.92 kB / 386.2 MB, free: 14.58 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.4555, allocations: 3.953 kB / 386.2 MB, free: 14.58 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.4568, allocations: 0.582 MB / 386.8 MB, free: 13.94 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/0.4572, allocations: 0.6809 MB / 387.5 MB, free: 13.23 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.83e-05/0.4573, allocations: 11.97 kB / 387.5 MB, free: 13.22 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.779e-05/0.4574, allocations: 11.44 kB / 387.5 MB, free: 13.21 MB / 330.7 MB Notification: Performance of SimCode: time 1.503e-06/0.4574, allocations: 0 / 387.5 MB, free: 13.21 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02449/0.4819, allocations: 1.734 MB / 389.2 MB, free: 11.52 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002549/0.4822, allocations: 181.8 kB / 389.4 MB, free: 11.28 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.659/3.141, allocations: 3.938 kB / 389.4 MB, free: 11.28 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_res.mat does not exist to compare? outputFormat=mat