Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") Notification: Performance of loadModel(ModelicaTest): time 2.002/2.002, allocations: 209.4 MB / 217.3 MB, free: 4.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.703e-05/1.719e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2632, allocations: 48.69 MB / 320 MB, free: 14.38 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1417/0.405, allocations: 93.33 MB / 413.3 MB, free: 3.074 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/0.4053, allocations: 71.97 kB / 413.4 MB, free: 3.004 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6716/1.077, allocations: 127.8 MB / 0.5286 GB, free: 31.53 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.991e-06/1.077, allocations: 0 / 0.5286 GB, free: 31.53 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003327/1.077, allocations: 128 kB / 0.5287 GB, free: 31.4 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.02038/1.098, allocations: 6.356 MB / 0.5349 GB, free: 24.97 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/1.098, allocations: 12.03 kB / 0.5349 GB, free: 24.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0362/1.134, allocations: 7.101 MB / 0.5418 GB, free: 17.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02092/1.155, allocations: 7.234 MB / 0.5489 GB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005353/1.156, allocations: 212 kB / 0.5491 GB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002749/1.158, allocations: 391.9 kB / 0.5495 GB, free: 9.953 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02023/1.179, allocations: 9.629 MB / 0.5589 GB, free: 324 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03738/1.216, allocations: 14.13 MB / 0.5727 GB, free: 1.008 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004471/1.217, allocations: 79.28 kB / 0.5728 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002549/1.219, allocations: 36 kB / 0.5728 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003287/1.222, allocations: 1.574 MB / 0.5743 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3501/1.573, allocations: 63.83 MB / 0.6367 GB, free: 34.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009136/1.582, allocations: 5.932 MB / 0.6425 GB, free: 33.72 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006211/1.588, allocations: 4.06 MB / 0.6464 GB, free: 33.67 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007484/1.589, allocations: 0.5695 MB / 0.647 GB, free: 33.19 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.191e-05/1.589, allocations: 68.44 kB / 0.647 GB, free: 33.15 MB / 410.7 MB Notification: Performance of pre-optimization done (n=315): time 8.504e-06/1.589, allocations: 0 / 0.647 GB, free: 33.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=359): time 0.07861/1.668, allocations: 28.68 MB / 0.6751 GB, free: 24.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.107e-05/1.668, allocations: 218 kB / 0.6753 GB, free: 23.81 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008179/1.676, allocations: 3.899 MB / 0.6791 GB, free: 22.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000738/1.677, allocations: 25.7 kB / 0.6791 GB, free: 22.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002976/1.68, allocations: 4.368 MB / 0.6834 GB, free: 19.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001792/1.681, allocations: 1.269 MB / 0.6846 GB, free: 18.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009856/1.682, allocations: 0 / 0.6846 GB, free: 18.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000714/1.683, allocations: 0.6718 MB / 0.6853 GB, free: 17.69 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006999/1.69, allocations: 3.503 MB / 0.6887 GB, free: 16.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009824/1.7, allocations: 8.152 MB / 0.6966 GB, free: 7.543 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009769/1.71, allocations: 5.283 MB / 0.7018 GB, free: 3.363 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001384/1.71, allocations: 48 kB / 0.7018 GB, free: 3.316 MB / 410.7 MB Notification: Performance of matching and sorting (n=1118) (initialization): time 0.03106/1.741, allocations: 12.08 MB / 0.7136 GB, free: 9.324 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001447/1.741, allocations: 76 kB / 0.7137 GB, free: 9.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000254/1.742, allocations: 164 kB / 0.7139 GB, free: 9.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005787/1.747, allocations: 1.715 MB / 0.7155 GB, free: 7.805 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00936/1.757, allocations: 2.019 MB / 0.7175 GB, free: 6.078 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02413/1.781, allocations: 11.06 MB / 0.7283 GB, free: 12.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008415/1.789, allocations: 349 kB / 0.7286 GB, free: 12.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002226/1.792, allocations: 0.4967 MB / 0.7291 GB, free: 12.11 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 749 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1046): * Single equations (assignments): 1041 * 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%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002723/1.794, allocations: 0.5294 MB / 0.7297 GB, free: 11.58 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001371/1.796, allocations: 465.9 kB / 0.7301 GB, free: 11.12 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01851/1.814, allocations: 7.19 MB / 0.7371 GB, free: 5.281 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.781e-05/1.814, allocations: 36 kB / 0.7371 GB, free: 5.246 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.173e-05/1.815, allocations: 8 kB / 0.7372 GB, free: 5.238 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.432e-05/1.815, allocations: 15.75 kB / 0.7372 GB, free: 5.238 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04294/1.858, allocations: 15.09 MB / 0.7519 GB, free: 9.277 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.82e-05/1.858, allocations: 3.938 kB / 0.7519 GB, free: 9.277 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004396/1.862, allocations: 0.6208 MB / 0.7525 GB, free: 8.777 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005172/1.867, allocations: 1.405 MB / 0.7539 GB, free: 7.793 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000807/1.868, allocations: 15.75 kB / 0.7539 GB, free: 7.781 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2828/2.151, allocations: 9.877 MB / 0.7636 GB, free: 106.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.166e-05/2.151, allocations: 5.266 kB / 0.7636 GB, free: 106.3 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02435/2.175, allocations: 11.87 MB / 0.7752 GB, free: 105.5 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003237/2.179, allocations: 1.05 MB / 0.7762 GB, free: 105.4 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001219/2.18, allocations: 3.75 kB / 0.7762 GB, free: 105.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003775/2.184, allocations: 202.4 kB / 0.7764 GB, free: 105.4 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009039/2.185, allocations: 208.8 kB / 0.7766 GB, free: 105.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005462/2.185, allocations: 92.88 kB / 0.7767 GB, free: 105.4 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005344/2.191, allocations: 2.614 MB / 0.7792 GB, free: 105.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.27e-06/2.191, allocations: 0 / 0.7792 GB, free: 105.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009311/2.2, allocations: 1.403 MB / 0.7806 GB, free: 105.2 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (305): * Single equations (assignments): 300 * 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.0009014/2.201, allocations: 157.6 kB / 0.7807 GB, free: 105.1 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01727/2.218, allocations: 8.866 MB / 0.7894 GB, free: 104.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.671e-06/2.218, allocations: 0 / 0.7894 GB, free: 104.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007845/2.226, allocations: 3.698 MB / 0.793 GB, free: 104.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003583/2.23, allocations: 479.1 kB / 0.7935 GB, free: 104.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03213/2.262, allocations: 13.58 MB / 0.8067 GB, free: 101.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0108/2.273, allocations: 4.931 MB / 0.8115 GB, free: 100.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003924/2.277, allocations: 426.6 kB / 0.8119 GB, free: 100.2 MB / 458.7 MB Notification: Performance of SimCode: time 2.924e-06/2.277, allocations: 0 / 0.8119 GB, free: 100.2 MB / 458.7 MB Notification: Performance of Templates: time 0.4947/2.771, allocations: 138.8 MB / 0.9475 GB, free: 109.8 MB / 458.7 MB