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.ForcesAndTorques.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.ForcesAndTorques,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Forces_ForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.343/2.343, allocations: 235 MB / 248.1 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.28e-05/3.292e-05, allocations: 4 kB / 309.8 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3877/0.3878, allocations: 54.86 MB / 364.6 MB, free: 5.523 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1866/0.5744, allocations: 104 MB / 468.6 MB, free: 8.457 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/0.5748, allocations: 75.95 kB / 468.7 MB, free: 8.383 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.922/1.497, allocations: 148.8 MB / 0.603 GB, free: 90.57 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.545e-06/1.497, allocations: 4 kB / 0.603 GB, free: 90.57 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004467/1.497, allocations: 148 kB / 0.6031 GB, free: 90.43 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: 2760 * Number of variables: 2760 Notification: Performance of Generate backend data structure: time 0.0298/1.527, allocations: 7.386 MB / 0.6103 GB, free: 82.96 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/1.527, allocations: 11.97 kB / 0.6103 GB, free: 82.95 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006236/1.534, allocations: 1.369 MB / 0.6117 GB, free: 81.57 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05376/1.587, allocations: 7.322 MB / 0.6188 GB, free: 74.23 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03523/1.623, allocations: 7.885 MB / 0.6265 GB, free: 66.26 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009458/1.624, allocations: 0.5856 MB / 0.6271 GB, free: 65.67 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005176/1.629, allocations: 0.7653 MB / 0.6278 GB, free: 64.91 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07133/1.7, allocations: 18.84 MB / 0.6462 GB, free: 44.55 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005549/1.701, allocations: 99.11 kB / 0.6463 GB, free: 44.45 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004058/1.705, allocations: 371.8 kB / 0.6467 GB, free: 44.09 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004201/1.709, allocations: 1.825 MB / 0.6485 GB, free: 42.26 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04942/1.759, allocations: 15.36 MB / 0.6635 GB, free: 26.86 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5114/2.27, allocations: 81.73 MB / 0.7433 GB, free: 44.98 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0386/2.309, allocations: 8.647 MB / 0.7517 GB, free: 44.27 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009286/2.318, allocations: 4.618 MB / 0.7563 GB, free: 44.22 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02924/2.347, allocations: 11.7 MB / 0.7677 GB, free: 42.19 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.027e-05/2.348, allocations: 75.14 kB / 0.7678 GB, free: 42.15 MB / 474.7 MB Notification: Performance of pre-optimization done (n=347): time 8.235e-06/2.348, allocations: 6.625 kB / 0.7678 GB, free: 42.15 MB / 474.7 MB Notification: Performance of matching and sorting (n=389): time 0.1396/2.487, allocations: 31.5 MB / 0.7985 GB, free: 33.76 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/2.487, allocations: 250 kB / 0.7988 GB, free: 33.5 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01847/2.506, allocations: 6.491 MB / 0.8051 GB, free: 31.19 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001244/2.507, allocations: 84.7 kB / 0.8052 GB, free: 31.11 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006189/2.513, allocations: 5.016 MB / 0.8101 GB, free: 27.11 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003231/2.517, allocations: 1.438 MB / 0.8115 GB, free: 26.05 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001854/2.519, allocations: 197.4 kB / 0.8117 GB, free: 25.9 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0009312/2.52, allocations: 0.7312 MB / 0.8124 GB, free: 25.41 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01471/2.534, allocations: 4.02 MB / 0.8163 GB, free: 24.01 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01909/2.553, allocations: 9.589 MB / 0.8257 GB, free: 13.67 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0191/2.573, allocations: 6.159 MB / 0.8317 GB, free: 8.703 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002439/2.573, allocations: 56 kB / 0.8317 GB, free: 8.648 MB / 474.7 MB Notification: Performance of matching and sorting (n=1297) (initialization): time 0.05176/2.625, allocations: 15.02 MB / 0.8464 GB, free: 13.39 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001885/2.625, allocations: 96.22 kB / 0.8465 GB, free: 13.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003897/2.625, allocations: 195.4 kB / 0.8467 GB, free: 13.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007994/2.633, allocations: 1.714 MB / 0.8484 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01744/2.651, allocations: 2.428 MB / 0.8507 GB, free: 9.766 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02873/2.68, allocations: 11.62 MB / 0.8621 GB, free: 0 / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01568/2.695, allocations: 0.6484 MB / 0.8627 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002727/2.698, allocations: 0.5714 MB / 0.8633 GB, free: 15.16 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 892 * Number of states: 0 () * Number of discrete variables: 66 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1225): * Single equations (assignments): 1220 * 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.003266/2.701, allocations: 0.8563 MB / 0.8641 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002042/2.703, allocations: 0.6479 MB / 0.8647 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02664/2.73, allocations: 8.127 MB / 0.8727 GB, free: 5.863 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-05/2.73, allocations: 40 kB / 0.8727 GB, free: 5.824 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.821e-05/2.73, allocations: 12 kB / 0.8727 GB, free: 5.812 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.641e-05/2.73, allocations: 15.94 kB / 0.8727 GB, free: 5.797 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06118/2.792, allocations: 18.21 MB / 0.8905 GB, free: 3.516 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.587e-05/2.792, allocations: 11.94 kB / 0.8905 GB, free: 3.508 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008416/2.8, allocations: 0.7726 MB / 0.8913 GB, free: 2.734 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007406/2.808, allocations: 1.421 MB / 0.8927 GB, free: 1.309 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001233/2.809, allocations: 75.98 kB / 0.8928 GB, free: 1.234 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02704/2.836, allocations: 10.59 MB / 0.9031 GB, free: 6.395 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.916e-05/2.836, allocations: 11.94 kB / 0.9031 GB, free: 6.383 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4799/3.316, allocations: 14.36 MB / 0.9171 GB, free: 146.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006001/3.322, allocations: 1.317 MB / 0.9184 GB, free: 146.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002841/3.325, allocations: 75.36 kB / 0.9185 GB, free: 146.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007671/3.333, allocations: 259.4 kB / 0.9187 GB, free: 146.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001701/3.334, allocations: 239.6 kB / 0.919 GB, free: 146.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005412/3.335, allocations: 108.7 kB / 0.9191 GB, free: 146.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01518/3.35, allocations: 4.652 MB / 0.9236 GB, free: 146.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.92e-07/3.35, allocations: 1.188 kB / 0.9236 GB, free: 146.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01387/3.364, allocations: 1.867 MB / 0.9254 GB, free: 146.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (329): * Single equations (assignments): 324 * 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.03506/3.399, allocations: 16.1 MB / 0.9412 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02469/3.424, allocations: 9.938 MB / 0.9509 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.661e-05/3.424, allocations: 0 / 0.9509 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01424/3.438, allocations: 3.965 MB / 0.9547 GB, free: 139.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01008/3.448, allocations: 0.7769 MB / 0.9555 GB, free: 138.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07559/3.524, allocations: 18.55 MB / 0.9736 GB, free: 132.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01454/3.539, allocations: 5.637 MB / 0.9791 GB, free: 130.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01039/3.549, allocations: 3.758 MB / 0.9828 GB, free: 127.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.713e-06/3.549, allocations: 0 / 0.9828 GB, free: 127.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.167/9.716, allocations: 214.3 MB / 1.192 GB, free: 101.8 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques_res.mat does not exist to compare? outputFormat=mat