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.709/1.709, allocations: 171.1 MB / 186.7 MB, free: 1.141 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003596/0.0003595, allocations: 8 kB / 233.3 MB, free: 2.938 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07958/0.07998, allocations: 38.77 MB / 272.1 MB, free: 12.08 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3618/0.4418, allocations: 86.27 MB / 358.4 MB, free: 3.488 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003307/0.4422, allocations: 93.39 kB / 358.5 MB, free: 3.438 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6509/1.093, allocations: 94.2 MB / 452.7 MB, free: 72.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.975e-06/1.093, allocations: 0 / 452.7 MB, free: 72.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003045/1.094, allocations: 89.31 kB / 452.8 MB, free: 72.5 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: 1552 * Number of variables: 1552 Notification: Performance of Generate backend data structure: time 0.01849/1.112, allocations: 4.891 MB / 457.7 MB, free: 70.45 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/1.112, allocations: 7.5 kB / 457.7 MB, free: 70.45 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003378/1.116, allocations: 0.7892 MB / 458.5 MB, free: 70.37 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04806/1.164, allocations: 6.714 MB / 465.2 MB, free: 70.06 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02106/1.185, allocations: 6.194 MB / 471.4 MB, free: 69.41 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004017/1.185, allocations: 326.2 kB / 471.7 MB, free: 69.39 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002396/1.188, allocations: 443.8 kB / 472.1 MB, free: 69.38 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02892/1.217, allocations: 10.5 MB / 482.6 MB, free: 65.88 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000291/1.217, allocations: 67.23 kB / 482.7 MB, free: 65.87 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001575/1.218, allocations: 207.5 kB / 482.9 MB, free: 65.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001989/1.22, allocations: 1.012 MB / 483.9 MB, free: 65.58 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02506/1.246, allocations: 8.687 MB / 492.6 MB, free: 62.81 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06583/1.311, allocations: 46.03 MB / 0.526 GB, free: 18.98 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01459/1.326, allocations: 3.998 MB / 0.5299 GB, free: 14.82 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008425/1.327, allocations: 0.6539 MB / 0.5305 GB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/1.327, allocations: 55.55 kB / 0.5306 GB, free: 14.01 MB / 346.7 MB Notification: Performance of pre-optimization done (n=175): time 5.44e-06/1.327, allocations: 0 / 0.5306 GB, free: 14.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=210): time 0.09669/1.424, allocations: 21.28 MB / 0.5514 GB, free: 8.562 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001601/1.424, allocations: 252.6 kB / 0.5516 GB, free: 8.262 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009328/1.433, allocations: 3.731 MB / 0.5553 GB, free: 4.512 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005628/1.434, allocations: 56.98 kB / 0.5553 GB, free: 4.453 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003497/1.437, allocations: 3.134 MB / 0.5584 GB, free: 1.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001544/1.439, allocations: 0.7903 MB / 0.5591 GB, free: 0.5352 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008566/1.44, allocations: 120 kB / 0.5593 GB, free: 428 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.2435/1.683, allocations: 0.5599 MB / 0.5598 GB, free: 79.47 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006763/1.69, allocations: 2.253 MB / 0.562 GB, free: 79.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008673/1.699, allocations: 5.788 MB / 0.5677 GB, free: 74.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009298/1.708, allocations: 3.549 MB / 0.5711 GB, free: 74.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002088/1.709, allocations: 35.69 kB / 0.5712 GB, free: 74.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.02918/1.738, allocations: 9.371 MB / 0.5803 GB, free: 74.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001263/1.738, allocations: 61.12 kB / 0.5804 GB, free: 74.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001932/1.738, allocations: 121.2 kB / 0.5805 GB, free: 74.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009729/1.748, allocations: 1.982 MB / 0.5824 GB, free: 74.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007574/1.755, allocations: 1.291 MB / 0.5837 GB, free: 74.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03062/1.786, allocations: 15.52 MB / 0.5988 GB, free: 67.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006932/1.793, allocations: 347.3 kB / 0.5992 GB, free: 67.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001603/1.795, allocations: 364.4 kB / 0.5995 GB, free: 67.61 MB / 362.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.006255/1.801, allocations: 2.223 MB / 0.6017 GB, free: 66.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009838/1.802, allocations: 382.6 kB / 0.602 GB, free: 66.63 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01338/1.815, allocations: 4.194 MB / 0.6061 GB, free: 65.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-05/1.816, allocations: 23.64 kB / 0.6062 GB, free: 65.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.599e-05/1.816, allocations: 8.969 kB / 0.6062 GB, free: 65.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.717e-05/1.816, allocations: 15.89 kB / 0.6062 GB, free: 65.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0285/1.844, allocations: 9.988 MB / 0.6159 GB, free: 61.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.71e-05/1.844, allocations: 10.06 kB / 0.6159 GB, free: 61.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002777/1.847, allocations: 302.6 kB / 0.6162 GB, free: 61.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006134/1.853, allocations: 1.218 MB / 0.6174 GB, free: 61.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005103/1.854, allocations: 37.58 kB / 0.6175 GB, free: 61.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01674/1.87, allocations: 7.86 MB / 0.6251 GB, free: 57.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/1.871, allocations: 3.375 kB / 0.6251 GB, free: 57.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01823/1.889, allocations: 7.226 MB / 0.6322 GB, free: 52.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002405/1.891, allocations: 0.7271 MB / 0.6329 GB, free: 52.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001114/1.892, allocations: 32.7 kB / 0.6329 GB, free: 52.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003285/1.896, allocations: 121.7 kB / 0.6331 GB, free: 52.05 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006776/1.896, allocations: 127.9 kB / 0.6332 GB, free: 51.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002163/1.897, allocations: 56.42 kB / 0.6332 GB, free: 51.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.006351/1.903, allocations: 2.634 MB / 0.6358 GB, free: 49.74 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.41e-07/1.903, allocations: 0 / 0.6358 GB, free: 49.74 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.007396/1.91, allocations: 1.136 MB / 0.6369 GB, free: 48.61 MB / 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 {(4,87.5%) 31} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01869/1.929, allocations: 8.164 MB / 0.6449 GB, free: 41.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01375/1.943, allocations: 6.017 MB / 0.6508 GB, free: 36.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/1.943, allocations: 0 / 0.6508 GB, free: 36.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005429/1.948, allocations: 2.105 MB / 0.6528 GB, free: 34.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00443/1.953, allocations: 0.5291 MB / 0.6533 GB, free: 33.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3652/2.318, allocations: 124.8 MB / 0.7752 GB, free: 25.56 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007712/2.326, allocations: 3.611 MB / 0.7787 GB, free: 24.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004937/2.331, allocations: 2.124 MB / 0.7808 GB, free: 24.75 MB / 378.7 MB Notification: Performance of SimCode: time 1.252e-06/2.331, allocations: 0 / 0.7808 GB, free: 24.75 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.753/7.084, allocations: 126.7 MB / 0.9045 GB, free: 92.4 MB / 394.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