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.DoublePendulum.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.DoublePendulum,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.649/1.649, allocations: 171.2 MB / 186.1 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003951/0.000395, allocations: 8 kB / 233.4 MB, free: 2.27 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09125/0.0917, allocations: 38.77 MB / 272.1 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3778/0.4695, allocations: 81.02 MB / 353.2 MB, free: 8.086 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003478/0.4699, allocations: 92.25 kB / 353.2 MB, free: 8.035 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6099/1.08, allocations: 82.47 MB / 435.7 MB, free: 71.8 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.715e-06/1.08, allocations: 0 / 435.7 MB, free: 71.8 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003113/1.08, allocations: 71.56 kB / 435.8 MB, free: 71.8 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: 1298 * Number of variables: 1298 Notification: Performance of Generate backend data structure: time 0.01975/1.1, allocations: 4.334 MB / 440.1 MB, free: 70.08 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.704e-05/1.1, allocations: 11.03 kB / 440.1 MB, free: 70.08 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003325/1.103, allocations: 0.6594 MB / 440.8 MB, free: 70.02 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06663/1.17, allocations: 6.609 MB / 447.4 MB, free: 69.75 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03572/1.206, allocations: 5.845 MB / 453.2 MB, free: 69.15 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004827/1.206, allocations: 268 kB / 453.5 MB, free: 69.14 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002593/1.209, allocations: 363.2 kB / 453.9 MB, free: 69.13 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03011/1.239, allocations: 9.092 MB / 462.9 MB, free: 66.71 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002574/1.24, allocations: 61.92 kB / 463 MB, free: 66.71 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001128/1.241, allocations: 171.2 kB / 463.2 MB, free: 66.71 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00187/1.243, allocations: 0.8873 MB / 464.1 MB, free: 66.71 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02139/1.264, allocations: 7.589 MB / 471.6 MB, free: 66.68 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06479/1.329, allocations: 42.18 MB / 0.5018 GB, free: 35.22 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01298/1.342, allocations: 3.753 MB / 0.5054 GB, free: 33.65 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005784/1.343, allocations: 335.7 kB / 0.5058 GB, free: 33.36 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/1.343, allocations: 49.91 kB / 0.5058 GB, free: 33.31 MB / 346.7 MB Notification: Performance of pre-optimization done (n=160): time 5.44e-06/1.343, allocations: 0 / 0.5058 GB, free: 33.31 MB / 346.7 MB Notification: Performance of matching and sorting (n=189): time 0.08139/1.424, allocations: 19.5 MB / 0.5249 GB, free: 17.18 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/1.424, allocations: 248.6 kB / 0.5251 GB, free: 16.89 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007066/1.431, allocations: 3.461 MB / 0.5285 GB, free: 13.98 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004968/1.432, allocations: 53.7 kB / 0.5285 GB, free: 13.93 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00242/1.434, allocations: 2.826 MB / 0.5313 GB, free: 11.23 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001136/1.435, allocations: 0.715 MB / 0.532 GB, free: 10.52 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007196/1.436, allocations: 112 kB / 0.5321 GB, free: 10.41 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003374/1.436, allocations: 0.5373 MB / 0.5326 GB, free: 9.871 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004854/1.441, allocations: 2.072 MB / 0.5346 GB, free: 7.793 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007482/1.449, allocations: 5.302 MB / 0.5398 GB, free: 0.8672 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008256/1.457, allocations: 3.27 MB / 0.543 GB, free: 13.6 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001085/1.457, allocations: 32 kB / 0.543 GB, free: 13.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=711) (initialization): time 0.02724/1.485, allocations: 8.383 MB / 0.5512 GB, free: 5.176 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/1.485, allocations: 56 kB / 0.5513 GB, free: 5.121 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001891/1.485, allocations: 116.2 kB / 0.5514 GB, free: 5.008 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007141/1.492, allocations: 1.386 MB / 0.5527 GB, free: 3.617 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007917/1.5, allocations: 1.22 MB / 0.5539 GB, free: 2.398 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2903/1.79, allocations: 8.713 MB / 0.5624 GB, free: 74.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006377/1.797, allocations: 318.1 kB / 0.5627 GB, free: 74.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001437/1.798, allocations: 329.3 kB / 0.5631 GB, free: 74.2 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 516 * Number of states: 0 () * Number of discrete variables: 27 (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 (650): * Single equations (assignments): 646 * 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%) 36} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005691/1.804, allocations: 1.943 MB / 0.565 GB, free: 74.08 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009407/1.805, allocations: 353.8 kB / 0.5653 GB, free: 74.08 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01252/1.818, allocations: 3.916 MB / 0.5691 GB, free: 73.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.986e-05/1.818, allocations: 20.78 kB / 0.5691 GB, free: 73.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.946e-05/1.818, allocations: 6.469 kB / 0.5691 GB, free: 73.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.593e-05/1.818, allocations: 10.56 kB / 0.5692 GB, free: 73.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03356/1.851, allocations: 8.894 MB / 0.5778 GB, free: 73.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.608e-05/1.852, allocations: 6.531 kB / 0.5778 GB, free: 73.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003253/1.855, allocations: 258.6 kB / 0.5781 GB, free: 73.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008353/1.863, allocations: 1.225 MB / 0.5793 GB, free: 73.33 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004918/1.864, allocations: 30.45 kB / 0.5793 GB, free: 73.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0236/1.887, allocations: 7.863 MB / 0.587 GB, free: 71.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.278e-06/1.887, allocations: 8.438 kB / 0.587 GB, free: 71.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02021/1.908, allocations: 6.811 MB / 0.5937 GB, free: 68.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002611/1.91, allocations: 0.6758 MB / 0.5943 GB, free: 68.06 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009013/1.911, allocations: 33.25 kB / 0.5944 GB, free: 68.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00267/1.914, allocations: 105.8 kB / 0.5945 GB, free: 68.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004888/1.914, allocations: 117.3 kB / 0.5946 GB, free: 68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002027/1.915, allocations: 46.17 kB / 0.5946 GB, free: 68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.005433/1.92, allocations: 2.458 MB / 0.597 GB, free: 67.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.212e-06/1.92, allocations: 0 / 0.597 GB, free: 67.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.006511/1.927, allocations: 0.9921 MB / 0.598 GB, free: 67.07 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 (135): * Single equations (assignments): 131 * 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.01798/1.945, allocations: 7.738 MB / 0.6055 GB, free: 63.47 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01165/1.956, allocations: 5.177 MB / 0.6106 GB, free: 61.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/1.956, allocations: 3 kB / 0.6106 GB, free: 61.88 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005258/1.962, allocations: 1.988 MB / 0.6125 GB, free: 61.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003676/1.965, allocations: 441.2 kB / 0.613 GB, free: 60.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.351/2.317, allocations: 112 MB / 0.7224 GB, free: 104.7 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004562/2.321, allocations: 3.171 MB / 0.7254 GB, free: 103.9 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.007168/2.328, allocations: 1.818 MB / 0.7272 GB, free: 103.9 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004067/2.332, allocations: 1.764 MB / 0.7289 GB, free: 103.9 MB / 394.7 MB Notification: Performance of SimCode: time 1.543e-06/2.332, allocations: 0 / 0.7289 GB, free: 103.9 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1805/2.513, allocations: 79.06 MB / 0.8062 GB, free: 56.05 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002485/2.513, allocations: 221.8 kB / 0.8064 GB, free: 55.81 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.561/8.074, allocations: 0 / 0.8064 GB, free: 55.81 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum_res.mat does not exist to compare? outputFormat=mat