Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.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.DoublePendulumInitTip,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.619/1.619, allocations: 171.2 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.0003508, allocations: 8 kB / 233.3 MB, free: 2.965 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07853/0.07892, allocations: 38.78 MB / 272 MB, free: 12.11 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.2784/0.3573, allocations: 41.6 MB / 313.6 MB, free: 7.633 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.02824/0.3856, allocations: 10.43 MB / 324.1 MB, free: 4.047 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01025/0.3959, allocations: 211.2 kB / 324.3 MB, free: 4.012 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007451/0.4034, allocations: 2.1 MB / 326.4 MB, free: 2.727 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02389/0.4274, allocations: 6.111 MB / 332.5 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004448/0.4319, allocations: 0.7368 MB / 333.2 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.05178/0.4837, allocations: 17.56 MB / 350.8 MB, free: 14.56 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00966/0.4934, allocations: 4.643 MB / 355.4 MB, free: 9.871 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00277/0.4963, allocations: 1.168 MB / 356.6 MB, free: 8.699 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003399/0.4997, allocations: 1.573 MB / 358.2 MB, free: 7.121 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009273/0.5007, allocations: 156 kB / 358.3 MB, free: 6.969 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003076/0.5038, allocations: 0.9675 MB / 359.3 MB, free: 6 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002902/0.5067, allocations: 1.761 MB / 361 MB, free: 4.234 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00154/0.5083, allocations: 0.9129 MB / 362 MB, free: 3.312 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01034/0.5186, allocations: 6.465 MB / 368.4 MB, free: 12.83 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.5187, allocations: 4 kB / 368.4 MB, free: 12.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.466e-06/0.5187, allocations: 3.844 kB / 368.4 MB, free: 12.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002716/0.519, allocations: 0 / 368.4 MB, free: 12.82 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1552 * Number of variables: 1552 Notification: Performance of Generate backend data structure: time 0.0213/0.5403, allocations: 4.894 MB / 373.3 MB, free: 7.855 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.5404, allocations: 8.031 kB / 373.3 MB, free: 7.848 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002638/0.5431, allocations: 0.7438 MB / 374.1 MB, free: 7.094 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3726/0.9157, allocations: 14.58 MB / 388.7 MB, free: 8.492 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01365/0.9294, allocations: 3.994 MB / 392.6 MB, free: 4.441 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003373/0.9298, allocations: 250.3 kB / 392.9 MB, free: 4.195 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001734/0.9316, allocations: 335.7 kB / 393.2 MB, free: 3.867 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02778/0.9594, allocations: 10.35 MB / 403.6 MB, free: 8.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002233/0.9597, allocations: 47.5 kB / 403.6 MB, free: 8.793 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001229/0.9609, allocations: 159.8 kB / 403.8 MB, free: 8.637 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005144/0.9661, allocations: 1.909 MB / 405.7 MB, free: 6.727 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02728/0.9934, allocations: 8.72 MB / 414.4 MB, free: 13.99 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3169/1.31, allocations: 39.32 MB / 453.7 MB, free: 104 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02276/1.333, allocations: 3.997 MB / 457.7 MB, free: 103.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001355/1.335, allocations: 0.6512 MB / 458.4 MB, free: 102.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.446e-05/1.335, allocations: 52.94 kB / 458.4 MB, free: 102.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=175): time 9.017e-06/1.335, allocations: 3.469 kB / 458.4 MB, free: 102.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=210): time 0.1228/1.458, allocations: 21.82 MB / 480.2 MB, free: 94.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/1.458, allocations: 264.2 kB / 480.5 MB, free: 93.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008724/1.467, allocations: 4.48 MB / 485 MB, free: 89.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005573/1.467, allocations: 53.7 kB / 485 MB, free: 89.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002417/1.47, allocations: 3.111 MB / 488.1 MB, free: 86.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001209/1.471, allocations: 0.7995 MB / 488.9 MB, free: 85.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006117/1.471, allocations: 120 kB / 489.1 MB, free: 85.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003721/1.472, allocations: 0.5589 MB / 489.6 MB, free: 84.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005545/1.477, allocations: 2.311 MB / 491.9 MB, free: 82.51 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00746/1.485, allocations: 5.843 MB / 497.8 MB, free: 75.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007746/1.493, allocations: 3.606 MB / 0.4896 GB, free: 71.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001025/1.493, allocations: 36 kB / 0.4897 GB, free: 71.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=778) (initialization): time 0.02744/1.52, allocations: 9.545 MB / 0.499 GB, free: 62.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001068/1.52, allocations: 60 kB / 0.499 GB, free: 61.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001479/1.521, allocations: 124 kB / 0.4992 GB, free: 61.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01052/1.531, allocations: 2.111 MB / 0.5012 GB, free: 59.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007217/1.538, allocations: 1.291 MB / 0.5025 GB, free: 58.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03312/1.572, allocations: 16.37 MB / 0.5185 GB, free: 41.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00667/1.578, allocations: 347.4 kB / 0.5188 GB, free: 41.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001159/1.58, allocations: 367.3 kB / 0.5191 GB, free: 41.01 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 562 * 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 (690): * Single equations (assignments): 684 * 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.005268/1.585, allocations: 2.211 MB / 0.5213 GB, free: 38.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009823/1.586, allocations: 387 kB / 0.5217 GB, free: 38.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01404/1.6, allocations: 4.404 MB / 0.526 GB, free: 33.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-05/1.6, allocations: 24 kB / 0.526 GB, free: 33.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.869e-05/1.6, allocations: 8 kB / 0.526 GB, free: 33.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.572e-05/1.6, allocations: 11.97 kB / 0.526 GB, free: 33.94 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02921/1.629, allocations: 10.39 MB / 0.5362 GB, free: 23.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.167e-05/1.629, allocations: 0 / 0.5362 GB, free: 23.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002849/1.632, allocations: 307.6 kB / 0.5365 GB, free: 23.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006891/1.639, allocations: 1.356 MB / 0.5378 GB, free: 21.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005229/1.64, allocations: 35.98 kB / 0.5378 GB, free: 21.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01918/1.659, allocations: 8.656 MB / 0.5463 GB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/1.659, allocations: 7.953 kB / 0.5463 GB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01934/1.678, allocations: 7.405 MB / 0.5535 GB, free: 5.566 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002628/1.681, allocations: 0.7537 MB / 0.5542 GB, free: 4.789 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001291/1.682, allocations: 37.17 kB / 0.5543 GB, free: 4.754 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003569/1.686, allocations: 127.8 kB / 0.5544 GB, free: 4.629 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007233/1.687, allocations: 125 kB / 0.5545 GB, free: 4.504 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002534/1.687, allocations: 53.08 kB / 0.5546 GB, free: 4.453 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.006279/1.693, allocations: 2.873 MB / 0.5574 GB, free: 1.574 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.52e-07/1.693, allocations: 0 / 0.5574 GB, free: 1.574 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.006987/1.7, allocations: 1.169 MB / 0.5585 GB, free: 424 kB / 362.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 {(5,72.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0232/1.724, allocations: 8.081 MB / 0.5664 GB, free: 8.301 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01621/1.74, allocations: 6.157 MB / 0.5724 GB, free: 2.129 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/1.74, allocations: 0 / 0.5724 GB, free: 2.129 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2407/1.981, allocations: 2.25 MB / 0.5746 GB, free: 134.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004262/1.985, allocations: 0.5288 MB / 0.5751 GB, free: 134.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1331/2.118, allocations: 41.55 MB / 0.6157 GB, free: 108.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005566/2.124, allocations: 3.625 MB / 0.6193 GB, free: 104.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004141/2.128, allocations: 2.124 MB / 0.6213 GB, free: 102.7 MB / 378.7 MB Notification: Performance of SimCode: time 1.052e-06/2.128, allocations: 0 / 0.6213 GB, free: 102.7 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.502/6.63, allocations: 127.6 MB / 0.7459 GB, free: 106.5 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat does not exist to compare? outputFormat=mat