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.WorldForceAndTorque.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.WorldForceAndTorque,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Forces_WorldForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.22/2.22, allocations: 209.3 MB / 224.8 MB, free: 0.6016 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006189/0.000619, allocations: 12 kB / 282.7 MB, free: 9.547 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3889, allocations: 48.7 MB / 331.4 MB, free: 6.406 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1795/0.5685, allocations: 94.77 MB / 426.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003248/0.5689, allocations: 75.97 kB / 426.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.02/1.589, allocations: 178.4 MB / 0.5904 GB, free: 4.434 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.455e-06/1.589, allocations: 0 / 0.5904 GB, free: 4.434 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005629/1.59, allocations: 191.9 kB / 0.5906 GB, free: 4.246 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: 3262 * Number of variables: 3262 Notification: Performance of Generate backend data structure: time 0.04362/1.634, allocations: 9.447 MB / 0.5998 GB, free: 10.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.277e-05/1.634, allocations: 19.95 kB / 0.5998 GB, free: 10.69 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008561/1.642, allocations: 1.615 MB / 0.6014 GB, free: 9.062 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09615/1.738, allocations: 9.863 MB / 0.611 GB, free: 15.17 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05062/1.789, allocations: 9.866 MB / 0.6207 GB, free: 5.219 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002474/1.792, allocations: 0.6977 MB / 0.6213 GB, free: 4.52 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007589/1.799, allocations: 0.9176 MB / 0.6222 GB, free: 3.602 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4591/2.258, allocations: 22.31 MB / 0.644 GB, free: 50.11 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009326/2.259, allocations: 105.3 kB / 0.6441 GB, free: 50.11 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005003/2.264, allocations: 439.8 kB / 0.6445 GB, free: 50.11 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005117/2.27, allocations: 2.085 MB / 0.6466 GB, free: 50.09 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06065/2.33, allocations: 18.66 MB / 0.6648 GB, free: 50 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1523/2.483, allocations: 91.44 MB / 0.7541 GB, free: 6.949 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04066/2.523, allocations: 9.447 MB / 0.7633 GB, free: 3.684 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006084/2.524, allocations: 79.67 kB / 0.7634 GB, free: 3.641 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.001e-05/2.524, allocations: 80.81 kB / 0.7635 GB, free: 3.559 MB / 442.7 MB Notification: Performance of pre-optimization done (n=412): time 9.879e-06/2.524, allocations: 0 / 0.7635 GB, free: 3.559 MB / 442.7 MB Notification: Performance of matching and sorting (n=475): time 0.5531/3.077, allocations: 45.31 MB / 0.8077 GB, free: 96.79 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001536/3.077, allocations: 280.7 kB / 0.808 GB, free: 96.5 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02182/3.099, allocations: 7.391 MB / 0.8152 GB, free: 96.11 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001374/3.101, allocations: 101.5 kB / 0.8153 GB, free: 96.07 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00577/3.107, allocations: 5.77 MB / 0.8209 GB, free: 94.25 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003415/3.11, allocations: 1.743 MB / 0.8226 GB, free: 93.22 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002323/3.112, allocations: 226.3 kB / 0.8229 GB, free: 93.22 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001152/3.114, allocations: 0.7882 MB / 0.8236 GB, free: 92.89 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01541/3.129, allocations: 5.044 MB / 0.8286 GB, free: 92.86 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01971/3.149, allocations: 11.08 MB / 0.8394 GB, free: 85.18 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01794/3.167, allocations: 7.335 MB / 0.8465 GB, free: 85.13 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003114/3.167, allocations: 58.59 kB / 0.8466 GB, free: 85.13 MB / 474.7 MB Notification: Performance of matching and sorting (n=1458) (initialization): time 0.05376/3.221, allocations: 17.96 MB / 0.8641 GB, free: 83.15 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001815/3.221, allocations: 95.12 kB / 0.8642 GB, free: 83.15 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003682/3.222, allocations: 211.5 kB / 0.8644 GB, free: 83.15 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0107/3.232, allocations: 2.475 MB / 0.8668 GB, free: 82.71 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02485/3.257, allocations: 2.672 MB / 0.8695 GB, free: 82.41 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04865/3.306, allocations: 17.41 MB / 0.8865 GB, free: 73.13 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01706/3.323, allocations: 0.6774 MB / 0.8871 GB, free: 72.93 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003369/3.326, allocations: 0.6376 MB / 0.8877 GB, free: 72.85 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 963 * Number of states: 0 () * Number of discrete variables: 72 (forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.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 (1362): * Single equations (assignments): 1356 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0146/3.341, allocations: 4.196 MB / 0.8918 GB, free: 70.9 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002663/3.344, allocations: 0.7461 MB / 0.8926 GB, free: 70.49 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03562/3.379, allocations: 10.8 MB / 0.9031 GB, free: 66.54 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.493e-05/3.38, allocations: 50.75 kB / 0.9032 GB, free: 66.54 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.679e-05/3.38, allocations: 12.81 kB / 0.9032 GB, free: 66.54 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001457/3.38, allocations: 21.14 kB / 0.9032 GB, free: 66.54 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07875/3.459, allocations: 22.97 MB / 0.9256 GB, free: 51.91 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.667e-05/3.459, allocations: 4 kB / 0.9256 GB, free: 51.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008985/3.468, allocations: 0.8828 MB / 0.9265 GB, free: 51.21 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0098/3.478, allocations: 2.128 MB / 0.9286 GB, free: 49.74 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001498/3.479, allocations: 91.03 kB / 0.9287 GB, free: 49.66 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03218/3.511, allocations: 16.18 MB / 0.9445 GB, free: 35.24 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/3.511, allocations: 4 kB / 0.9445 GB, free: 35.24 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04529/3.557, allocations: 17.79 MB / 0.9618 GB, free: 19.72 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006245/3.563, allocations: 1.616 MB / 0.9634 GB, free: 18.24 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002909/3.566, allocations: 83.59 kB / 0.9635 GB, free: 18.16 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008943/3.575, allocations: 358.9 kB / 0.9638 GB, free: 17.94 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002022/3.577, allocations: 286.5 kB / 0.9641 GB, free: 17.77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005735/3.578, allocations: 129.1 kB / 0.9642 GB, free: 17.65 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01378/3.591, allocations: 5.271 MB / 0.9694 GB, free: 13.33 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.81e-07/3.591, allocations: 0 / 0.9694 GB, free: 13.33 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01632/3.608, allocations: 2.269 MB / 0.9716 GB, free: 11.07 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 12 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,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 (406): * Single equations (assignments): 400 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 18,(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.4602/4.068, allocations: 19.09 MB / 0.9902 GB, free: 84.73 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.03014/4.098, allocations: 12.55 MB / 1.003 GB, free: 84.27 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.167e-05/4.098, allocations: 2.781 kB / 1.003 GB, free: 84.27 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0151/4.113, allocations: 5.351 MB / 1.008 GB, free: 83.85 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008313/4.122, allocations: 0.9404 MB / 1.009 GB, free: 83.81 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6384/4.76, allocations: 238.5 MB / 1.242 GB, free: 96.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01695/4.777, allocations: 6.585 MB / 1.248 GB, free: 95.87 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01323/4.79, allocations: 4.524 MB / 1.252 GB, free: 95.87 MB / 0.5261 GB Notification: Performance of SimCode: time 1.232e-06/4.791, allocations: 0 / 1.252 GB, free: 95.87 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.513/12.3, allocations: 292.2 MB / 1.538 GB, free: 127.8 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque_res.mat does not exist to compare? outputFormat=mat