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.375/2.375, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004519/0.0004519, allocations: 16 kB / 314.5 MB, free: 9.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3617, allocations: 54.86 MB / 369.4 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1865/0.5483, allocations: 101.6 MB / 470.9 MB, free: 4.863 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/0.5487, allocations: 87.95 kB / 471 MB, free: 4.777 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.802/2.351, allocations: 178.6 MB / 0.6344 GB, free: 45.55 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.886e-06/2.351, allocations: 2.344 kB / 0.6344 GB, free: 45.55 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0007051/2.352, allocations: 179.2 kB / 0.6346 GB, free: 45.55 MB / 458.8 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.05304/2.405, allocations: 9.461 MB / 0.6438 GB, free: 44.23 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.109e-05/2.405, allocations: 9.656 kB / 0.6439 GB, free: 44.23 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009315/2.414, allocations: 1.622 MB / 0.6454 GB, free: 44.11 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09398/2.508, allocations: 9.866 MB / 0.6551 GB, free: 43.49 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03511/2.543, allocations: 9.879 MB / 0.6647 GB, free: 42.48 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001073/2.544, allocations: 0.695 MB / 0.6654 GB, free: 42.46 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00552/2.55, allocations: 0.922 MB / 0.6663 GB, free: 42.45 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09254/2.643, allocations: 22.33 MB / 0.6881 GB, free: 37.93 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007206/2.643, allocations: 110.9 kB / 0.6882 GB, free: 37.93 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004595/2.648, allocations: 434.5 kB / 0.6886 GB, free: 37.93 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004581/2.653, allocations: 2.089 MB / 0.6907 GB, free: 37.9 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0589/2.711, allocations: 18.68 MB / 0.7089 GB, free: 37.51 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1604/2.872, allocations: 91.53 MB / 0.7983 GB, free: 11.06 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04164/2.914, allocations: 9.462 MB / 0.8075 GB, free: 3.363 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006077/2.914, allocations: 86.64 kB / 0.8076 GB, free: 3.312 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.895e-05/2.914, allocations: 73.56 kB / 0.8077 GB, free: 3.234 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=412): time 8.315e-06/2.914, allocations: 3.781 kB / 0.8077 GB, free: 3.234 MB / 0.4949 GB Notification: Performance of matching and sorting (n=475): time 0.5698/3.484, allocations: 45.28 MB / 0.8519 GB, free: 98.61 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001359/3.484, allocations: 284.6 kB / 0.8522 GB, free: 98.32 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01924/3.504, allocations: 7.384 MB / 0.8594 GB, free: 97.75 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001404/3.505, allocations: 98.66 kB / 0.8595 GB, free: 97.72 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005508/3.511, allocations: 5.769 MB / 0.8651 GB, free: 94.59 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.003331/3.514, allocations: 1.746 MB / 0.8668 GB, free: 93.56 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00231/3.516, allocations: 228.3 kB / 0.867 GB, free: 93.56 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001344/3.518, allocations: 0.7817 MB / 0.8678 GB, free: 93.23 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0134/3.531, allocations: 5.046 MB / 0.8727 GB, free: 93.21 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01757/3.549, allocations: 11.09 MB / 0.8836 GB, free: 85.53 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01746/3.566, allocations: 7.331 MB / 0.8907 GB, free: 85.47 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002667/3.567, allocations: 61.84 kB / 0.8908 GB, free: 85.47 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1458) (initialization): time 0.05152/3.618, allocations: 17.96 MB / 0.9083 GB, free: 82.62 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001993/3.618, allocations: 98.69 kB / 0.9084 GB, free: 82.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004088/3.619, allocations: 212.6 kB / 0.9086 GB, free: 82.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01078/3.63, allocations: 2.469 MB / 0.911 GB, free: 82.19 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01784/3.648, allocations: 2.68 MB / 0.9137 GB, free: 81.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03304/3.681, allocations: 17.4 MB / 0.9306 GB, free: 72.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01442/3.695, allocations: 0.6734 MB / 0.9313 GB, free: 72.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002935/3.698, allocations: 0.6415 MB / 0.9319 GB, free: 72.32 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 () * 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.01284/3.711, allocations: 4.193 MB / 0.936 GB, free: 70.38 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002444/3.713, allocations: 0.7462 MB / 0.9367 GB, free: 69.97 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03346/3.747, allocations: 10.8 MB / 0.9473 GB, free: 66.02 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.871e-05/3.747, allocations: 51.16 kB / 0.9473 GB, free: 66.02 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.549e-05/3.747, allocations: 14.62 kB / 0.9474 GB, free: 66 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001388/3.747, allocations: 23.2 kB / 0.9474 GB, free: 66 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0671/3.814, allocations: 22.98 MB / 0.9698 GB, free: 47.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.679e-05/3.815, allocations: 4 kB / 0.9698 GB, free: 47.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008881/3.823, allocations: 0.878 MB / 0.9707 GB, free: 46.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009602/3.833, allocations: 2.126 MB / 0.9728 GB, free: 45.32 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001387/3.834, allocations: 90.89 kB / 0.9728 GB, free: 45.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03152/3.866, allocations: 16.18 MB / 0.9887 GB, free: 30.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/3.866, allocations: 7.938 kB / 0.9887 GB, free: 30.81 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04428/3.91, allocations: 17.78 MB / 1.006 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006174/3.917, allocations: 1.613 MB / 1.008 GB, free: 13.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003079/3.92, allocations: 79.41 kB / 1.008 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008637/3.928, allocations: 354.7 kB / 1.008 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001946/3.93, allocations: 289.8 kB / 1.008 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006708/3.931, allocations: 127.3 kB / 1.008 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01393/3.945, allocations: 5.272 MB / 1.014 GB, free: 8.902 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.152e-06/3.945, allocations: 0 / 1.014 GB, free: 8.902 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01591/3.961, allocations: 2.27 MB / 1.016 GB, free: 6.637 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 () * 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.4438/4.405, allocations: 19.08 MB / 1.034 GB, free: 88.96 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02947/4.434, allocations: 12.55 MB / 1.047 GB, free: 88.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/4.434, allocations: 1.016 kB / 1.047 GB, free: 88.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01483/4.449, allocations: 5.351 MB / 1.052 GB, free: 88.08 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008335/4.458, allocations: 0.9359 MB / 1.053 GB, free: 88.04 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6622/5.12, allocations: 238.5 MB / 1.286 GB, free: 134.2 MB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01748/5.137, allocations: 6.589 MB / 1.292 GB, free: 133.3 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01304/5.151, allocations: 4.529 MB / 1.297 GB, free: 133.3 MB / 0.5887 GB Notification: Performance of SimCode: time 1.242e-06/5.151, allocations: 0 / 1.297 GB, free: 133.3 MB / 0.5887 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.23/12.38, allocations: 292.4 MB / 1.582 GB, free: 76.97 MB / 0.5887 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