Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.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.Mechanics.MultiBody.Examples.Elementary.FreeBody,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.747/1.747, allocations: 171.1 MB / 186.1 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003665/0.0003664, allocations: 16 kB / 233.4 MB, free: 2.266 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08489/0.08529, allocations: 38.75 MB / 272.1 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3865/0.4719, allocations: 81.4 MB / 353.5 MB, free: 8.105 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003242/0.4723, allocations: 88.06 kB / 353.6 MB, free: 8.059 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3371/0.8094, allocations: 71.47 MB / 425.1 MB, free: 6.051 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.8094, allocations: 0 / 425.1 MB, free: 6.051 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002564/0.8097, allocations: 72 kB / 425.1 MB, free: 5.98 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1295 * Number of variables: 1295 Notification: Performance of Generate backend data structure: time 0.0235/0.8332, allocations: 3.997 MB / 429.1 MB, free: 1.918 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.8333, allocations: 8.031 kB / 429.2 MB, free: 1.91 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002974/0.8363, allocations: 0.6671 MB / 429.8 MB, free: 1.234 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2551/1.091, allocations: 2.124 MB / 431.9 MB, free: 74.15 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01912/1.111, allocations: 4.443 MB / 436.4 MB, free: 73.9 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003916/1.111, allocations: 279.7 kB / 436.7 MB, free: 73.89 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002139/1.113, allocations: 366.4 kB / 437 MB, free: 73.88 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02716/1.14, allocations: 9.076 MB / 446.1 MB, free: 71.33 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002684/1.141, allocations: 56.39 kB / 446.1 MB, free: 71.33 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00163/1.142, allocations: 177.3 kB / 446.3 MB, free: 71.33 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001964/1.144, allocations: 0.8745 MB / 447.2 MB, free: 71.32 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02116/1.166, allocations: 7.357 MB / 454.6 MB, free: 71.21 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07187/1.238, allocations: 43.16 MB / 497.7 MB, free: 40 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0129/1.25, allocations: 3.164 MB / 0.4891 GB, free: 38.65 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01329/1.264, allocations: 6.045 MB / 0.495 GB, free: 35.31 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/1.264, allocations: 50.27 kB / 0.4951 GB, free: 35.26 MB / 346.7 MB Notification: Performance of pre-optimization done (n=118): time 5.06e-06/1.264, allocations: 3.438 kB / 0.4951 GB, free: 35.26 MB / 346.7 MB Notification: Performance of matching and sorting (n=125): time 0.03997/1.304, allocations: 10.92 MB / 0.5058 GB, free: 30.42 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001347/1.305, allocations: 1.616 MB / 0.5073 GB, free: 28.81 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006444/1.312, allocations: 3.15 MB / 0.5104 GB, free: 26.29 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003684/1.312, allocations: 46.64 kB / 0.5104 GB, free: 26.24 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002147/1.314, allocations: 2.765 MB / 0.5131 GB, free: 23.76 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008267/1.315, allocations: 0.5233 MB / 0.5137 GB, free: 23.3 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005025/1.316, allocations: 106 kB / 0.5138 GB, free: 23.2 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003219/1.316, allocations: 0.5261 MB / 0.5143 GB, free: 22.73 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004076/1.32, allocations: 1.855 MB / 0.5161 GB, free: 21.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005924/1.326, allocations: 5.267 MB / 0.5212 GB, free: 14.55 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006369/1.333, allocations: 3.044 MB / 0.5242 GB, free: 11.82 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.562e-05/1.333, allocations: 36 kB / 0.5242 GB, free: 11.78 MB / 346.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.02075/1.353, allocations: 7.677 MB / 0.5317 GB, free: 5.125 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.904e-05/1.354, allocations: 56 kB / 0.5318 GB, free: 5.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007256/1.361, allocations: 2.404 MB / 0.5341 GB, free: 3.121 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005418/1.366, allocations: 1.127 MB / 0.5352 GB, free: 2.293 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006934/1.373, allocations: 1.226 MB / 0.5364 GB, free: 1.219 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008771/1.382, allocations: 4.773 MB / 0.5411 GB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006595/1.389, allocations: 370.5 kB / 0.5414 GB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001287/1.39, allocations: 336.9 kB / 0.5418 GB, free: 12.07 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 556 * Number of states: 0 () * Number of discrete variables: 33 (spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (657): * Single equations (assignments): 648 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.005198/1.395, allocations: 1.825 MB / 0.5435 GB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008754/1.396, allocations: 300 kB / 0.5438 GB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00979/1.406, allocations: 2.664 MB / 0.5464 GB, free: 7.496 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008669/1.415, allocations: 2.271 MB / 0.5487 GB, free: 5.207 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.472e-05/1.415, allocations: 4 kB / 0.5487 GB, free: 5.203 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.72e-05/1.415, allocations: 11.91 kB / 0.5487 GB, free: 5.195 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009998/1.425, allocations: 3.349 MB / 0.5519 GB, free: 1.812 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.343e-05/1.425, allocations: 4 kB / 0.5519 GB, free: 1.809 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002192/1.427, allocations: 207.7 kB / 0.5521 GB, free: 1.605 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005898/1.433, allocations: 1.041 MB / 0.5532 GB, free: 0.5508 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003886/1.434, allocations: 29.62 kB / 0.5532 GB, free: 0.5234 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.269/1.703, allocations: 5.08 MB / 0.5581 GB, free: 77.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001288/1.704, allocations: 1.489 MB / 0.5596 GB, free: 76.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01374/1.718, allocations: 4.87 MB / 0.5644 GB, free: 75.63 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001138/1.719, allocations: 368.1 kB / 0.5647 GB, free: 75.54 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009817/1.72, allocations: 27.17 kB / 0.5647 GB, free: 75.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002934/1.723, allocations: 124 kB / 0.5649 GB, free: 75.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004962/1.723, allocations: 76.86 kB / 0.5649 GB, free: 75.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001784/1.724, allocations: 37.7 kB / 0.565 GB, free: 75.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.005864/1.729, allocations: 2.18 MB / 0.5671 GB, free: 75.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.91e-07/1.729, allocations: 0 / 0.5671 GB, free: 75.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.007074/1.737, allocations: 0.9306 MB / 0.568 GB, free: 75.39 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * 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 (93): * Single equations (assignments): 86 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01377/1.75, allocations: 5.687 MB / 0.5736 GB, free: 74.19 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01458/1.765, allocations: 5.05 MB / 0.5785 GB, free: 73.76 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/1.765, allocations: 3.656 kB / 0.5785 GB, free: 73.76 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008906/1.774, allocations: 1.999 MB / 0.5804 GB, free: 73.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00457/1.779, allocations: 354.9 kB / 0.5808 GB, free: 73.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1285/1.907, allocations: 113.4 MB / 0.6915 GB, free: 4.312 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2756/2.183, allocations: 2.933 MB / 0.6944 GB, free: 112.6 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.008822/2.192, allocations: 1.671 MB / 0.696 GB, free: 112.5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003959/2.196, allocations: 1.562 MB / 0.6976 GB, free: 112.5 MB / 394.7 MB Notification: Performance of SimCode: time 1.002e-06/2.196, allocations: 0 / 0.6976 GB, free: 112.5 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1776/2.373, allocations: 66.78 MB / 0.7628 GB, free: 85.13 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001905/2.374, allocations: 217.5 kB / 0.763 GB, free: 84.89 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.047/7.421, allocations: 0 / 0.763 GB, free: 84.89 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat does not exist to compare? outputFormat=mat