Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.Force2.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Force2,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.Force2") Notification: Performance of loadModel(ModelicaTest): time 2.108/2.108, allocations: 235.1 MB / 243 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.295e-05/1.296e-05, allocations: 224 / 303.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2933, allocations: 54.86 MB / 358 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1974/0.4908, allocations: 104.7 MB / 462.7 MB, free: 6.086 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003936/0.4912, allocations: 71.97 kB / 462.8 MB, free: 6.016 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.319/1.811, allocations: 231.2 MB / 0.6778 GB, free: 40.31 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.124e-06/1.811, allocations: 0 / 0.6778 GB, free: 40.31 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0006747/1.811, allocations: 250 kB / 0.678 GB, free: 40.31 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: 4386 * Number of variables: 4386 Notification: Performance of Generate backend data structure: time 0.0391/1.85, allocations: 12.24 MB / 0.69 GB, free: 35.85 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/1.85, allocations: 11.31 kB / 0.69 GB, free: 35.85 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06812/1.919, allocations: 12.79 MB / 0.7024 GB, free: 34.99 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03672/1.955, allocations: 13.22 MB / 0.7154 GB, free: 33.52 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006984/1.956, allocations: 410.8 kB / 0.7158 GB, free: 33.52 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005051/1.961, allocations: 0.7384 MB / 0.7165 GB, free: 33.5 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03791/1.999, allocations: 17.44 MB / 0.7335 GB, free: 32.68 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05548/2.055, allocations: 25.79 MB / 0.7587 GB, free: 8.445 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006368/2.055, allocations: 143.2 kB / 0.7588 GB, free: 8.371 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003533/2.059, allocations: 67.47 kB / 0.7589 GB, free: 8.309 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004554/2.063, allocations: 2.861 MB / 0.7617 GB, free: 5.938 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5674/2.631, allocations: 121 MB / 0.8799 GB, free: 31.76 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01627/2.647, allocations: 10.93 MB / 0.8905 GB, free: 30.46 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01146/2.659, allocations: 7.676 MB / 0.898 GB, free: 30.39 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0017/2.66, allocations: 1.093 MB / 0.8991 GB, free: 29.54 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001236/2.661, allocations: 98.72 kB / 0.8992 GB, free: 29.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=552): time 1.308e-05/2.661, allocations: 2.812 kB / 0.8992 GB, free: 29.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=640): time 0.1672/2.828, allocations: 62.8 MB / 0.9605 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/2.828, allocations: 382.2 kB / 0.9609 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01745/2.846, allocations: 7.912 MB / 0.9686 GB, free: 8.707 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001405/2.847, allocations: 29.61 kB / 0.9686 GB, free: 8.676 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.006301/2.853, allocations: 8.238 MB / 0.9767 GB, free: 2.617 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.003919/2.857, allocations: 2.281 MB / 0.9789 GB, free: 0.7578 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002175/2.859, allocations: 0 / 0.9789 GB, free: 0.7578 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001678/2.861, allocations: 0.9837 MB / 0.9799 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0147/2.876, allocations: 6.419 MB / 0.9861 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02309/2.899, allocations: 14.9 MB / 1.001 GB, free: 8.453 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02001/2.919, allocations: 9.659 MB / 1.01 GB, free: 0.8359 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003083/2.919, allocations: 84 kB / 1.01 GB, free: 0.7539 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2053) (initialization): time 0.397/3.316, allocations: 22.62 MB / 1.032 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003596/3.317, allocations: 133.8 kB / 1.032 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004979/3.317, allocations: 298.8 kB / 1.033 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01098/3.328, allocations: 3.312 MB / 1.036 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01749/3.346, allocations: 3.845 MB / 1.04 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03459/3.381, allocations: 21.25 MB / 1.06 GB, free: 117.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01522/3.396, allocations: 0.6355 MB / 1.061 GB, free: 117.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003258/3.399, allocations: 0.9019 MB / 1.062 GB, free: 117.6 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1365 * Number of states: 0 () * Number of discrete variables: 117 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],force4.connectionLineColor[3],force4.connectionLineColor[2],force4.connectionLineColor[1],force4.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[1],force3.forceColor[3],force3.forceColor[2],force3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[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 (1935): * Single equations (assignments): 1928 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 20,(4,75.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003657/3.403, allocations: 0.8941 MB / 1.063 GB, free: 117.5 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002152/3.405, allocations: 0.8928 MB / 1.064 GB, free: 117.5 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03063/3.436, allocations: 13.84 MB / 1.077 GB, free: 117.2 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.998e-05/3.436, allocations: 63.31 kB / 1.077 GB, free: 117.2 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.356e-05/3.436, allocations: 18.59 kB / 1.077 GB, free: 117.2 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001208/3.436, allocations: 30.42 kB / 1.077 GB, free: 117.2 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06798/3.504, allocations: 28.84 MB / 1.105 GB, free: 114.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.052e-05/3.504, allocations: 7.812 kB / 1.105 GB, free: 114.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008285/3.512, allocations: 1.257 MB / 1.107 GB, free: 114.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009818/3.522, allocations: 2.792 MB / 1.109 GB, free: 113.6 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001408/3.524, allocations: 29.36 kB / 1.109 GB, free: 113.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03132/3.555, allocations: 19.67 MB / 1.129 GB, free: 103.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.17e-05/3.555, allocations: 9.406 kB / 1.129 GB, free: 103.1 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04222/3.597, allocations: 23.43 MB / 1.152 GB, free: 92.84 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006015/3.603, allocations: 1.924 MB / 1.153 GB, free: 91.08 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002631/3.606, allocations: 25.52 kB / 1.153 GB, free: 91.06 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007402/3.613, allocations: 349.5 kB / 1.154 GB, free: 90.88 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001867/3.615, allocations: 397.7 kB / 1.154 GB, free: 90.64 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000689/3.616, allocations: 161.4 kB / 1.154 GB, free: 90.49 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01146/3.628, allocations: 5.358 MB / 1.16 GB, free: 85.88 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.2e-06/3.628, allocations: 0 / 1.16 GB, free: 85.88 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01797/3.646, allocations: 2.65 MB / 1.162 GB, free: 83.23 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 16 (Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (553): * Single equations (assignments): 546 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 18,(4,75.0%) 18,(4,75.0%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001576/3.647, allocations: 189.1 kB / 1.162 GB, free: 83.11 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0298/3.677, allocations: 16.33 MB / 1.178 GB, free: 69.05 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/3.677, allocations: 0 / 1.178 GB, free: 69.05 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01319/3.69, allocations: 6.854 MB / 1.185 GB, free: 62.95 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00711/3.697, allocations: 0.9661 MB / 1.186 GB, free: 62.16 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05536/3.753, allocations: 26.25 MB / 1.212 GB, free: 39.26 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01732/3.77, allocations: 8.797 MB / 1.22 GB, free: 32.96 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004602/3.775, allocations: 0.7625 MB / 1.221 GB, free: 32.24 MB / 0.5573 GB Notification: Performance of SimCode: time 2.144e-06/3.775, allocations: 0 / 1.221 GB, free: 32.24 MB / 0.5573 GB Notification: Performance of Templates: time 1.237/5.012, allocations: 357.9 MB / 1.57 GB, free: 52.27 MB / 0.5573 GB