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.FrameForces.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.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadModel(ModelicaTest): time 2.538/2.538, allocations: 234.9 MB / 251.1 MB, free: 9.477 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005982/0.0005984, allocations: 12 kB / 314.9 MB, free: 9.531 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3576, allocations: 54.87 MB / 369.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1881/0.5457, allocations: 100.7 MB / 470.5 MB, free: 5.918 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000334/0.5461, allocations: 83.91 kB / 470.6 MB, free: 5.836 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8506/1.397, allocations: 111.6 MB / 0.5685 GB, free: 3.102 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.344e-06/1.397, allocations: 0 / 0.5685 GB, free: 3.102 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003487/1.397, allocations: 111.9 kB / 0.5686 GB, free: 2.992 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1885 * Number of variables: 1885 Notification: Performance of Generate backend data structure: time 0.02408/1.421, allocations: 5.802 MB / 0.5743 GB, free: 13.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/1.421, allocations: 8.031 kB / 0.5743 GB, free: 13.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05292/1.474, allocations: 6.923 MB / 0.5811 GB, free: 6.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02792/1.502, allocations: 6.824 MB / 0.5877 GB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000678/1.503, allocations: 398.5 kB / 0.5881 GB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003382/1.506, allocations: 0.5269 MB / 0.5886 GB, free: 14.36 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04475/1.551, allocations: 13.03 MB / 0.6014 GB, free: 88 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004068/1.552, allocations: 83.19 kB / 0.6014 GB, free: 4 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002769/1.554, allocations: 259.9 kB / 0.6017 GB, free: 15.75 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003207/1.558, allocations: 1.211 MB / 0.6029 GB, free: 14.54 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0381/1.596, allocations: 10.37 MB / 0.613 GB, free: 4.148 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5285/2.124, allocations: 58.36 MB / 0.67 GB, free: 59.83 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01901/2.143, allocations: 4.681 MB / 0.6746 GB, free: 59.16 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01889/2.162, allocations: 6.86 MB / 0.6813 GB, free: 58 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.562e-05/2.162, allocations: 54.94 kB / 0.6813 GB, free: 57.96 MB / 474.7 MB Notification: Performance of pre-optimization done (n=181): time 6.241e-06/2.162, allocations: 0 / 0.6813 GB, free: 57.96 MB / 474.7 MB Notification: Performance of matching and sorting (n=193): time 0.07102/2.234, allocations: 16.17 MB / 0.6971 GB, free: 54.15 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.098e-05/2.234, allocations: 203.5 kB / 0.6973 GB, free: 53.93 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01357/2.247, allocations: 5.756 MB / 0.7029 GB, free: 53.5 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004883/2.248, allocations: 57.73 kB / 0.703 GB, free: 53.46 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003574/2.251, allocations: 3.812 MB / 0.7067 GB, free: 51.48 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001226/2.253, allocations: 0.7664 MB / 0.7075 GB, free: 51.06 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008932/2.254, allocations: 139.2 kB / 0.7076 GB, free: 51.06 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.00048/2.254, allocations: 0.6129 MB / 0.7082 GB, free: 50.73 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005999/2.26, allocations: 2.271 MB / 0.7104 GB, free: 50.72 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009257/2.269, allocations: 6.689 MB / 0.7169 GB, free: 45.03 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009168/2.279, allocations: 3.814 MB / 0.7207 GB, free: 44.14 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001837/2.279, allocations: 45.53 kB / 0.7207 GB, free: 44.14 MB / 474.7 MB Notification: Performance of matching and sorting (n=918) (initialization): time 0.02473/2.304, allocations: 8.886 MB / 0.7294 GB, free: 41.61 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001382/2.304, allocations: 70.72 kB / 0.7295 GB, free: 41.61 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002642/2.304, allocations: 154.8 kB / 0.7296 GB, free: 41.61 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002174/2.306, allocations: 0.5911 MB / 0.7302 GB, free: 41.51 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009774/2.316, allocations: 1.61 MB / 0.7317 GB, free: 41.31 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009164/2.325, allocations: 5.694 MB / 0.7373 GB, free: 37.39 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008354/2.334, allocations: 376.8 kB / 0.7377 GB, free: 37.25 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001833/2.336, allocations: 438.3 kB / 0.7381 GB, free: 37.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 714 * Number of states: 0 () * Number of discrete variables: 42 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (868): * Single equations (assignments): 863 * 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 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007601/2.343, allocations: 2.619 MB / 0.7406 GB, free: 35.98 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001234/2.344, allocations: 485.7 kB / 0.7411 GB, free: 35.71 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008664/2.353, allocations: 3.003 MB / 0.744 GB, free: 34.54 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.528e-05/2.353, allocations: 23.77 kB / 0.7441 GB, free: 34.54 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.659e-05/2.353, allocations: 9.656 kB / 0.7441 GB, free: 34.54 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.474e-05/2.353, allocations: 5.625 kB / 0.7441 GB, free: 34.54 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02378/2.377, allocations: 8.165 MB / 0.752 GB, free: 29.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-05/2.377, allocations: 0 / 0.752 GB, free: 29.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002748/2.38, allocations: 291.5 kB / 0.7523 GB, free: 29.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001624/2.382, allocations: 346.9 kB / 0.7527 GB, free: 28.95 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003065/2.382, allocations: 39.23 kB / 0.7527 GB, free: 28.91 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007816/2.39, allocations: 5.05 MB / 0.7576 GB, free: 24.06 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/2.39, allocations: 4 kB / 0.7576 GB, free: 24.05 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01248/2.402, allocations: 5.506 MB / 0.763 GB, free: 19.16 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002919/2.405, allocations: 0.7879 MB / 0.7638 GB, free: 18.41 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001243/2.407, allocations: 42.45 kB / 0.7638 GB, free: 18.37 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003427/2.41, allocations: 88.41 kB / 0.7639 GB, free: 18.31 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000664/2.411, allocations: 120.4 kB / 0.764 GB, free: 18.23 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001973/2.411, allocations: 51.38 kB / 0.7641 GB, free: 18.19 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.009753/2.421, allocations: 3.681 MB / 0.7677 GB, free: 15.19 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.072e-06/2.421, allocations: 0 / 0.7677 GB, free: 15.19 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009245/2.43, allocations: 1.194 MB / 0.7688 GB, free: 14 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (154): * Single equations (assignments): 149 * 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 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006844/2.431, allocations: 183.1 kB / 0.769 GB, free: 13.83 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01293/2.444, allocations: 5.617 MB / 0.7745 GB, free: 8.918 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/2.444, allocations: 0 / 0.7745 GB, free: 8.918 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003751/2.447, allocations: 1.678 MB / 0.7761 GB, free: 7.406 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005012/2.453, allocations: 0.5827 MB / 0.7767 GB, free: 6.91 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03493/2.488, allocations: 14 MB / 0.7904 GB, free: 10.15 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0104/2.498, allocations: 4.132 MB / 0.7944 GB, free: 7.078 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002167/2.5, allocations: 373.7 kB / 0.7948 GB, free: 6.727 MB / 490.7 MB Notification: Performance of SimCode: time 1.523e-06/2.5, allocations: 0 / 0.7948 GB, free: 6.727 MB / 490.7 MB Notification: Performance of Templates: time 0.6077/3.108, allocations: 115 MB / 0.9071 GB, free: 129.3 MB / 0.5261 GB