Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.002/2.002, allocations: 209.2 MB / 224.8 MB, free: 300 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006235/0.0006236, allocations: 16 kB / 282.7 MB, free: 9.5 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3708, allocations: 48.7 MB / 331.4 MB, free: 6.391 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1738/0.5447, allocations: 94.09 MB / 425.5 MB, free: 184 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003518/0.5451, allocations: 79.95 kB / 425.5 MB, free: 104 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8089/1.354, allocations: 130.7 MB / 0.5432 GB, free: 53.07 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.015e-06/1.354, allocations: 0 / 0.5432 GB, free: 53.07 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003858/1.354, allocations: 124 kB / 0.5434 GB, free: 52.95 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.02904/1.384, allocations: 6.813 MB / 0.55 GB, free: 46.05 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/1.384, allocations: 8.031 kB / 0.55 GB, free: 46.04 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0054/1.389, allocations: 1.179 MB / 0.5512 GB, free: 44.85 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05136/1.44, allocations: 7.093 MB / 0.5581 GB, free: 37.74 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02465/1.465, allocations: 7.281 MB / 0.5652 GB, free: 30.39 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005687/1.466, allocations: 0.4934 MB / 0.5657 GB, free: 29.9 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00366/1.469, allocations: 0.6521 MB / 0.5663 GB, free: 29.25 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05002/1.519, allocations: 16.55 MB / 0.5825 GB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004004/1.52, allocations: 75.23 kB / 0.5826 GB, free: 11.44 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002503/1.522, allocations: 319.8 kB / 0.5829 GB, free: 11.13 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003207/1.526, allocations: 1.574 MB / 0.5844 GB, free: 9.555 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.046/1.572, allocations: 14.08 MB / 0.5981 GB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4477/2.02, allocations: 66.15 MB / 0.6628 GB, free: 42.34 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03066/2.05, allocations: 7.061 MB / 0.6696 GB, free: 41.66 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03768/2.088, allocations: 15.05 MB / 0.6843 GB, free: 39.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.283e-05/2.088, allocations: 71.75 kB / 0.6844 GB, free: 39.87 MB / 426.7 MB Notification: Performance of pre-optimization done (n=306): time 6.943e-06/2.088, allocations: 0 / 0.6844 GB, free: 39.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=348): time 0.1284/2.217, allocations: 30.73 MB / 0.7144 GB, free: 30.96 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/2.217, allocations: 221.1 kB / 0.7146 GB, free: 30.73 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01026/2.227, allocations: 4.704 MB / 0.7192 GB, free: 29.13 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009834/2.228, allocations: 80.39 kB / 0.7193 GB, free: 29.06 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003533/2.232, allocations: 4.232 MB / 0.7234 GB, free: 25.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002238/2.234, allocations: 1.272 MB / 0.7247 GB, free: 24.79 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009955/2.235, allocations: 166.3 kB / 0.7248 GB, free: 24.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004921/2.235, allocations: 0.6544 MB / 0.7255 GB, free: 24.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008978/2.244, allocations: 3.62 MB / 0.729 GB, free: 22.96 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01232/2.257, allocations: 8.067 MB / 0.7369 GB, free: 15.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01241/2.269, allocations: 5.299 MB / 0.7421 GB, free: 11.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001949/2.269, allocations: 44 kB / 0.7421 GB, free: 11.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=1068) (initialization): time 0.03701/2.307, allocations: 12.87 MB / 0.7547 GB, free: 0.4922 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000119/2.307, allocations: 72 kB / 0.7547 GB, free: 432 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002336/2.307, allocations: 156 kB / 0.7549 GB, free: 276 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009857/2.317, allocations: 1.813 MB / 0.7567 GB, free: 15.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01357/2.33, allocations: 1.926 MB / 0.7585 GB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02633/2.357, allocations: 11.67 MB / 0.7699 GB, free: 3.234 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01047/2.367, allocations: 497.7 kB / 0.7704 GB, free: 2.836 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002538/2.37, allocations: 483.9 kB / 0.7709 GB, free: 2.387 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 710 * Number of states: 0 () * Number of discrete variables: 48 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (996): * Single equations (assignments): 991 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0108/2.381, allocations: 3.091 MB / 0.7739 GB, free: 15.67 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001897/2.383, allocations: 0.5039 MB / 0.7744 GB, free: 15.16 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03239/2.415, allocations: 7.462 MB / 0.7817 GB, free: 9.055 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-05/2.415, allocations: 40 kB / 0.7817 GB, free: 9.016 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.025e-05/2.415, allocations: 8 kB / 0.7817 GB, free: 9.008 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000101/2.415, allocations: 14.72 kB / 0.7817 GB, free: 9.008 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.377/2.792, allocations: 16.08 MB / 0.7974 GB, free: 106.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.536e-05/2.793, allocations: 0.9688 kB / 0.7974 GB, free: 106.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006565/2.799, allocations: 0.6022 MB / 0.798 GB, free: 106.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007079/2.806, allocations: 1.419 MB / 0.7994 GB, free: 106.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001078/2.807, allocations: 66.98 kB / 0.7995 GB, free: 106.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02292/2.83, allocations: 10.86 MB / 0.8101 GB, free: 103.6 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/2.83, allocations: 0 / 0.8101 GB, free: 103.6 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03287/2.863, allocations: 12.03 MB / 0.8218 GB, free: 102.9 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004869/2.868, allocations: 1.103 MB / 0.8229 GB, free: 102.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002944/2.871, allocations: 55.31 kB / 0.823 GB, free: 102.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006192/2.877, allocations: 255.9 kB / 0.8232 GB, free: 102.8 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001482/2.879, allocations: 195.2 kB / 0.8234 GB, free: 102.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004726/2.879, allocations: 94.3 kB / 0.8235 GB, free: 102.8 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.008651/2.888, allocations: 3.319 MB / 0.8267 GB, free: 102.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.974e-06/2.888, allocations: 0 / 0.8267 GB, free: 102.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01108/2.899, allocations: 1.607 MB / 0.8283 GB, free: 102.2 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.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 (294): * Single equations (assignments): 289 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03722/2.937, allocations: 12.89 MB / 0.8409 GB, free: 96.95 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0214/2.958, allocations: 8.972 MB / 0.8496 GB, free: 94.05 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/2.958, allocations: 0 / 0.8496 GB, free: 94.05 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01054/2.969, allocations: 3.789 MB / 0.8533 GB, free: 92.57 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005474/2.974, allocations: 0.6198 MB / 0.8539 GB, free: 92.31 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5513/3.525, allocations: 165.3 MB / 1.015 GB, free: 85.77 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01122/3.537, allocations: 4.932 MB / 1.02 GB, free: 84.91 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008048/3.545, allocations: 3.1 MB / 1.023 GB, free: 84.91 MB / 474.7 MB Notification: Performance of SimCode: time 2.044e-06/3.545, allocations: 0 / 1.023 GB, free: 84.91 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.98/9.525, allocations: 181.5 MB / 1.2 GB, free: 102.2 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat does not exist to compare? outputFormat=mat