Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.FrameForces.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadModel(ModelicaTest): time 1.99/1.99, allocations: 209.2 MB / 225.4 MB, free: 0.6797 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004649/0.0004652, allocations: 16 kB / 283.1 MB, free: 9.711 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1183, allocations: 48.71 MB / 331.8 MB, free: 8.914 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4653/0.5836, allocations: 93.85 MB / 425.7 MB, free: 7.312 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003103/0.584, allocations: 83.95 kB / 425.7 MB, free: 7.23 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7803/1.364, allocations: 111.5 MB / 0.5247 GB, free: 88.22 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.607e-06/1.364, allocations: 0 / 0.5247 GB, free: 88.22 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004554/1.365, allocations: 101.2 kB / 0.5248 GB, free: 88.22 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1883 * Number of variables: 1883 Notification: Performance of Generate backend data structure: time 0.02536/1.39, allocations: 5.806 MB / 0.5305 GB, free: 85.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/1.39, allocations: 11.31 kB / 0.5305 GB, free: 85.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04988/1.44, allocations: 6.923 MB / 0.5372 GB, free: 85.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02503/1.465, allocations: 6.821 MB / 0.5439 GB, free: 82.99 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005284/1.466, allocations: 405.6 kB / 0.5443 GB, free: 82.83 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003156/1.469, allocations: 0.5151 MB / 0.5448 GB, free: 82.69 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03999/1.509, allocations: 13.03 MB / 0.5575 GB, free: 73.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004189/1.51, allocations: 75.34 kB / 0.5576 GB, free: 73.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002941/1.513, allocations: 258.8 kB / 0.5578 GB, free: 73.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002692/1.515, allocations: 1.216 MB / 0.559 GB, free: 71.97 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03211/1.547, allocations: 10.36 MB / 0.5691 GB, free: 61.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08733/1.635, allocations: 58.35 MB / 0.6261 GB, free: 1.805 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01999/1.655, allocations: 4.669 MB / 0.6307 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02061/1.676, allocations: 6.873 MB / 0.6374 GB, free: 6.059 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.184e-05/1.676, allocations: 51.81 kB / 0.6374 GB, free: 6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=181): time 6.612e-06/1.676, allocations: 4 kB / 0.6374 GB, free: 5.996 MB / 426.7 MB Notification: Performance of matching and sorting (n=193): time 0.3928/2.069, allocations: 16.16 MB / 0.6532 GB, free: 93.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/2.069, allocations: 201.2 kB / 0.6534 GB, free: 93.53 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01773/2.086, allocations: 5.755 MB / 0.659 GB, free: 93.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005449/2.087, allocations: 55.61 kB / 0.6591 GB, free: 93.06 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004275/2.091, allocations: 3.822 MB / 0.6628 GB, free: 91.01 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001471/2.093, allocations: 0.7654 MB / 0.6636 GB, free: 90.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001033/2.094, allocations: 143.7 kB / 0.6637 GB, free: 90.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000633/2.095, allocations: 0.6022 MB / 0.6643 GB, free: 90.27 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007038/2.102, allocations: 2.267 MB / 0.6665 GB, free: 90.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009407/2.111, allocations: 6.694 MB / 0.673 GB, free: 84.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009577/2.121, allocations: 3.815 MB / 0.6768 GB, free: 83.49 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002079/2.121, allocations: 50.02 kB / 0.6768 GB, free: 83.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=918) (initialization): time 0.02433/2.145, allocations: 8.869 MB / 0.6855 GB, free: 80.36 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001404/2.146, allocations: 78.16 kB / 0.6856 GB, free: 80.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002754/2.146, allocations: 164.7 kB / 0.6857 GB, free: 80.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002254/2.148, allocations: 0.5939 MB / 0.6863 GB, free: 80.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009891/2.158, allocations: 1.607 MB / 0.6879 GB, free: 80.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009249/2.167, allocations: 5.706 MB / 0.6934 GB, free: 76.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008958/2.176, allocations: 383.3 kB / 0.6938 GB, free: 75.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001778/2.178, allocations: 433 kB / 0.6942 GB, free: 75.92 MB / 426.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.00822/2.186, allocations: 2.618 MB / 0.6968 GB, free: 74.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001494/2.188, allocations: 483.5 kB / 0.6972 GB, free: 74.44 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00892/2.197, allocations: 2.992 MB / 0.7001 GB, free: 73.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.142e-05/2.197, allocations: 30.44 kB / 0.7002 GB, free: 73.26 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.719e-05/2.197, allocations: 6.625 kB / 0.7002 GB, free: 73.26 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.332e-05/2.197, allocations: 15.16 kB / 0.7002 GB, free: 73.26 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02633/2.223, allocations: 8.153 MB / 0.7082 GB, free: 70.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.112e-05/2.223, allocations: 3.938 kB / 0.7082 GB, free: 70.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002771/2.226, allocations: 292.3 kB / 0.7084 GB, free: 70.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001757/2.228, allocations: 348.7 kB / 0.7088 GB, free: 70.05 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004307/2.229, allocations: 36.66 kB / 0.7088 GB, free: 70.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007753/2.236, allocations: 5.057 MB / 0.7137 GB, free: 66.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/2.236, allocations: 3.875 kB / 0.7138 GB, free: 66.32 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01309/2.249, allocations: 5.51 MB / 0.7191 GB, free: 63.86 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00348/2.253, allocations: 0.79 MB / 0.7199 GB, free: 63.38 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002152/2.255, allocations: 36.34 kB / 0.7199 GB, free: 63.35 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004128/2.259, allocations: 89.33 kB / 0.72 GB, free: 63.33 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006148/2.26, allocations: 122 kB / 0.7201 GB, free: 63.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001985/2.26, allocations: 52.48 kB / 0.7202 GB, free: 63.29 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.01022/2.27, allocations: 3.679 MB / 0.7238 GB, free: 62.09 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.22e-07/2.27, allocations: 0 / 0.7238 GB, free: 62.09 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009455/2.28, allocations: 1.195 MB / 0.7249 GB, free: 61.11 MB / 426.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.0009095/2.281, allocations: 177 kB / 0.7251 GB, free: 60.94 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01351/2.294, allocations: 5.624 MB / 0.7306 GB, free: 55.98 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.318e-06/2.295, allocations: 0 / 0.7306 GB, free: 55.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003524/2.298, allocations: 1.673 MB / 0.7322 GB, free: 54.47 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005389/2.303, allocations: 0.5881 MB / 0.7328 GB, free: 53.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03179/2.335, allocations: 14.01 MB / 0.7465 GB, free: 41.17 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009527/2.345, allocations: 4.123 MB / 0.7505 GB, free: 38.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002047/2.347, allocations: 366.5 kB / 0.7509 GB, free: 37.75 MB / 426.7 MB Notification: Performance of SimCode: time 1.192e-06/2.347, allocations: 0 / 0.7509 GB, free: 37.75 MB / 426.7 MB Notification: Performance of Templates: time 0.64/2.987, allocations: 115 MB / 0.8632 GB, free: 77.09 MB / 442.7 MB