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.FrameForcesAndTorques3.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.FrameForcesAndTorques3,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.428/2.428, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004452/0.0004452, allocations: 12 kB / 314.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3608, allocations: 54.87 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2036/0.5644, allocations: 100.9 MB / 470.3 MB, free: 5.555 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003627/0.5648, allocations: 83.95 kB / 470.3 MB, free: 5.473 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8015/1.366, allocations: 130.9 MB / 0.5872 GB, free: 15.23 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.715e-06/1.366, allocations: 0 / 0.5872 GB, free: 15.23 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004409/1.367, allocations: 128 kB / 0.5873 GB, free: 15.1 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2374 * Number of variables: 2374 Notification: Performance of Generate backend data structure: time 0.03043/1.397, allocations: 6.809 MB / 0.594 GB, free: 8.215 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/1.397, allocations: 8.031 kB / 0.594 GB, free: 8.207 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005796/1.403, allocations: 1.183 MB / 0.5951 GB, free: 7.012 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05448/1.458, allocations: 7.097 MB / 0.602 GB, free: 15.89 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02784/1.486, allocations: 7.265 MB / 0.6091 GB, free: 8.562 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008503/1.487, allocations: 0.4973 MB / 0.6096 GB, free: 8.062 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004421/1.491, allocations: 0.6638 MB / 0.6103 GB, free: 7.398 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05853/1.55, allocations: 16.55 MB / 0.6264 GB, free: 5.66 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004991/1.55, allocations: 79.31 kB / 0.6265 GB, free: 5.582 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00357/1.554, allocations: 319.8 kB / 0.6268 GB, free: 5.27 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003947/1.558, allocations: 1.574 MB / 0.6284 GB, free: 3.688 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0495/1.607, allocations: 14.11 MB / 0.6421 GB, free: 5.562 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5006/2.108, allocations: 66.2 MB / 0.7068 GB, free: 46.84 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02898/2.137, allocations: 7.065 MB / 0.7137 GB, free: 46.16 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03727/2.174, allocations: 15.06 MB / 0.7284 GB, free: 42.88 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.27e-05/2.174, allocations: 66.16 kB / 0.7284 GB, free: 42.82 MB / 474.7 MB Notification: Performance of pre-optimization done (n=306): time 7.884e-06/2.174, allocations: 0 / 0.7284 GB, free: 42.82 MB / 474.7 MB Notification: Performance of matching and sorting (n=348): time 0.1327/2.307, allocations: 30.74 MB / 0.7585 GB, free: 31.73 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/2.307, allocations: 225.1 kB / 0.7587 GB, free: 31.5 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01166/2.319, allocations: 4.699 MB / 0.7633 GB, free: 29.93 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001038/2.32, allocations: 80.42 kB / 0.7634 GB, free: 29.86 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003657/2.324, allocations: 4.233 MB / 0.7675 GB, free: 26.81 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002225/2.326, allocations: 1.28 MB / 0.7687 GB, free: 25.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001341/2.327, allocations: 168 kB / 0.7689 GB, free: 25.63 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000725/2.328, allocations: 0.652 MB / 0.7695 GB, free: 25.07 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009833/2.338, allocations: 3.62 MB / 0.7731 GB, free: 22.01 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01243/2.35, allocations: 8.069 MB / 0.7809 GB, free: 12.62 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01257/2.363, allocations: 5.296 MB / 0.7861 GB, free: 8.184 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001483/2.363, allocations: 44 kB / 0.7862 GB, free: 8.141 MB / 474.7 MB Notification: Performance of matching and sorting (n=1068) (initialization): time 0.03871/2.402, allocations: 12.89 MB / 0.7988 GB, free: 13.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001515/2.402, allocations: 72 kB / 0.7988 GB, free: 13.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003275/2.403, allocations: 152 kB / 0.799 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007482/2.41, allocations: 1.671 MB / 0.8006 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01354/2.424, allocations: 1.924 MB / 0.8025 GB, free: 10.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02567/2.449, allocations: 11.67 MB / 0.8139 GB, free: 40 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01084/2.46, allocations: 0.5114 MB / 0.8144 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002475/2.463, allocations: 486.5 kB / 0.8148 GB, free: 15.26 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 710 * Number of states: 0 () * Number of discrete variables: 48 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 (996): * Single equations (assignments): 991 * 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.01046/2.473, allocations: 3.073 MB / 0.8178 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001725/2.475, allocations: 0.5014 MB / 0.8183 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02644/2.502, allocations: 7.47 MB / 0.8256 GB, free: 5.934 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-05/2.502, allocations: 36 kB / 0.8257 GB, free: 5.898 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.042e-05/2.502, allocations: 11.95 kB / 0.8257 GB, free: 5.887 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001033/2.502, allocations: 14.62 kB / 0.8257 GB, free: 5.887 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4152/2.917, allocations: 16.08 MB / 0.8414 GB, free: 110 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-05/2.917, allocations: 3.5 kB / 0.8414 GB, free: 110 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006168/2.923, allocations: 0.6035 MB / 0.842 GB, free: 110 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006537/2.93, allocations: 1.414 MB / 0.8434 GB, free: 110 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001/2.931, allocations: 61.86 kB / 0.8434 GB, free: 110 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02221/2.953, allocations: 10.86 MB / 0.854 GB, free: 107.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/2.953, allocations: 6.219 kB / 0.854 GB, free: 107.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03269/2.986, allocations: 12.03 MB / 0.8658 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004731/2.991, allocations: 1.095 MB / 0.8669 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002258/2.993, allocations: 57.83 kB / 0.8669 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006242/2.999, allocations: 258.2 kB / 0.8672 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001557/3.001, allocations: 198.1 kB / 0.8673 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005717/3.002, allocations: 91.83 kB / 0.8674 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.009326/3.011, allocations: 3.317 MB / 0.8707 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.262e-06/3.011, allocations: 0 / 0.8707 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01155/3.023, allocations: 1.61 MB / 0.8722 GB, free: 106.4 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.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 (294): * Single equations (assignments): 289 * 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.03291/3.056, allocations: 12.88 MB / 0.8848 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02173/3.077, allocations: 8.966 MB / 0.8936 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/3.077, allocations: 0 / 0.8936 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01096/3.088, allocations: 3.787 MB / 0.8973 GB, free: 98.81 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005834/3.094, allocations: 0.6292 MB / 0.8979 GB, free: 98.54 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5273/3.622, allocations: 165.3 MB / 1.059 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01222/3.634, allocations: 4.927 MB / 1.064 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008898/3.643, allocations: 3.105 MB / 1.067 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of SimCode: time 1.002e-06/3.643, allocations: 0 / 1.067 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.617/9.26, allocations: 181.7 MB / 1.245 GB, free: 138.4 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat does not exist to compare? outputFormat=mat