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.FrameForcesAndTorques2.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.FrameForcesAndTorques2,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.FrameForcesAndTorques2") Notification: Performance of loadModel(ModelicaTest): time 1.975/1.975, allocations: 209.4 MB / 217.3 MB, free: 4.176 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.067e-05/2.074e-05, allocations: 4 kB / 271.3 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2673, allocations: 48.69 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1443/0.4116, allocations: 93.81 MB / 413.8 MB, free: 2.621 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/0.4119, allocations: 75.95 kB / 413.9 MB, free: 2.547 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7144/1.126, allocations: 129.8 MB / 0.5309 GB, free: 29.13 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.72e-06/1.126, allocations: 0 / 0.5309 GB, free: 29.13 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003314/1.127, allocations: 139.9 kB / 0.5311 GB, free: 29 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: 2406 * Number of variables: 2406 Notification: Performance of Generate backend data structure: time 0.0203/1.147, allocations: 6.415 MB / 0.5373 GB, free: 22.51 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/1.147, allocations: 8.031 kB / 0.5374 GB, free: 22.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03603/1.183, allocations: 7.14 MB / 0.5443 GB, free: 15.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01991/1.203, allocations: 7.216 MB / 0.5514 GB, free: 8.066 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004099/1.204, allocations: 220 kB / 0.5516 GB, free: 7.852 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002696/1.206, allocations: 403.9 kB / 0.552 GB, free: 7.457 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02052/1.227, allocations: 9.509 MB / 0.5613 GB, free: 13.94 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03724/1.264, allocations: 14.38 MB / 0.5753 GB, free: 14.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004422/1.265, allocations: 91.12 kB / 0.5754 GB, free: 14.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002495/1.267, allocations: 40 kB / 0.5754 GB, free: 14.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003184/1.27, allocations: 1.558 MB / 0.5769 GB, free: 12.53 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3574/1.628, allocations: 67.12 MB / 0.6425 GB, free: 29.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008518/1.636, allocations: 5.591 MB / 0.6479 GB, free: 29.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005794/1.642, allocations: 3.805 MB / 0.6517 GB, free: 29.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002194/1.643, allocations: 54.8 kB / 0.6517 GB, free: 29.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.798e-05/1.643, allocations: 69.84 kB / 0.6518 GB, free: 29.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=290): time 8.751e-06/1.643, allocations: 3.75 kB / 0.6518 GB, free: 29.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=334): time 0.08147/1.724, allocations: 29.31 MB / 0.6804 GB, free: 20 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.656e-05/1.724, allocations: 221.3 kB / 0.6806 GB, free: 19.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009044/1.733, allocations: 4.253 MB / 0.6848 GB, free: 18.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007198/1.734, allocations: 27.34 kB / 0.6848 GB, free: 18.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003193/1.737, allocations: 4.595 MB / 0.6893 GB, free: 14.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001676/1.739, allocations: 1.207 MB / 0.6905 GB, free: 13.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008909/1.74, allocations: 0 / 0.6905 GB, free: 13.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0006652/1.741, allocations: 0.6838 MB / 0.6911 GB, free: 13.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007305/1.748, allocations: 3.626 MB / 0.6947 GB, free: 11.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01014/1.758, allocations: 8.627 MB / 0.7031 GB, free: 1.203 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01235/1.77, allocations: 5.574 MB / 0.7085 GB, free: 12.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001892/1.771, allocations: 51.95 kB / 0.7086 GB, free: 12.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=1163) (initialization): time 0.03312/1.804, allocations: 12.53 MB / 0.7208 GB, free: 2.484 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001624/1.804, allocations: 84.16 kB / 0.7209 GB, free: 2.402 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002749/1.804, allocations: 176 kB / 0.7211 GB, free: 2.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005816/1.81, allocations: 1.702 MB / 0.7227 GB, free: 0.9531 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01027/1.82, allocations: 2.174 MB / 0.7249 GB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02084/1.841, allocations: 10.77 MB / 0.7354 GB, free: 5.512 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00914/1.851, allocations: 375.7 kB / 0.7357 GB, free: 5.238 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002224/1.853, allocations: 0.5235 MB / 0.7362 GB, free: 4.734 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 812 * Number of states: 0 () * Number of discrete variables: 51 (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],fixed2.color[3],fixed2.color[2],fixed2.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 (1091): * Single equations (assignments): 1086 * 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.00299/1.856, allocations: 0.5433 MB / 0.7368 GB, free: 4.184 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001417/1.857, allocations: 489.4 kB / 0.7372 GB, free: 3.707 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02649/1.884, allocations: 7.586 MB / 0.7446 GB, free: 15.04 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.155e-05/1.884, allocations: 46.39 kB / 0.7447 GB, free: 15 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.927e-05/1.884, allocations: 8 kB / 0.7447 GB, free: 14.99 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.176e-05/1.884, allocations: 18.28 kB / 0.7447 GB, free: 14.99 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03992/1.924, allocations: 14.99 MB / 0.7594 GB, free: 2.695 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.452e-05/1.924, allocations: 4.031 kB / 0.7594 GB, free: 2.691 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004664/1.929, allocations: 0.6552 MB / 0.76 GB, free: 2.035 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005302/1.934, allocations: 1.406 MB / 0.7614 GB, free: 0.625 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007918/1.935, allocations: 12 kB / 0.7614 GB, free: 0.6133 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2858/2.221, allocations: 9.849 MB / 0.771 GB, free: 104.6 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-05/2.221, allocations: 7 kB / 0.771 GB, free: 104.6 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02378/2.245, allocations: 12.35 MB / 0.7831 GB, free: 103.3 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003491/2.248, allocations: 1.084 MB / 0.7841 GB, free: 103.2 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001594/2.25, allocations: 7.25 kB / 0.7841 GB, free: 103.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004417/2.254, allocations: 224 kB / 0.7843 GB, free: 103.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001151/2.255, allocations: 202.6 kB / 0.7845 GB, free: 103.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004514/2.256, allocations: 87.48 kB / 0.7846 GB, free: 103.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006635/2.263, allocations: 2.851 MB / 0.7874 GB, free: 103.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.135e-06/2.263, allocations: 0 / 0.7874 GB, free: 103.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01061/2.273, allocations: 1.443 MB / 0.7888 GB, free: 103.1 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (280): * Single equations (assignments): 275 * 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.001049/2.274, allocations: 158.5 kB / 0.789 GB, free: 103 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01785/2.292, allocations: 9.087 MB / 0.7978 GB, free: 102.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.714e-06/2.292, allocations: 3.188 kB / 0.7978 GB, free: 102.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007547/2.3, allocations: 3.632 MB / 0.8014 GB, free: 102.4 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004114/2.304, allocations: 497.6 kB / 0.8019 GB, free: 102.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03405/2.338, allocations: 13.91 MB / 0.8155 GB, free: 97.13 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01135/2.349, allocations: 4.994 MB / 0.8203 GB, free: 95.48 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00281/2.352, allocations: 431.2 kB / 0.8207 GB, free: 95.46 MB / 458.7 MB Notification: Performance of SimCode: time 2.761e-06/2.352, allocations: 0 / 0.8207 GB, free: 95.46 MB / 458.7 MB Notification: Performance of Templates: time 0.4642/2.817, allocations: 141.9 MB / 0.9593 GB, free: 105.6 MB / 458.7 MB