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: 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.2_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") Notification: Performance of loadModel(ModelicaTest): time 2.466/2.466, allocations: 234.9 MB / 251.1 MB, free: 9.699 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004337/0.0004338, allocations: 16 kB / 314.9 MB, free: 9.746 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3768, allocations: 54.86 MB / 369.8 MB, free: 12.81 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1838/0.5607, allocations: 100.9 MB / 470.7 MB, free: 7.762 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003272/0.5611, allocations: 79.97 kB / 470.8 MB, free: 7.684 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8511/1.412, allocations: 131.8 MB / 0.5884 GB, free: 44.97 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.967e-06/1.412, allocations: 0 / 0.5884 GB, free: 44.97 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005131/1.413, allocations: 127.9 kB / 0.5885 GB, free: 44.84 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.03665/1.449, allocations: 6.809 MB / 0.5952 GB, free: 37.95 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/1.45, allocations: 15.97 kB / 0.5952 GB, free: 37.94 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06328/1.513, allocations: 7.093 MB / 0.6021 GB, free: 30.82 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02621/1.539, allocations: 7.266 MB / 0.6092 GB, free: 23.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000665/1.54, allocations: 0.4973 MB / 0.6097 GB, free: 23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003826/1.544, allocations: 0.6637 MB / 0.6103 GB, free: 22.33 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05279/1.597, allocations: 16.61 MB / 0.6266 GB, free: 4.535 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004528/1.597, allocations: 75.31 kB / 0.6266 GB, free: 4.461 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00327/1.6, allocations: 315.8 kB / 0.6269 GB, free: 4.152 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003338/1.604, allocations: 1.577 MB / 0.6285 GB, free: 2.566 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04871/1.652, allocations: 14.1 MB / 0.6423 GB, free: 4.441 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4835/2.136, allocations: 66.2 MB / 0.7069 GB, free: 57.95 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02918/2.165, allocations: 7.049 MB / 0.7138 GB, free: 57.27 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03927/2.205, allocations: 15.07 MB / 0.7285 GB, free: 55.54 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.018e-05/2.205, allocations: 72.7 kB / 0.7286 GB, free: 55.49 MB / 474.7 MB Notification: Performance of pre-optimization done (n=306): time 7.694e-06/2.205, allocations: 1.469 kB / 0.7286 GB, free: 55.49 MB / 474.7 MB Notification: Performance of matching and sorting (n=348): time 0.1391/2.344, allocations: 31.53 MB / 0.7594 GB, free: 47.71 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/2.344, allocations: 218.4 kB / 0.7596 GB, free: 47.49 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01137/2.355, allocations: 5.283 MB / 0.7647 GB, free: 45.68 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000975/2.356, allocations: 82.45 kB / 0.7648 GB, free: 45.61 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003527/2.36, allocations: 4.234 MB / 0.7689 GB, free: 42.29 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002144/2.362, allocations: 1.28 MB / 0.7702 GB, free: 41.34 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001184/2.363, allocations: 169.6 kB / 0.7704 GB, free: 41.21 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006319/2.364, allocations: 0.6494 MB / 0.771 GB, free: 40.75 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009455/2.373, allocations: 3.624 MB / 0.7745 GB, free: 39.51 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01258/2.386, allocations: 8.096 MB / 0.7824 GB, free: 32.33 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01241/2.399, allocations: 5.295 MB / 0.7876 GB, free: 27.99 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002116/2.399, allocations: 44 kB / 0.7876 GB, free: 27.95 MB / 474.7 MB Notification: Performance of matching and sorting (n=1068) (initialization): time 0.03645/2.435, allocations: 12.82 MB / 0.8002 GB, free: 17.56 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001229/2.435, allocations: 76 kB / 0.8002 GB, free: 17.49 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002356/2.436, allocations: 156 kB / 0.8004 GB, free: 17.34 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007025/2.443, allocations: 1.631 MB / 0.802 GB, free: 16.13 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01323/2.456, allocations: 1.928 MB / 0.8039 GB, free: 14.49 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02247/2.479, allocations: 11.66 MB / 0.8153 GB, free: 4.035 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01035/2.489, allocations: 497.1 kB / 0.8157 GB, free: 3.633 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002113/2.491, allocations: 481.4 kB / 0.8162 GB, free: 3.18 MB / 474.7 MB 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.009563/2.501, allocations: 3.081 MB / 0.8192 GB, free: 484 kB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001732/2.502, allocations: 0.4939 MB / 0.8197 GB, free: 15.97 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02662/2.529, allocations: 7.416 MB / 0.8269 GB, free: 9.883 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.28e-05/2.529, allocations: 41.64 kB / 0.827 GB, free: 9.848 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-05/2.529, allocations: 12 kB / 0.827 GB, free: 9.836 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.73e-05/2.529, allocations: 16.59 kB / 0.827 GB, free: 9.836 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0538/2.583, allocations: 16.04 MB / 0.8426 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-05/2.583, allocations: 4 kB / 0.8426 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006655/2.59, allocations: 0.6007 MB / 0.8432 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007012/2.597, allocations: 1.38 MB / 0.8446 GB, free: 9.816 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009964/2.598, allocations: 59.98 kB / 0.8446 GB, free: 9.758 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02451/2.623, allocations: 10.85 MB / 0.8552 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/2.623, allocations: 0 / 0.8552 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03421/2.657, allocations: 11.9 MB / 0.8669 GB, free: 2.691 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004859/2.662, allocations: 1.092 MB / 0.8679 GB, free: 1.574 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002096/2.664, allocations: 59.98 kB / 0.868 GB, free: 1.516 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005695/2.67, allocations: 247.7 kB / 0.8682 GB, free: 1.273 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001172/2.671, allocations: 198.1 kB / 0.8684 GB, free: 1.078 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004246/2.671, allocations: 91.98 kB / 0.8685 GB, free: 0.9883 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.3812/3.053, allocations: 3.309 MB / 0.8717 GB, free: 135.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.32e-07/3.053, allocations: 0 / 0.8717 GB, free: 135.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0102/3.063, allocations: 1.615 MB / 0.8733 GB, free: 135.5 MB / 0.5105 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.001347/3.064, allocations: 206.7 kB / 0.8735 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02168/3.086, allocations: 8.97 MB / 0.8823 GB, free: 135.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/3.086, allocations: 3.656 kB / 0.8823 GB, free: 135.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01127/3.097, allocations: 3.78 MB / 0.886 GB, free: 134.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00572/3.103, allocations: 0.6295 MB / 0.8866 GB, free: 134.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0465/3.15, allocations: 18.88 MB / 0.905 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01148/3.161, allocations: 4.935 MB / 0.9098 GB, free: 127.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003384/3.165, allocations: 439.3 kB / 0.9102 GB, free: 127.4 MB / 0.5105 GB Notification: Performance of SimCode: time 1.182e-06/3.165, allocations: 0 / 0.9102 GB, free: 127.4 MB / 0.5105 GB Notification: Performance of Templates: time 0.2611/3.426, allocations: 141.9 MB / 1.049 GB, free: 18.62 MB / 0.5105 GB