Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.33/2.33, allocations: 235.1 MB / 243 MB, free: 9.602 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.052e-05/2.055e-05, allocations: 4 kB / 303.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3372, allocations: 54.85 MB / 358.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1858/0.5231, allocations: 100.2 MB / 458.3 MB, free: 10.64 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003164/0.5235, allocations: 79.95 kB / 458.4 MB, free: 10.56 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.533/2.056, allocations: 194.7 MB / 0.6377 GB, free: 46.65 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.305e-06/2.057, allocations: 0 / 0.6377 GB, free: 46.65 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005854/2.057, allocations: 194.7 kB / 0.6379 GB, free: 46.64 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3662 * Number of variables: 3662 Notification: Performance of Generate backend data structure: time 0.03891/2.096, allocations: 9.429 MB / 0.6471 GB, free: 43.22 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/2.096, allocations: 7.5 kB / 0.6471 GB, free: 43.22 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04695/2.143, allocations: 4.027 MB / 0.6511 GB, free: 42.54 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03562/2.179, allocations: 10.56 MB / 0.6614 GB, free: 41.45 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008857/2.18, allocations: 342.3 kB / 0.6617 GB, free: 41.45 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005732/2.185, allocations: 0.6128 MB / 0.6623 GB, free: 41.44 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03787/2.223, allocations: 14.54 MB / 0.6765 GB, free: 41.39 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05718/2.281, allocations: 20.73 MB / 0.6967 GB, free: 36.99 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007714/2.281, allocations: 94.75 kB / 0.6968 GB, free: 36.98 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005187/2.287, allocations: 57.95 kB / 0.6969 GB, free: 36.98 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00573/2.292, allocations: 2.278 MB / 0.6991 GB, free: 36.95 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.169/2.461, allocations: 93.8 MB / 0.7907 GB, free: 1.832 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01472/2.476, allocations: 4.402 MB / 0.795 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005225/2.482, allocations: 1.929 MB / 0.7969 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003567/2.482, allocations: 62.55 kB / 0.7969 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.521e-05/2.482, allocations: 71.55 kB / 0.797 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=330): time 7.434e-06/2.482, allocations: 0 / 0.797 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=342): time 0.4176/2.9, allocations: 15.09 MB / 0.8118 GB, free: 85.46 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.671e-05/2.9, allocations: 165.2 kB / 0.8119 GB, free: 85.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01654/2.916, allocations: 5.659 MB / 0.8174 GB, free: 84.96 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007797/2.917, allocations: 29.3 kB / 0.8175 GB, free: 84.93 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.005434/2.923, allocations: 6.781 MB / 0.8241 GB, free: 82.74 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002033/2.925, allocations: 1.258 MB / 0.8253 GB, free: 82.12 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001413/2.926, allocations: 0 / 0.8253 GB, free: 82.12 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0009197/2.927, allocations: 0.7819 MB / 0.8261 GB, free: 81.79 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007549/2.935, allocations: 2.861 MB / 0.8289 GB, free: 81.77 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01207/2.947, allocations: 9.637 MB / 0.8383 GB, free: 72.95 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0115/2.958, allocations: 5.154 MB / 0.8433 GB, free: 72.89 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002583/2.959, allocations: 73.92 kB / 0.8434 GB, free: 72.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1444) (initialization): time 0.02899/2.988, allocations: 10.85 MB / 0.854 GB, free: 72.53 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001972/2.988, allocations: 109.8 kB / 0.8541 GB, free: 72.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003413/2.988, allocations: 244.1 kB / 0.8543 GB, free: 72.53 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004022/2.989, allocations: 354.8 kB / 0.8547 GB, free: 72.53 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01698/3.006, allocations: 2.712 MB / 0.8573 GB, free: 72.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004344/3.006, allocations: 476.5 kB / 0.8578 GB, free: 72.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01356/3.02, allocations: 0.4906 MB / 0.8582 GB, free: 72.24 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002621/3.022, allocations: 0.6622 MB / 0.8589 GB, free: 72.24 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1112 * Number of states: 0 () * Number of discrete variables: 69 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1420): * Single equations (assignments): 1417 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003269/3.026, allocations: 0.7143 MB / 0.8596 GB, free: 71.74 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009382/3.035, allocations: 3.711 MB / 0.8632 GB, free: 71.26 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001643/3.037, allocations: 0.6144 MB / 0.8638 GB, free: 70.92 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009177/3.046, allocations: 3.575 MB / 0.8673 GB, free: 70.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.195e-05/3.046, allocations: 36.47 kB / 0.8673 GB, free: 70.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.557e-05/3.046, allocations: 0 / 0.8673 GB, free: 70.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.161e-05/3.046, allocations: 18.08 kB / 0.8674 GB, free: 70.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07302/3.119, allocations: 36.91 MB / 0.9034 GB, free: 64.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001623/3.119, allocations: 89.52 kB / 0.9035 GB, free: 64.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005147/3.125, allocations: 0.8099 MB / 0.9043 GB, free: 64.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000128/3.125, allocations: 118.3 kB / 0.9044 GB, free: 64.36 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005093/3.125, allocations: 127.7 kB / 0.9045 GB, free: 64.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001047/3.125, allocations: 161.4 kB / 0.9047 GB, free: 64.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.024e-05/3.125, allocations: 136 kB / 0.9048 GB, free: 64.29 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.014/3.139, allocations: 22.44 MB / 0.9267 GB, free: 40.02 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002414/3.142, allocations: 0.7611 MB / 0.9275 GB, free: 39.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001867/3.144, allocations: 125.7 kB / 0.9276 GB, free: 39.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006258/3.15, allocations: 192.4 kB / 0.9278 GB, free: 39.52 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001172/3.151, allocations: 0.5433 MB / 0.9283 GB, free: 39.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004582/3.152, allocations: 226 kB / 0.9285 GB, free: 39.25 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.008782/3.161, allocations: 3.781 MB / 0.9322 GB, free: 37.91 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.72e-07/3.161, allocations: 0 / 0.9322 GB, free: 37.91 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01407/3.175, allocations: 1.592 MB / 0.9337 GB, free: 37.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 378 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (426): * Single equations (assignments): 423 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01809/3.193, allocations: 38.25 MB / 0.9711 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01744/3.21, allocations: 6.74 MB / 0.9777 GB, free: 7.512 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.695e-05/3.21, allocations: 12 kB / 0.9777 GB, free: 7.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004883/3.215, allocations: 1.895 MB / 0.9795 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008264/3.224, allocations: 0.8565 MB / 0.9804 GB, free: 5.09 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07763/3.301, allocations: 22.09 MB / 1.002 GB, free: 0.6719 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3771/3.678, allocations: 7.242 MB / 1.009 GB, free: 103 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01062/3.689, allocations: 4.815 MB / 1.014 GB, free: 103 MB / 0.5261 GB Notification: Performance of SimCode: time 2.113e-06/3.689, allocations: 1.344 kB / 1.014 GB, free: 103 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.313/9.002, allocations: 167.5 MB / 1.177 GB, free: 17.06 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat does not exist to compare? outputFormat=mat