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.WorldForceAndTorque.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.WorldForceAndTorque,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Forces_WorldForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.321/2.321, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.32e-05/3.339e-05, allocations: 4 kB / 309.8 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4021, allocations: 54.85 MB / 364.6 MB, free: 5.562 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1886/0.5907, allocations: 101.5 MB / 466.1 MB, free: 10.95 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/0.591, allocations: 75.95 kB / 466.2 MB, free: 10.87 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.265/1.856, allocations: 178.8 MB / 0.6299 GB, free: 62.29 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.853e-06/1.856, allocations: 0 / 0.6299 GB, free: 62.29 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0006607/1.856, allocations: 176 kB / 0.6301 GB, free: 62.12 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: 3268 * Number of variables: 3268 Notification: Performance of Generate backend data structure: time 0.03886/1.895, allocations: 8.801 MB / 0.6387 GB, free: 53.24 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/1.895, allocations: 12.03 kB / 0.6387 GB, free: 53.23 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00803/1.903, allocations: 1.619 MB / 0.6403 GB, free: 51.6 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07287/1.976, allocations: 9.871 MB / 0.6499 GB, free: 41.7 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03593/2.012, allocations: 9.85 MB / 0.6595 GB, free: 31.77 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009802/2.013, allocations: 0.69 MB / 0.6602 GB, free: 31.07 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005469/2.019, allocations: 0.9214 MB / 0.6611 GB, free: 30.15 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07393/2.093, allocations: 22.15 MB / 0.6827 GB, free: 6.332 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007389/2.094, allocations: 111 kB / 0.6828 GB, free: 6.223 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005141/2.099, allocations: 431.8 kB / 0.6833 GB, free: 5.801 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004853/2.104, allocations: 2.089 MB / 0.6853 GB, free: 3.703 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06816/2.172, allocations: 18.4 MB / 0.7033 GB, free: 1.262 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9133/3.085, allocations: 91.5 MB / 0.7926 GB, free: 21.79 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04882/3.134, allocations: 9.337 MB / 0.8017 GB, free: 18.76 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01563/3.15, allocations: 5.612 MB / 0.8072 GB, free: 16.43 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006193/3.151, allocations: 79.03 kB / 0.8073 GB, free: 16.41 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.156e-05/3.151, allocations: 82.25 kB / 0.8074 GB, free: 16.35 MB / 474.8 MB Notification: Performance of pre-optimization done (n=412): time 1.329e-05/3.151, allocations: 2.469 kB / 0.8074 GB, free: 16.35 MB / 474.8 MB Notification: Performance of matching and sorting (n=475): time 0.1826/3.333, allocations: 38.52 MB / 0.845 GB, free: 308 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002011/3.334, allocations: 288 kB / 0.8453 GB, free: 15.97 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04927/3.383, allocations: 7.307 MB / 0.8524 GB, free: 9.516 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001774/3.385, allocations: 99.73 kB / 0.8525 GB, free: 9.414 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.02128/3.406, allocations: 5.774 MB / 0.8581 GB, free: 4.164 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.004722/3.411, allocations: 1.75 MB / 0.8599 GB, free: 2.613 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002732/3.414, allocations: 220 kB / 0.8601 GB, free: 2.398 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.001569/3.415, allocations: 0.7848 MB / 0.8608 GB, free: 1.742 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03671/3.452, allocations: 6.011 MB / 0.8667 GB, free: 0 / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02219/3.474, allocations: 10.98 MB / 0.8774 GB, free: 3.023 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02129/3.496, allocations: 7.375 MB / 0.8846 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002497/3.496, allocations: 60 kB / 0.8847 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1458) (initialization): time 0.4557/3.952, allocations: 17.72 MB / 0.902 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002466/3.952, allocations: 96.47 kB / 0.9021 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004392/3.952, allocations: 210.2 kB / 0.9023 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01084/3.963, allocations: 2.472 MB / 0.9047 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0202/3.983, allocations: 2.678 MB / 0.9073 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0396/4.023, allocations: 16.9 MB / 0.9238 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01497/4.038, allocations: 0.6791 MB / 0.9245 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003111/4.041, allocations: 0.6428 MB / 0.9251 GB, free: 104.6 MB / 0.5105 GB 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 () * 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.004587/4.046, allocations: 0.9421 MB / 0.926 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00223/4.048, allocations: 0.7502 MB / 0.9268 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.032/4.08, allocations: 10.65 MB / 0.9372 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.573e-05/4.08, allocations: 55.27 kB / 0.9372 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.666e-05/4.08, allocations: 12.59 kB / 0.9372 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001307/4.081, allocations: 27.02 kB / 0.9373 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07121/4.152, allocations: 22.84 MB / 0.9596 GB, free: 99.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.828e-05/4.152, allocations: 8.891 kB / 0.9596 GB, free: 99.56 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009438/4.161, allocations: 0.8749 MB / 0.9604 GB, free: 99.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01009/4.172, allocations: 2.131 MB / 0.9625 GB, free: 99.12 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001645/4.173, allocations: 89.06 kB / 0.9626 GB, free: 99.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03182/4.205, allocations: 15.69 MB / 0.9779 GB, free: 90.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/4.205, allocations: 3.5 kB / 0.9779 GB, free: 90.75 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04393/4.249, allocations: 17.58 MB / 0.9951 GB, free: 82.44 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006895/4.256, allocations: 1.61 MB / 0.9966 GB, free: 81.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003714/4.26, allocations: 80.56 kB / 0.9967 GB, free: 81.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009077/4.269, allocations: 355.1 kB / 0.9971 GB, free: 80.86 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002066/4.271, allocations: 294.5 kB / 0.9973 GB, free: 80.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001477/4.273, allocations: 123.2 kB / 0.9975 GB, free: 80.56 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01423/4.287, allocations: 5.195 MB / 1.003 GB, free: 75.98 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.843e-06/4.287, allocations: 0 / 1.003 GB, free: 75.98 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01545/4.302, allocations: 2.275 MB / 1.005 GB, free: 73.72 MB / 0.5105 GB 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 () * 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.04557/4.348, allocations: 18.88 MB / 1.023 GB, free: 57.07 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02915/4.377, allocations: 12.34 MB / 1.035 GB, free: 46.43 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.366e-05/4.377, allocations: 4 kB / 1.035 GB, free: 46.42 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0146/4.392, allocations: 5.267 MB / 1.04 GB, free: 41.68 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00825/4.4, allocations: 0.9322 MB / 1.041 GB, free: 40.91 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07161/4.472, allocations: 22.45 MB / 1.063 GB, free: 21.59 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01622/4.488, allocations: 6.592 MB / 1.07 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01242/4.501, allocations: 4.529 MB / 1.074 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of SimCode: time 1.242e-06/4.501, allocations: 0 / 1.074 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.424/11.92, allocations: 292.2 MB / 1.359 GB, free: 119.9 MB / 0.5418 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque_res.mat does not exist to compare? outputFormat=mat