Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.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.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.09/2.09, allocations: 194.9 MB / 211.1 MB, free: 8.566 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003573/0.0003572, allocations: 12 kB / 264.1 MB, free: 3.473 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3118, allocations: 44.5 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1577/0.4696, allocations: 86.8 MB / 395.4 MB, free: 5.844 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003329/0.47, allocations: 91.89 kB / 395.5 MB, free: 5.754 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5292/0.9992, allocations: 57.69 MB / 453.1 MB, free: 71.66 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.527e-06/0.9992, allocations: 4 kB / 453.2 MB, free: 71.66 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001785/0.9994, allocations: 48 kB / 453.2 MB, free: 71.61 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: 948 * Number of variables: 948 Notification: Performance of Generate backend data structure: time 0.01537/1.015, allocations: 2.762 MB / 456 MB, free: 68.79 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.735e-05/1.015, allocations: 12.03 kB / 456 MB, free: 68.77 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003038/1.018, allocations: 0.4904 MB / 456.5 MB, free: 68.27 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02175/1.04, allocations: 1.92 MB / 458.4 MB, free: 66.35 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02016/1.06, allocations: 3.408 MB / 461.8 MB, free: 62.89 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003984/1.061, allocations: 192.7 kB / 462 MB, free: 62.7 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002138/1.063, allocations: 247.8 kB / 462.2 MB, free: 62.45 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02672/1.089, allocations: 6.831 MB / 469.1 MB, free: 54.93 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002186/1.09, allocations: 43.62 kB / 469.1 MB, free: 54.88 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001923/1.092, allocations: 123.9 kB / 469.2 MB, free: 54.76 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00247/1.094, allocations: 0.719 MB / 469.9 MB, free: 54.04 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02515/1.119, allocations: 5.989 MB / 475.9 MB, free: 48.04 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06389/1.183, allocations: 31.13 MB / 0.4952 GB, free: 15.9 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01449/1.198, allocations: 2.627 MB / 0.4977 GB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02073/1.219, allocations: 5.158 MB / 0.5028 GB, free: 7.816 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.236e-05/1.219, allocations: 50.45 kB / 0.5028 GB, free: 7.758 MB / 346.7 MB Notification: Performance of pre-optimization done (n=97): time 6.963e-06/1.219, allocations: 0 / 0.5028 GB, free: 7.758 MB / 346.7 MB Notification: Performance of matching and sorting (n=105): time 0.06173/1.281, allocations: 9.784 MB / 0.5124 GB, free: 13.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001636/1.281, allocations: 144.9 kB / 0.5125 GB, free: 13.6 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0109/1.292, allocations: 2.424 MB / 0.5149 GB, free: 11.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004291/1.292, allocations: 41.7 kB / 0.5149 GB, free: 11.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003721/1.296, allocations: 2.037 MB / 0.5169 GB, free: 9.043 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001239/1.297, allocations: 426.7 kB / 0.5173 GB, free: 8.621 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009394/1.298, allocations: 79.98 kB / 0.5174 GB, free: 8.543 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0009046/1.299, allocations: 486.9 kB / 0.5179 GB, free: 8.059 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007531/1.307, allocations: 1.448 MB / 0.5193 GB, free: 6.605 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01125/1.318, allocations: 4.013 MB / 0.5232 GB, free: 1.289 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0101/1.328, allocations: 2.351 MB / 0.5255 GB, free: 14.94 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001207/1.329, allocations: 24 kB / 0.5255 GB, free: 14.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=529) (initialization): time 0.03079/1.359, allocations: 5.978 MB / 0.5314 GB, free: 8.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001433/1.36, allocations: 48 kB / 0.5314 GB, free: 8.883 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002355/1.36, allocations: 95.95 kB / 0.5315 GB, free: 8.789 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006593/1.367, allocations: 0.8247 MB / 0.5323 GB, free: 7.957 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007906/1.375, allocations: 0.9397 MB / 0.5332 GB, free: 7.016 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01132/1.386, allocations: 4.388 MB / 0.5375 GB, free: 2.496 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0054/1.391, allocations: 283.6 kB / 0.5378 GB, free: 2.219 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001165/1.393, allocations: 260 kB / 0.538 GB, free: 1.965 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 420 * Number of states: 0 () * Number of discrete variables: 18 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (493): * Single equations (assignments): 489 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004486/1.397, allocations: 1.368 MB / 0.5393 GB, free: 0.5859 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007881/1.398, allocations: 225.1 kB / 0.5396 GB, free: 372 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008905/1.407, allocations: 2.126 MB / 0.5416 GB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.066e-05/1.407, allocations: 15.94 kB / 0.5417 GB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-05/1.407, allocations: 4 kB / 0.5417 GB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.852e-05/1.407, allocations: 7.984 kB / 0.5417 GB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01911/1.426, allocations: 5.076 MB / 0.5466 GB, free: 9.035 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-05/1.426, allocations: 4 kB / 0.5466 GB, free: 9.031 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001571/1.428, allocations: 143.8 kB / 0.5468 GB, free: 8.891 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004375/1.432, allocations: 0.6756 MB / 0.5474 GB, free: 8.211 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003219/1.433, allocations: 20 kB / 0.5474 GB, free: 8.191 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009873/1.443, allocations: 3.944 MB / 0.5513 GB, free: 4.113 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.508e-06/1.443, allocations: 3.938 kB / 0.5513 GB, free: 4.109 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2935/1.736, allocations: 4.141 MB / 0.5553 GB, free: 109.6 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001941/1.738, allocations: 455.5 kB / 0.5558 GB, free: 109.5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005826/1.739, allocations: 14.8 kB / 0.5558 GB, free: 109.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002181/1.741, allocations: 86.94 kB / 0.5559 GB, free: 109.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003384/1.741, allocations: 58.73 kB / 0.5559 GB, free: 109.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001663/1.741, allocations: 31.45 kB / 0.556 GB, free: 109.5 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004836/1.746, allocations: 1.703 MB / 0.5576 GB, free: 109.4 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.072e-06/1.746, allocations: 0 / 0.5576 GB, free: 109.4 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004787/1.751, allocations: 0.6748 MB / 0.5583 GB, free: 109.4 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (74): * Single equations (assignments): 70 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01085/1.762, allocations: 5.106 MB / 0.5633 GB, free: 108.1 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008055/1.77, allocations: 3.459 MB / 0.5666 GB, free: 107.9 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/1.77, allocations: 3.812 kB / 0.5667 GB, free: 107.9 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002112/1.772, allocations: 1.041 MB / 0.5677 GB, free: 107.8 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002107/1.774, allocations: 250.5 kB / 0.5679 GB, free: 107.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06439/1.839, allocations: 84.25 MB / 0.6502 GB, free: 32.49 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003253/1.842, allocations: 2.287 MB / 0.6524 GB, free: 31.45 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.005514/1.848, allocations: 1.313 MB / 0.6537 GB, free: 31.35 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00246/1.85, allocations: 1.086 MB / 0.6548 GB, free: 30.49 MB / 394.7 MB Notification: Performance of SimCode: time 1.403e-06/1.85, allocations: 0.9375 kB / 0.6548 GB, free: 30.49 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.127/1.977, allocations: 48.91 MB / 0.7025 GB, free: 5.004 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003923/1.978, allocations: 231.4 kB / 0.7027 GB, free: 4.758 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.447/6.424, allocations: 0 / 0.7027 GB, free: 4.758 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat does not exist to compare? outputFormat=mat