Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.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.DoublePendulumInitTip,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.861/1.861, allocations: 194.9 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003535, allocations: 12 kB / 264 MB, free: 13.47 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1089, allocations: 44.5 MB / 308.5 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4328/0.5418, allocations: 92.04 MB / 400.6 MB, free: 14.57 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003078/0.5422, allocations: 98.44 kB / 400.7 MB, free: 14.56 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3948/0.937, allocations: 94.28 MB / 495 MB, free: 8.984 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.587e-06/0.9371, allocations: 0 / 495 MB, free: 8.984 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003895/0.9375, allocations: 88 kB / 495 MB, free: 8.898 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1553 * Number of variables: 1553 Notification: Performance of Generate backend data structure: time 0.02277/0.9603, allocations: 4.891 MB / 499.9 MB, free: 3.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.854e-05/0.9604, allocations: 8.031 kB / 499.9 MB, free: 3.922 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004249/0.9646, allocations: 0.7869 MB / 0.489 GB, free: 3.125 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05275/1.017, allocations: 6.725 MB / 0.4956 GB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02413/1.042, allocations: 6.176 MB / 0.5016 GB, free: 6.145 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000561/1.042, allocations: 328.6 kB / 0.5019 GB, free: 5.82 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002881/1.045, allocations: 447.7 kB / 0.5023 GB, free: 5.383 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03396/1.079, allocations: 10.5 MB / 0.5126 GB, free: 9.918 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004044/1.08, allocations: 71.36 kB / 0.5126 GB, free: 9.848 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002223/1.082, allocations: 211.8 kB / 0.5128 GB, free: 9.641 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002613/1.085, allocations: 1.011 MB / 0.5138 GB, free: 8.629 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3061/1.391, allocations: 8.673 MB / 0.5223 GB, free: 82.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07219/1.463, allocations: 46.06 MB / 0.5673 GB, free: 56.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01465/1.478, allocations: 3.999 MB / 0.5712 GB, free: 56.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009056/1.479, allocations: 0.6491 MB / 0.5718 GB, free: 55.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.914e-05/1.479, allocations: 52.91 kB / 0.5719 GB, free: 55.42 MB / 410.7 MB Notification: Performance of pre-optimization done (n=175): time 6.762e-06/1.479, allocations: 3.938 kB / 0.5719 GB, free: 55.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=210): time 0.09671/1.575, allocations: 21.28 MB / 0.5927 GB, free: 50.63 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/1.576, allocations: 253.5 kB / 0.5929 GB, free: 50.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01119/1.587, allocations: 3.737 MB / 0.5965 GB, free: 49.06 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006785/1.587, allocations: 52.94 kB / 0.5966 GB, free: 49.01 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004017/1.592, allocations: 3.123 MB / 0.5997 GB, free: 46.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001788/1.593, allocations: 0.7913 MB / 0.6004 GB, free: 46.08 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001047/1.594, allocations: 125 kB / 0.6005 GB, free: 45.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0006798/1.595, allocations: 0.5711 MB / 0.6011 GB, free: 45.56 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007875/1.603, allocations: 2.253 MB / 0.6033 GB, free: 44.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01125/1.614, allocations: 5.79 MB / 0.609 GB, free: 39.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01113/1.626, allocations: 3.548 MB / 0.6124 GB, free: 38.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001723/1.626, allocations: 34.62 kB / 0.6125 GB, free: 38.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.03737/1.663, allocations: 9.366 MB / 0.6216 GB, free: 35 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001077/1.663, allocations: 64.52 kB / 0.6217 GB, free: 34.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002283/1.664, allocations: 122.4 kB / 0.6218 GB, free: 34.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009811/1.673, allocations: 1.979 MB / 0.6237 GB, free: 34.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007595/1.681, allocations: 1.299 MB / 0.625 GB, free: 34.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03121/1.712, allocations: 15.52 MB / 0.6401 GB, free: 22.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00725/1.72, allocations: 351.8 kB / 0.6405 GB, free: 22.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001459/1.721, allocations: 362.6 kB / 0.6408 GB, free: 22.32 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 566 * Number of states: 0 () * Number of discrete variables: 30 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],boxBody2.color[3],boxBody2.color[2],boxBody2.color[1],boxBody2.body.sphereColor[3],boxBody2.body.sphereColor[2],boxBody2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],boxBody1.color[3],boxBody1.color[2],boxBody1.color[1],boxBody1.body.sphereColor[3],boxBody1.body.sphereColor[2],boxBody1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[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 (694): * Single equations (assignments): 688 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,88.9%) 35,(3,100.0%) 11} * Non-linear torn systems: 1 {2 13} Notification: Performance of prepare postOptimizeDAE: time 0.006478/1.728, allocations: 2.217 MB / 0.643 GB, free: 20.37 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00107/1.729, allocations: 387 kB / 0.6433 GB, free: 19.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01361/1.742, allocations: 4.193 MB / 0.6474 GB, free: 16.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-05/1.743, allocations: 20 kB / 0.6475 GB, free: 16.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.961e-05/1.743, allocations: 11.95 kB / 0.6475 GB, free: 16.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.094e-05/1.743, allocations: 18.31 kB / 0.6475 GB, free: 16.58 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03/1.773, allocations: 9.992 MB / 0.6572 GB, free: 8.438 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.572e-05/1.773, allocations: 7.844 kB / 0.6573 GB, free: 8.434 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002819/1.776, allocations: 300.2 kB / 0.6575 GB, free: 8.191 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006211/1.782, allocations: 1.219 MB / 0.6587 GB, free: 7.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005354/1.782, allocations: 40.39 kB / 0.6588 GB, free: 7.305 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01688/1.799, allocations: 7.858 MB / 0.6664 GB, free: 476 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/1.799, allocations: 0 / 0.6664 GB, free: 476 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02107/1.82, allocations: 7.222 MB / 0.6735 GB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002931/1.823, allocations: 0.7311 MB / 0.6742 GB, free: 9.504 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001386/1.825, allocations: 36 kB / 0.6742 GB, free: 9.469 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003648/1.829, allocations: 125 kB / 0.6744 GB, free: 9.371 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008468/1.829, allocations: 122.4 kB / 0.6745 GB, free: 9.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002698/1.83, allocations: 55.72 kB / 0.6745 GB, free: 9.199 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007733/1.837, allocations: 2.635 MB / 0.6771 GB, free: 6.559 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.102e-06/1.838, allocations: 0 / 0.6771 GB, free: 6.559 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008347/1.846, allocations: 1.131 MB / 0.6782 GB, free: 5.434 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.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 (157): * Single equations (assignments): 153 * 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 {(4,87.5%) 31} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3146/2.161, allocations: 8.161 MB / 0.6862 GB, free: 92.83 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0152/2.176, allocations: 6.014 MB / 0.6921 GB, free: 92.42 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/2.176, allocations: 0 / 0.6921 GB, free: 92.42 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006165/2.182, allocations: 2.102 MB / 0.6941 GB, free: 92.27 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004932/2.187, allocations: 0.5283 MB / 0.6946 GB, free: 92.25 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1265/2.314, allocations: 124.8 MB / 0.8165 GB, free: 21.69 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008175/2.322, allocations: 3.615 MB / 0.82 GB, free: 20.88 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005288/2.327, allocations: 2.122 MB / 0.8221 GB, free: 19.61 MB / 458.7 MB Notification: Performance of SimCode: time 2.505e-06/2.327, allocations: 0 / 0.8221 GB, free: 19.61 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.051/7.379, allocations: 126.8 MB / 0.9459 GB, free: 95.66 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat does not exist to compare? outputFormat=mat