Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.105/2.105, allocations: 194.8 MB / 211.1 MB, free: 7.598 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003927/0.0003926, allocations: 8 kB / 264.1 MB, free: 2.508 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2963, allocations: 44.49 MB / 308.6 MB, free: 12.55 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1678/0.4642, allocations: 92.05 MB / 400.6 MB, free: 364 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000355/0.4646, allocations: 91.95 kB / 400.7 MB, free: 272 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6458/1.11, allocations: 94.26 MB / 495 MB, free: 29.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.156e-06/1.11, allocations: 3.938 kB / 495 MB, free: 29.51 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000295/1.111, allocations: 88 kB / 495.1 MB, free: 29.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: 1553 * Number of variables: 1553 Notification: Performance of Generate backend data structure: time 0.01813/1.129, allocations: 4.883 MB / 499.9 MB, free: 24.46 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/1.129, allocations: 8.031 kB / 500 MB, free: 24.46 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003464/1.132, allocations: 0.7953 MB / 0.489 GB, free: 23.65 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06812/1.201, allocations: 6.725 MB / 0.4956 GB, free: 16.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02775/1.228, allocations: 6.188 MB / 0.5016 GB, free: 10.66 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005671/1.229, allocations: 328.6 kB / 0.5019 GB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003088/1.232, allocations: 443.7 kB / 0.5024 GB, free: 9.902 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03824/1.27, allocations: 10.5 MB / 0.5126 GB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003829/1.271, allocations: 59.44 kB / 0.5127 GB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002036/1.273, allocations: 211.8 kB / 0.5129 GB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003154/1.276, allocations: 1.015 MB / 0.5139 GB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03929/1.316, allocations: 8.688 MB / 0.5223 GB, free: 4.449 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5302/1.846, allocations: 46.02 MB / 0.5673 GB, free: 55.05 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01979/1.866, allocations: 4.009 MB / 0.5712 GB, free: 54.38 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001142/1.867, allocations: 0.6512 MB / 0.5718 GB, free: 53.82 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.09e-05/1.867, allocations: 55.86 kB / 0.5719 GB, free: 53.78 MB / 394.7 MB Notification: Performance of pre-optimization done (n=175): time 8.005e-06/1.867, allocations: 0 / 0.5719 GB, free: 53.78 MB / 394.7 MB Notification: Performance of matching and sorting (n=210): time 0.132/1.999, allocations: 21.28 MB / 0.5927 GB, free: 50.45 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001429/1.999, allocations: 258.1 kB / 0.5929 GB, free: 50.16 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01152/2.011, allocations: 3.731 MB / 0.5966 GB, free: 49.8 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006595/2.011, allocations: 58.58 kB / 0.5966 GB, free: 49.77 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003727/2.015, allocations: 3.242 MB / 0.5998 GB, free: 48.22 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001513/2.017, allocations: 0.7889 MB / 0.6006 GB, free: 47.77 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006783/2.017, allocations: 120 kB / 0.6007 GB, free: 47.77 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004687/2.018, allocations: 0.5602 MB / 0.6012 GB, free: 47.45 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007215/2.025, allocations: 2.252 MB / 0.6034 GB, free: 47.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01121/2.036, allocations: 5.791 MB / 0.6091 GB, free: 42.88 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01157/2.048, allocations: 3.55 MB / 0.6125 GB, free: 42.07 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000173/2.048, allocations: 35.25 kB / 0.6126 GB, free: 42.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.04116/2.09, allocations: 9.525 MB / 0.6219 GB, free: 39.36 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001559/2.09, allocations: 56.88 kB / 0.6219 GB, free: 39.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002614/2.09, allocations: 126.4 kB / 0.6221 GB, free: 39.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01403/2.104, allocations: 1.976 MB / 0.624 GB, free: 39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01063/2.115, allocations: 1.293 MB / 0.6252 GB, free: 38.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04417/2.159, allocations: 15.53 MB / 0.6404 GB, free: 26.05 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01045/2.17, allocations: 340.7 kB / 0.6407 GB, free: 25.76 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001749/2.171, allocations: 364.8 kB / 0.6411 GB, free: 25.42 MB / 394.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.008025/2.179, allocations: 2.222 MB / 0.6433 GB, free: 23.46 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001423/2.181, allocations: 383 kB / 0.6436 GB, free: 23.08 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01856/2.199, allocations: 4.195 MB / 0.6477 GB, free: 19.73 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-05/2.2, allocations: 25.88 kB / 0.6477 GB, free: 19.7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.479e-05/2.2, allocations: 14.53 kB / 0.6478 GB, free: 19.69 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.976e-05/2.2, allocations: 8.484 kB / 0.6478 GB, free: 19.69 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03923/2.239, allocations: 10.01 MB / 0.6575 GB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.431e-05/2.239, allocations: 0 / 0.6575 GB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003869/2.243, allocations: 297.8 kB / 0.6578 GB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008857/2.252, allocations: 1.221 MB / 0.659 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006371/2.253, allocations: 32 kB / 0.659 GB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02445/2.277, allocations: 7.863 MB / 0.6667 GB, free: 3.617 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/2.277, allocations: 3.703 kB / 0.6667 GB, free: 3.617 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03062/2.308, allocations: 7.383 MB / 0.6739 GB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003724/2.311, allocations: 0.7225 MB / 0.6746 GB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001447/2.313, allocations: 33.8 kB / 0.6747 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004264/2.317, allocations: 123.1 kB / 0.6748 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007801/2.318, allocations: 129.1 kB / 0.6749 GB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003365/2.318, allocations: 52 kB / 0.675 GB, free: 12.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.009412/2.328, allocations: 2.635 MB / 0.6775 GB, free: 9.797 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.22e-07/2.328, allocations: 0 / 0.6775 GB, free: 9.797 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01129/2.339, allocations: 1.139 MB / 0.6786 GB, free: 8.668 MB / 410.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.02881/2.368, allocations: 8.164 MB / 0.6866 GB, free: 464 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.02238/2.39, allocations: 6.007 MB / 0.6925 GB, free: 10.44 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.828e-06/2.391, allocations: 0 / 0.6925 GB, free: 10.44 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009173/2.4, allocations: 2.11 MB / 0.6945 GB, free: 8.32 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004949/2.405, allocations: 0.529 MB / 0.6951 GB, free: 7.816 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4081/2.813, allocations: 124.2 MB / 0.8164 GB, free: 36.34 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008115/2.821, allocations: 3.616 MB / 0.8199 GB, free: 35.54 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.008993/2.83, allocations: 1.929 MB / 0.8218 GB, free: 35.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004982/2.835, allocations: 2.084 MB / 0.8238 GB, free: 35.49 MB / 442.7 MB Notification: Performance of SimCode: time 1.863e-06/2.835, allocations: 0 / 0.8238 GB, free: 35.49 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4889/3.324, allocations: 91.04 MB / 0.9127 GB, free: 121.1 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002398/3.324, allocations: 243.6 kB / 0.913 GB, free: 120.9 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.704/10.03, allocations: 0 / 0.913 GB, free: 120.9 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat does not exist to compare? outputFormat=mat