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.FrameTorques2.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.FrameTorques2,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Forces_FrameTorques2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.022/2.022, allocations: 209.2 MB / 224.8 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004872/0.0004874, allocations: 23.98 kB / 282.7 MB, free: 9.547 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1157, allocations: 48.7 MB / 331.4 MB, free: 8.762 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4383/0.5541, allocations: 92.85 MB / 424.2 MB, free: 8.086 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/0.5544, allocations: 79.91 kB / 424.3 MB, free: 8.008 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9635/1.518, allocations: 169.8 MB / 0.5801 GB, free: 51.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.186e-06/1.518, allocations: 0 / 0.5801 GB, free: 51.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006154/1.519, allocations: 167.9 kB / 0.5803 GB, free: 51.79 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2944 * Number of variables: 2944 Notification: Performance of Generate backend data structure: time 0.03886/1.558, allocations: 9.041 MB / 0.5891 GB, free: 42.65 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/1.558, allocations: 11.97 kB / 0.5891 GB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007264/1.565, allocations: 1.467 MB / 0.5906 GB, free: 41.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08731/1.652, allocations: 12.08 MB / 0.6024 GB, free: 29.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03697/1.689, allocations: 10.99 MB / 0.6131 GB, free: 17.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008824/1.69, allocations: 0.6299 MB / 0.6137 GB, free: 17.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004984/1.695, allocations: 0.855 MB / 0.6145 GB, free: 16.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06567/1.761, allocations: 19.98 MB / 0.6341 GB, free: 10.97 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006924/1.762, allocations: 111 kB / 0.6342 GB, free: 10.86 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004452/1.766, allocations: 403.8 kB / 0.6345 GB, free: 10.46 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00491/1.771, allocations: 1.822 MB / 0.6363 GB, free: 8.641 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6815/2.453, allocations: 16.27 MB / 0.6522 GB, free: 63.82 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1379/2.591, allocations: 82.06 MB / 0.7323 GB, free: 16.55 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03449/2.625, allocations: 8.146 MB / 0.7403 GB, free: 13.94 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001032/2.626, allocations: 0.6679 MB / 0.741 GB, free: 13.34 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.825e-05/2.626, allocations: 64.09 kB / 0.741 GB, free: 13.29 MB / 426.8 MB Notification: Performance of pre-optimization done (n=311): time 7.083e-06/2.626, allocations: 2.938 kB / 0.741 GB, free: 13.29 MB / 426.8 MB Notification: Performance of matching and sorting (n=335): time 0.1327/2.759, allocations: 30.95 MB / 0.7712 GB, free: 0 / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002602/2.759, allocations: 296.7 kB / 0.7715 GB, free: 15.65 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0213/2.781, allocations: 6.88 MB / 0.7782 GB, free: 9.918 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009452/2.782, allocations: 77.7 kB / 0.7783 GB, free: 9.836 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.007089/2.789, allocations: 5.531 MB / 0.7837 GB, free: 4.812 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002683/2.792, allocations: 1.267 MB / 0.785 GB, free: 3.699 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001798/2.793, allocations: 196 kB / 0.7851 GB, free: 3.508 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.001367/2.795, allocations: 0.7148 MB / 0.7858 GB, free: 2.898 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01117/2.806, allocations: 3.54 MB / 0.7893 GB, free: 0 / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01681/2.823, allocations: 9.196 MB / 0.7983 GB, free: 4.891 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0152/2.838, allocations: 5.575 MB / 0.8037 GB, free: 0 / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006715/2.839, allocations: 85.83 kB / 0.8038 GB, free: 0 / 458.8 MB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.05541/2.894, allocations: 13.1 MB / 0.8166 GB, free: 4.684 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002119/2.895, allocations: 90.81 kB / 0.8167 GB, free: 4.598 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004525/2.895, allocations: 200 kB / 0.8169 GB, free: 4.402 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004732/2.9, allocations: 1.061 MB / 0.8179 GB, free: 3.523 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01519/2.915, allocations: 2.244 MB / 0.8201 GB, free: 1.586 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4193/3.334, allocations: 11.47 MB / 0.8313 GB, free: 98.2 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01814/3.353, allocations: 0.5288 MB / 0.8318 GB, free: 98.2 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004032/3.357, allocations: 0.567 MB / 0.8324 GB, free: 98.2 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 912 * Number of states: 0 () * Number of discrete variables: 63 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[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 (1179): * Single equations (assignments): 1172 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01632/3.373, allocations: 3.88 MB / 0.8362 GB, free: 98.07 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003416/3.377, allocations: 0.6739 MB / 0.8368 GB, free: 98.07 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02792/3.405, allocations: 6.046 MB / 0.8427 GB, free: 97.85 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001199/3.405, allocations: 35.81 kB / 0.8428 GB, free: 97.85 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.857e-05/3.405, allocations: 11.72 kB / 0.8428 GB, free: 97.85 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001094/3.405, allocations: 18.95 kB / 0.8428 GB, free: 97.85 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07124/3.476, allocations: 15.1 MB / 0.8575 GB, free: 97.03 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.696e-05/3.476, allocations: 2.906 kB / 0.8575 GB, free: 97.03 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008161/3.485, allocations: 0.5591 MB / 0.8581 GB, free: 97.03 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005071/3.49, allocations: 0.7055 MB / 0.8588 GB, free: 97 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001118/3.491, allocations: 58.2 kB / 0.8588 GB, free: 97 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02397/3.515, allocations: 10.34 MB / 0.8689 GB, free: 91.2 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.684e-06/3.515, allocations: 6.406 kB / 0.8689 GB, free: 91.2 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03594/3.551, allocations: 10.2 MB / 0.8789 GB, free: 87.04 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00658/3.557, allocations: 1.197 MB / 0.88 GB, free: 86.57 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003646/3.561, allocations: 56.47 kB / 0.8801 GB, free: 86.54 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009235/3.57, allocations: 196.2 kB / 0.8803 GB, free: 86.5 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001658/3.572, allocations: 196.3 kB / 0.8805 GB, free: 86.47 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009172/3.573, allocations: 86.58 kB / 0.8806 GB, free: 86.45 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.02019/3.593, allocations: 4.922 MB / 0.8854 GB, free: 84.81 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.583e-06/3.593, allocations: 0 / 0.8854 GB, free: 84.81 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.02259/3.616, allocations: 1.861 MB / 0.8872 GB, free: 84.61 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,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 (276): * Single equations (assignments): 269 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03844/3.655, allocations: 11.17 MB / 0.8981 GB, free: 79.33 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.03042/3.685, allocations: 8.987 MB / 0.9069 GB, free: 76.5 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.517e-05/3.685, allocations: 0 / 0.9069 GB, free: 76.5 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01106/3.696, allocations: 3.249 MB / 0.91 GB, free: 75.07 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01125/3.707, allocations: 0.9238 MB / 0.9109 GB, free: 74.7 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6227/4.33, allocations: 214 MB / 1.12 GB, free: 13.58 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01544/4.346, allocations: 6.124 MB / 1.126 GB, free: 12.66 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01095/4.357, allocations: 4.151 MB / 1.13 GB, free: 12.66 MB / 490.8 MB Notification: Performance of SimCode: time 1.203e-06/4.357, allocations: 0 / 1.13 GB, free: 12.66 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.419/11.78, allocations: 296.3 MB / 1.419 GB, free: 140.5 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat does not exist to compare? outputFormat=mat