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.158/2.158, allocations: 194.9 MB / 211.1 MB, free: 8.539 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003438/0.0003439, allocations: 8 kB / 264 MB, free: 3.473 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2897, allocations: 44.51 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.0007494/0.2905, allocations: 269.1 kB / 308.8 MB, free: 12.51 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002446/0.2929, allocations: 1.426 MB / 310.2 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.467e-05/0.293, allocations: 0 / 310.2 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.482e-05/0.293, allocations: 0 / 310.2 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006408/0.2937, allocations: 131.5 kB / 310.4 MB, free: 10.94 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.19e-05/0.2937, allocations: 7.969 kB / 310.4 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 4.438e-05/0.2938, allocations: 4 kB / 310.4 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.371e-05/0.2938, allocations: 0 / 310.4 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.525e-05/0.2939, allocations: 8 kB / 310.4 MB, free: 10.92 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.215e-05/0.294, allocations: 15.91 kB / 310.4 MB, free: 10.9 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.294, allocations: 0 / 310.4 MB, free: 10.9 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004899/0.2945, allocations: 223.7 kB / 310.6 MB, free: 10.68 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.957e-06/0.2945, allocations: 0 / 310.6 MB, free: 10.68 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.554e-05/0.2946, allocations: 25.7 kB / 310.7 MB, free: 10.65 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002766/0.2949, allocations: 123.8 kB / 310.8 MB, free: 10.53 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.2949, allocations: 0 / 310.8 MB, free: 10.53 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2949, allocations: 0 / 310.8 MB, free: 10.53 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.566e-06/0.2949, allocations: 0 / 310.8 MB, free: 10.53 MB / 250.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.0004547/0.2954, allocations: 351.4 kB / 311.1 MB, free: 10.14 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.2954, allocations: 8.031 kB / 311.1 MB, free: 10.13 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.683e-05/0.2955, allocations: 30.56 kB / 311.2 MB, free: 10.09 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.441e-05/0.2955, allocations: 7.906 kB / 311.2 MB, free: 10.09 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.2957, allocations: 172 kB / 311.3 MB, free: 9.879 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.2957, allocations: 3.984 kB / 311.3 MB, free: 9.875 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.2957, allocations: 4 kB / 311.3 MB, free: 9.871 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.318e-05/0.2958, allocations: 37.64 kB / 311.4 MB, free: 9.828 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.2958, allocations: 0 / 311.4 MB, free: 9.828 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.2959, allocations: 0 / 311.4 MB, free: 9.828 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.2959, allocations: 3.984 kB / 311.4 MB, free: 9.824 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.186e-05/0.2959, allocations: 4 kB / 311.4 MB, free: 9.82 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001892/0.2961, allocations: 165.6 kB / 311.5 MB, free: 9.609 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.41e-05/0.2962, allocations: 38.55 kB / 311.6 MB, free: 9.562 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.2963, allocations: 4 kB / 311.6 MB, free: 9.559 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.2963, allocations: 34.56 kB / 311.6 MB, free: 9.516 MB / 250.7 MB Notification: Performance of pre-optimization done (n=3): time 1.402e-06/0.2963, allocations: 0 / 311.6 MB, free: 9.516 MB / 250.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001633/0.2965, allocations: 45.78 kB / 311.7 MB, free: 9.465 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.2965, allocations: 51.41 kB / 311.7 MB, free: 9.402 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.2966, allocations: 101.9 kB / 311.8 MB, free: 9.293 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.2967, allocations: 29.69 kB / 311.8 MB, free: 9.258 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.24e-05/0.2967, allocations: 88.14 kB / 311.9 MB, free: 9.168 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.2968, allocations: 11.81 kB / 311.9 MB, free: 9.156 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-06/0.2968, allocations: 0 / 311.9 MB, free: 9.156 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.2969, allocations: 318.8 kB / 312.3 MB, free: 8.836 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.503e-05/0.297, allocations: 15.86 kB / 312.3 MB, free: 8.82 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.093e-05/0.297, allocations: 21.72 kB / 312.3 MB, free: 8.793 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.645e-05/0.2971, allocations: 8 kB / 312.3 MB, free: 8.785 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2971, allocations: 3.938 kB / 312.3 MB, free: 8.781 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001219/0.2972, allocations: 57.62 kB / 312.4 MB, free: 8.719 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.2972, allocations: 8 kB / 312.4 MB, free: 8.711 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.2973, allocations: 0 / 312.4 MB, free: 8.711 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.2973, allocations: 0 / 312.4 MB, free: 8.711 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.2974, allocations: 8 kB / 312.4 MB, free: 8.703 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.2974, allocations: 0 / 312.4 MB, free: 8.703 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.276e-05/0.2974, allocations: 7.922 kB / 312.4 MB, free: 8.695 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.2975, allocations: 8 kB / 312.4 MB, free: 8.688 MB / 250.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 8.172e-05/0.2976, allocations: 109.8 kB / 312.5 MB, free: 8.57 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.459e-05/0.2976, allocations: 4 kB / 312.5 MB, free: 8.566 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.933e-05/0.2976, allocations: 7.922 kB / 312.5 MB, free: 8.555 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.2976, allocations: 0 / 312.5 MB, free: 8.555 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.2976, allocations: 0 / 312.5 MB, free: 8.555 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.289e-06/0.2977, allocations: 3.984 kB / 312.5 MB, free: 8.551 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.2978, allocations: 157.6 kB / 312.7 MB, free: 8.348 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.2978, allocations: 4 kB / 312.7 MB, free: 8.344 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.2979, allocations: 8 kB / 312.7 MB, free: 8.336 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.2979, allocations: 0 / 312.7 MB, free: 8.336 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.298, allocations: 3.984 kB / 312.7 MB, free: 8.332 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.298, allocations: 128 / 312.7 MB, free: 8.332 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.298, allocations: 7.938 kB / 312.7 MB, free: 8.324 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001492/0.2982, allocations: 77.12 kB / 312.8 MB, free: 8.23 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.319e-05/0.2982, allocations: 84.97 kB / 312.8 MB, free: 8.129 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.2982, allocations: 0 / 312.8 MB, free: 8.129 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.56e-05/0.2983, allocations: 4.062 kB / 312.9 MB, free: 8.125 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.021e-05/0.2983, allocations: 8.016 kB / 312.9 MB, free: 8.117 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.2983, allocations: 0 / 312.9 MB, free: 8.117 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.632e-05/0.2984, allocations: 83.28 kB / 312.9 MB, free: 8.035 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.2984, allocations: 0 / 312.9 MB, free: 8.035 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003369/0.2987, allocations: 51.98 kB / 313 MB, free: 7.984 MB / 250.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.0006977/0.2995, allocations: 0.6671 MB / 313.7 MB, free: 7.289 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001034/0.2996, allocations: 16 kB / 313.7 MB, free: 7.273 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2996, allocations: 3.938 kB / 313.7 MB, free: 7.27 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.708e-05/0.2996, allocations: 15.94 kB / 313.7 MB, free: 7.254 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001253/0.2998, allocations: 7.922 kB / 313.7 MB, free: 7.246 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000749/0.3005, allocations: 417.6 kB / 314.1 MB, free: 6.785 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.3008, allocations: 0.6809 MB / 314.8 MB, free: 6.078 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.295e-05/0.3009, allocations: 0 / 314.8 MB, free: 6.078 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.239e-05/0.301, allocations: 19.42 kB / 314.8 MB, free: 6.062 MB / 250.7 MB Notification: Performance of SimCode: time 1.342e-06/0.301, allocations: 0 / 314.8 MB, free: 6.062 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02489/0.3259, allocations: 1.78 MB / 316.6 MB, free: 4.32 MB / 250.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003496/0.3263, allocations: 185.9 kB / 316.8 MB, free: 4.074 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.461/2.787, allocations: 4 kB / 316.8 MB, free: 4.07 MB / 250.7 MB