Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.492/2.492, allocations: 234.9 MB / 250.5 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006074/0.0006076, allocations: 15.98 kB / 314.5 MB, free: 9.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3473, allocations: 54.86 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1871/0.5344, allocations: 101.4 MB / 470.7 MB, free: 5.09 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/0.5348, allocations: 79.97 kB / 470.8 MB, free: 5.012 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8843/1.419, allocations: 132.9 MB / 0.5895 GB, free: 12.86 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.986e-06/1.419, allocations: 0 / 0.5895 GB, free: 12.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004395/1.42, allocations: 128 kB / 0.5896 GB, free: 12.74 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2410 * Number of variables: 2410 Notification: Performance of Generate backend data structure: time 0.0304/1.45, allocations: 6.9 MB / 0.5964 GB, free: 5.758 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/1.45, allocations: 15.97 kB / 0.5964 GB, free: 5.742 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00587/1.456, allocations: 1.199 MB / 0.5976 GB, free: 4.527 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05415/1.51, allocations: 7.128 MB / 0.6045 GB, free: 13.38 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02735/1.538, allocations: 7.255 MB / 0.6116 GB, free: 6.062 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000804/1.538, allocations: 0.5054 MB / 0.6121 GB, free: 5.555 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004019/1.542, allocations: 0.6638 MB / 0.6128 GB, free: 4.891 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05606/1.599, allocations: 16.74 MB / 0.6291 GB, free: 2.797 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004734/1.599, allocations: 91.11 kB / 0.6292 GB, free: 2.707 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003558/1.603, allocations: 323.8 kB / 0.6295 GB, free: 2.391 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004327/1.607, allocations: 1.554 MB / 0.631 GB, free: 0.8281 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04812/1.655, allocations: 13.98 MB / 0.6447 GB, free: 2.824 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4689/2.124, allocations: 70.15 MB / 0.7132 GB, free: 41.26 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0329/2.157, allocations: 7.923 MB / 0.7209 GB, free: 40.59 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003697/2.158, allocations: 59.94 kB / 0.721 GB, free: 40.59 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.572e-05/2.158, allocations: 69.7 kB / 0.721 GB, free: 40.55 MB / 474.7 MB Notification: Performance of pre-optimization done (n=290): time 7.665e-06/2.158, allocations: 0 / 0.721 GB, free: 40.55 MB / 474.7 MB Notification: Performance of matching and sorting (n=332): time 0.1393/2.297, allocations: 32.72 MB / 0.753 GB, free: 31.47 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/2.297, allocations: 219.7 kB / 0.7532 GB, free: 31.24 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01455/2.312, allocations: 5.614 MB / 0.7587 GB, free: 29.36 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009825/2.313, allocations: 82.88 kB / 0.7588 GB, free: 29.29 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004074/2.317, allocations: 4.37 MB / 0.763 GB, free: 26.1 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002401/2.319, allocations: 1.235 MB / 0.7642 GB, free: 25.19 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001494/2.321, allocations: 178.3 kB / 0.7644 GB, free: 25.05 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0008364/2.322, allocations: 0.6746 MB / 0.7651 GB, free: 24.58 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01038/2.332, allocations: 3.792 MB / 0.7688 GB, free: 23.29 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01335/2.345, allocations: 8.598 MB / 0.7772 GB, free: 14.89 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01307/2.359, allocations: 5.594 MB / 0.7826 GB, free: 10.23 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001665/2.359, allocations: 48 kB / 0.7827 GB, free: 10.19 MB / 474.7 MB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.03864/2.397, allocations: 13.56 MB / 0.7959 GB, free: 15.14 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001678/2.398, allocations: 80.95 kB / 0.796 GB, free: 15.06 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000347/2.398, allocations: 168 kB / 0.7961 GB, free: 14.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007524/2.406, allocations: 1.686 MB / 0.7978 GB, free: 13.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01466/2.42, allocations: 2.088 MB / 0.7998 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02594/2.446, allocations: 11.69 MB / 0.8112 GB, free: 1.422 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0111/2.457, allocations: 0.527 MB / 0.8118 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002596/2.46, allocations: 0.4984 MB / 0.8122 GB, free: 0.5117 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 770 * Number of states: 0 () * Number of discrete variables: 51 (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],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[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 (1047): * Single equations (assignments): 1042 * 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.02113/2.481, allocations: 3.761 MB / 0.8159 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002029/2.483, allocations: 0.5553 MB / 0.8165 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.026/2.509, allocations: 7.519 MB / 0.8238 GB, free: 8.566 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001151/2.51, allocations: 40 kB / 0.8238 GB, free: 8.527 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-05/2.51, allocations: 8 kB / 0.8239 GB, free: 8.52 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001041/2.51, allocations: 15 kB / 0.8239 GB, free: 8.52 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4127/2.922, allocations: 16.34 MB / 0.8398 GB, free: 107.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-05/2.923, allocations: 3.938 kB / 0.8398 GB, free: 107.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006609/2.929, allocations: 0.6481 MB / 0.8405 GB, free: 107.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006318/2.936, allocations: 1.429 MB / 0.8419 GB, free: 107.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001019/2.937, allocations: 64.36 kB / 0.8419 GB, free: 107.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02224/2.959, allocations: 10.91 MB / 0.8526 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/2.959, allocations: 8.344 kB / 0.8526 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03137/2.99, allocations: 12.84 MB / 0.8651 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004311/2.995, allocations: 1.206 MB / 0.8663 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001912/2.997, allocations: 56.67 kB / 0.8663 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006374/3.003, allocations: 271.9 kB / 0.8666 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001448/3.004, allocations: 202.8 kB / 0.8668 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007023/3.005, allocations: 89.69 kB / 0.8669 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01115/3.016, allocations: 3.998 MB / 0.8708 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.011e-06/3.016, allocations: 0 / 0.8708 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01155/3.028, allocations: 1.675 MB / 0.8724 GB, free: 103.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (278): * Single equations (assignments): 273 * 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.0327/3.061, allocations: 14.22 MB / 0.8863 GB, free: 99.16 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0224/3.083, allocations: 9.33 MB / 0.8954 GB, free: 96.21 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-05/3.083, allocations: 0 / 0.8954 GB, free: 96.21 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01089/3.094, allocations: 3.858 MB / 0.8992 GB, free: 94.74 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006067/3.1, allocations: 0.6659 MB / 0.8998 GB, free: 94.45 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5514/3.652, allocations: 180.1 MB / 1.076 GB, free: 109 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01391/3.666, allocations: 5 MB / 1.081 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009861/3.676, allocations: 3.223 MB / 1.084 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of SimCode: time 1.644e-06/3.676, allocations: 0 / 1.084 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.692/9.368, allocations: 188.7 MB / 1.268 GB, free: 137.1 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat does not exist to compare? outputFormat=mat