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.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_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.636/1.636, allocations: 171.1 MB / 186.1 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003731/0.0003732, allocations: 12 kB / 233.4 MB, free: 2.254 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08342/0.08383, allocations: 38.77 MB / 272.1 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4828/0.5667, allocations: 86.28 MB / 358.4 MB, free: 2.863 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003275/0.5671, allocations: 96.44 kB / 358.5 MB, free: 2.812 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6601/1.227, allocations: 94.2 MB / 452.7 MB, free: 72.43 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.476e-06/1.227, allocations: 0 / 452.7 MB, free: 72.43 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003255/1.228, allocations: 86.59 kB / 452.8 MB, free: 72.43 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.02001/1.248, allocations: 4.891 MB / 457.7 MB, free: 70.38 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/1.248, allocations: 10.12 kB / 457.7 MB, free: 70.38 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003743/1.251, allocations: 0.7837 MB / 458.5 MB, free: 70.3 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04788/1.299, allocations: 6.725 MB / 465.2 MB, free: 69.99 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02266/1.322, allocations: 6.186 MB / 471.4 MB, free: 69.32 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004787/1.323, allocations: 331.8 kB / 471.7 MB, free: 69.3 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002716/1.325, allocations: 449.5 kB / 472.2 MB, free: 69.29 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03142/1.357, allocations: 10.5 MB / 482.6 MB, free: 65.66 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000285/1.357, allocations: 65.06 kB / 482.7 MB, free: 65.65 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001402/1.359, allocations: 206.1 kB / 482.9 MB, free: 65.54 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002215/1.361, allocations: 1.006 MB / 483.9 MB, free: 65.36 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02512/1.386, allocations: 8.692 MB / 492.6 MB, free: 62.59 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07135/1.457, allocations: 46.02 MB / 0.526 GB, free: 18.36 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01503/1.473, allocations: 4.013 MB / 0.5299 GB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009303/1.473, allocations: 0.6492 MB / 0.5306 GB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.668e-05/1.474, allocations: 55.78 kB / 0.5306 GB, free: 13.39 MB / 346.7 MB Notification: Performance of pre-optimization done (n=175): time 7.935e-06/1.474, allocations: 0 / 0.5306 GB, free: 13.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=210): time 0.0997/1.573, allocations: 21.29 MB / 0.5514 GB, free: 7.938 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001704/1.574, allocations: 248.6 kB / 0.5516 GB, free: 7.641 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01034/1.584, allocations: 3.731 MB / 0.5553 GB, free: 3.891 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005873/1.585, allocations: 57.7 kB / 0.5553 GB, free: 3.828 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00426/1.589, allocations: 3.237 MB / 0.5585 GB, free: 0.5859 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.3053/1.894, allocations: 0.7875 MB / 0.5593 GB, free: 79.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009051/1.895, allocations: 120.2 kB / 0.5594 GB, free: 79.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004834/1.896, allocations: 0.557 MB / 0.5599 GB, free: 79.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006619/1.902, allocations: 2.262 MB / 0.5621 GB, free: 79.28 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009069/1.911, allocations: 5.783 MB / 0.5678 GB, free: 74.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009945/1.921, allocations: 3.552 MB / 0.5713 GB, free: 74.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002806/1.922, allocations: 35.16 kB / 0.5713 GB, free: 74.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.03122/1.953, allocations: 9.517 MB / 0.5806 GB, free: 74.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001416/1.953, allocations: 56.84 kB / 0.5806 GB, free: 74.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000237/1.953, allocations: 128 kB / 0.5808 GB, free: 74.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01031/1.964, allocations: 1.978 MB / 0.5827 GB, free: 74.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008136/1.972, allocations: 1.3 MB / 0.584 GB, free: 74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03201/2.004, allocations: 15.51 MB / 0.5991 GB, free: 67.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01087/2.015, allocations: 348.7 kB / 0.5994 GB, free: 67.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002148/2.017, allocations: 365.8 kB / 0.5998 GB, free: 67.35 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.009525/2.027, allocations: 2.223 MB / 0.602 GB, free: 66.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001744/2.029, allocations: 387.8 kB / 0.6023 GB, free: 66.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02057/2.049, allocations: 4.19 MB / 0.6064 GB, free: 64.87 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.759e-05/2.049, allocations: 24.78 kB / 0.6064 GB, free: 64.87 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.8e-05/2.049, allocations: 7.125 kB / 0.6064 GB, free: 64.87 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.697e-05/2.049, allocations: 11.66 kB / 0.6065 GB, free: 64.87 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03362/2.083, allocations: 10 MB / 0.6162 GB, free: 61.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.719e-05/2.083, allocations: 3.875 kB / 0.6162 GB, free: 61.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002894/2.086, allocations: 298.3 kB / 0.6165 GB, free: 61.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006407/2.093, allocations: 1.219 MB / 0.6177 GB, free: 60.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005727/2.093, allocations: 38.44 kB / 0.6177 GB, free: 60.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01767/2.111, allocations: 7.864 MB / 0.6254 GB, free: 57.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/2.111, allocations: 3.594 kB / 0.6254 GB, free: 57.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01925/2.13, allocations: 7.228 MB / 0.6325 GB, free: 52.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003018/2.133, allocations: 0.7271 MB / 0.6332 GB, free: 51.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001346/2.135, allocations: 36 kB / 0.6332 GB, free: 51.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003718/2.138, allocations: 115.3 kB / 0.6333 GB, free: 51.51 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008743/2.139, allocations: 128 kB / 0.6335 GB, free: 51.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002492/2.14, allocations: 52 kB / 0.6335 GB, free: 51.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.007272/2.147, allocations: 2.633 MB / 0.6361 GB, free: 49.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.834e-06/2.147, allocations: 4 kB / 0.6361 GB, free: 49.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.008259/2.155, allocations: 1.142 MB / 0.6372 GB, free: 48.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 (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.02048/2.176, allocations: 8.154 MB / 0.6452 GB, free: 40.9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01467/2.19, allocations: 6.013 MB / 0.651 GB, free: 35.58 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.245e-06/2.191, allocations: 0 / 0.651 GB, free: 35.58 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006187/2.197, allocations: 2.107 MB / 0.6531 GB, free: 33.74 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005039/2.202, allocations: 0.5305 MB / 0.6536 GB, free: 33.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3992/2.601, allocations: 124.2 MB / 0.7749 GB, free: 25.49 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009041/2.61, allocations: 3.617 MB / 0.7785 GB, free: 24.69 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.009673/2.62, allocations: 1.93 MB / 0.7803 GB, free: 24.65 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005608/2.626, allocations: 2.074 MB / 0.7824 GB, free: 24.64 MB / 378.7 MB Notification: Performance of SimCode: time 1.493e-06/2.626, allocations: 2.625 kB / 0.7824 GB, free: 24.64 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5426/3.168, allocations: 91.03 MB / 0.8713 GB, free: 96.18 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002661/3.169, allocations: 231.2 kB / 0.8715 GB, free: 95.95 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.98/9.149, allocations: 0 / 0.8715 GB, free: 95.95 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat does not exist to compare? outputFormat=mat