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: translateModel(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|q|qd",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") Notification: Performance of loadModel(Modelica): time 2.047/2.047, allocations: 194.8 MB / 212.3 MB, free: 3.016 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003666/0.0003669, allocations: 11.98 kB / 264.5 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09625/0.09665, allocations: 44.5 MB / 309 MB, free: 1.062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4095/0.5063, allocations: 71.03 MB / 380 MB, free: 14.93 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/0.5066, allocations: 74.69 kB / 380.1 MB, free: 14.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01655/0.5231, allocations: 3.545 MB / 383.6 MB, free: 14.45 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5232, allocations: 4 kB / 383.6 MB, free: 14.45 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.298e-05/0.5232, allocations: 0 / 383.6 MB, free: 14.45 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.0003986/0.5236, allocations: 376.7 kB / 384 MB, free: 14.06 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.5237, allocations: 10.33 kB / 384 MB, free: 14.06 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/0.5237, allocations: 4.406 kB / 384 MB, free: 14.06 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.5238, allocations: 171.5 kB / 384.2 MB, free: 13.86 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.5239, allocations: 0 / 384.2 MB, free: 13.86 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.5239, allocations: 1.781 kB / 384.2 MB, free: 13.86 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.396e-05/0.524, allocations: 37.02 kB / 384.2 MB, free: 13.83 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.524, allocations: 5.781 kB / 384.2 MB, free: 13.82 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.524, allocations: 0 / 384.2 MB, free: 13.82 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.524, allocations: 0.625 kB / 384.2 MB, free: 13.82 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.241e-05/0.5241, allocations: 19.52 kB / 384.2 MB, free: 13.81 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001587/0.5243, allocations: 165.8 kB / 384.4 MB, free: 13.62 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.529e-05/0.5244, allocations: 32.62 kB / 384.4 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.5244, allocations: 1.719 kB / 384.4 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.5244, allocations: 34.56 kB / 384.5 MB, free: 13.55 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.422e-06/0.5244, allocations: 0 / 384.5 MB, free: 13.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001592/0.5246, allocations: 52.8 kB / 384.5 MB, free: 13.52 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/0.5246, allocations: 52.95 kB / 384.6 MB, free: 13.45 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.482e-05/0.5247, allocations: 100.7 kB / 384.7 MB, free: 13.36 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.5247, allocations: 27.17 kB / 384.7 MB, free: 13.32 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.272e-05/0.5248, allocations: 150.6 kB / 384.8 MB, free: 13.18 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.5248, allocations: 14.42 kB / 384.8 MB, free: 13.17 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-06/0.5248, allocations: 5.469 kB / 384.9 MB, free: 13.16 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.57e-05/0.5249, allocations: 312.4 kB / 385.2 MB, free: 12.85 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.543e-05/0.5249, allocations: 7.594 kB / 385.2 MB, free: 12.85 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.55e-05/0.525, allocations: 19.41 kB / 385.2 MB, free: 12.84 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.471e-05/0.525, allocations: 8.375 kB / 385.2 MB, free: 12.84 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.525, allocations: 3.953 kB / 385.2 MB, free: 12.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001074/0.5252, allocations: 58.98 kB / 385.3 MB, free: 12.8 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.5252, allocations: 11.97 kB / 385.3 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.5252, allocations: 0 / 385.3 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.5252, allocations: 1.406 kB / 385.3 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.5253, allocations: 8.562 kB / 385.3 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.5253, allocations: 0 / 385.3 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.045e-05/0.5254, allocations: 1.953 kB / 385.3 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.5254, allocations: 1.406 kB / 385.3 MB, free: 12.79 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 6.061e-05/0.5255, allocations: 117.1 kB / 385.4 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.383e-05/0.5255, allocations: 9.297 kB / 385.4 MB, free: 12.67 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.967e-05/0.5255, allocations: 8.484 kB / 385.4 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.5255, allocations: 1.406 kB / 385.4 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.5256, allocations: 0 / 385.4 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.5256, allocations: 0.9375 kB / 385.4 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.043e-05/0.5257, allocations: 158.7 kB / 385.6 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.5257, allocations: 0 / 385.6 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.5258, allocations: 11.95 kB / 385.6 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.5258, allocations: 0 / 385.6 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.5258, allocations: 3.938 kB / 385.6 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.5258, allocations: 1.375 kB / 385.6 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5259, allocations: 0 / 385.6 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.526, allocations: 83.48 kB / 385.7 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.99e-05/0.526, allocations: 80.17 kB / 385.7 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.5261, allocations: 12.75 kB / 385.8 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.493e-05/0.5261, allocations: 0 / 385.8 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.594e-05/0.5261, allocations: 2.547 kB / 385.8 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.5261, allocations: 2.25 kB / 385.8 MB, free: 12.29 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.559e-05/0.5262, allocations: 80.77 kB / 385.8 MB, free: 12.21 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5262, allocations: 4.062 kB / 385.8 MB, free: 12.21 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004573/0.5267, allocations: 73.73 kB / 385.9 MB, free: 12.19 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.0003473/0.527, allocations: 168.1 kB / 386.1 MB, free: 12.08 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000107/0.5271, allocations: 17.36 kB / 386.1 MB, free: 12.08 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.5272, allocations: 1.188 kB / 386.1 MB, free: 12.08 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.376e-05/0.5272, allocations: 9.281 kB / 386.1 MB, free: 12.08 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001285/0.5273, allocations: 2.781 kB / 386.1 MB, free: 12.08 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002798/0.5276, allocations: 167.5 kB / 386.3 MB, free: 11.91 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.5278, allocations: 0.6813 MB / 387 MB, free: 11.22 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.255e-05/0.5278, allocations: 10.25 kB / 387 MB, free: 11.21 MB / 314.7 MB Notification: Performance of SimCode: time 6.21e-07/0.5278, allocations: 0 / 387 MB, free: 11.21 MB / 314.7 MB Notification: Performance of Templates: time 0.003838/0.5317, allocations: 1.228 MB / 388.2 MB, free: 11.08 MB / 314.7 MB