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.FrameForces.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.855/1.855, allocations: 209.3 MB / 224.9 MB, free: 1.207 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004356/0.0004357, allocations: 19.98 kB / 282.6 MB, free: 9.723 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08636/0.08681, allocations: 48.71 MB / 331.3 MB, free: 8.926 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3511/0.4379, allocations: 93.87 MB / 425.1 MB, free: 7.277 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/0.4382, allocations: 71.97 kB / 425.2 MB, free: 7.207 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6387/1.077, allocations: 110.6 MB / 0.5233 GB, free: 87.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.781e-06/1.077, allocations: 3.75 kB / 0.5233 GB, free: 87.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003199/1.077, allocations: 101.8 kB / 0.5234 GB, free: 87.88 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.01836/1.096, allocations: 5.806 MB / 0.5291 GB, free: 85.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/1.096, allocations: 10.44 kB / 0.5291 GB, free: 85.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03685/1.133, allocations: 6.916 MB / 0.5358 GB, free: 85.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02059/1.153, allocations: 6.836 MB / 0.5425 GB, free: 82.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004647/1.154, allocations: 397.7 kB / 0.5429 GB, free: 82.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002299/1.156, allocations: 0.5262 MB / 0.5434 GB, free: 82.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03188/1.188, allocations: 12.98 MB / 0.5561 GB, free: 74.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000292/1.188, allocations: 73.41 kB / 0.5561 GB, free: 74.03 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001866/1.19, allocations: 258.3 kB / 0.5564 GB, free: 73.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002118/1.192, allocations: 1.219 MB / 0.5576 GB, free: 72.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02514/1.218, allocations: 10.36 MB / 0.5677 GB, free: 62.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06702/1.285, allocations: 58.34 MB / 0.6247 GB, free: 2.625 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01544/1.3, allocations: 4.684 MB / 0.6293 GB, free: 13.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01677/1.317, allocations: 6.869 MB / 0.636 GB, free: 6.871 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.042e-05/1.317, allocations: 55.88 kB / 0.636 GB, free: 6.809 MB / 426.7 MB Notification: Performance of pre-optimization done (n=181): time 6.43e-06/1.317, allocations: 0 / 0.636 GB, free: 6.809 MB / 426.7 MB Notification: Performance of matching and sorting (n=193): time 0.3044/1.621, allocations: 15.77 MB / 0.6514 GB, free: 93.78 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.694e-05/1.622, allocations: 201.7 kB / 0.6516 GB, free: 93.56 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01151/1.633, allocations: 5.137 MB / 0.6566 GB, free: 93.15 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000358/1.634, allocations: 53.98 kB / 0.6567 GB, free: 93.12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00339/1.637, allocations: 3.829 MB / 0.6604 GB, free: 91.06 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001123/1.638, allocations: 0.7586 MB / 0.6612 GB, free: 90.64 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005903/1.639, allocations: 146.6 kB / 0.6613 GB, free: 90.64 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004634/1.639, allocations: 0.6071 MB / 0.6619 GB, free: 90.32 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00478/1.644, allocations: 2.264 MB / 0.6641 GB, free: 90.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007095/1.651, allocations: 6.667 MB / 0.6706 GB, free: 84.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007551/1.659, allocations: 3.824 MB / 0.6743 GB, free: 83.83 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001385/1.659, allocations: 45.81 kB / 0.6744 GB, free: 83.83 MB / 426.7 MB Notification: Performance of matching and sorting (n=918) (initialization): time 0.02046/1.679, allocations: 8.867 MB / 0.683 GB, free: 80.72 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001231/1.679, allocations: 74.48 kB / 0.6831 GB, free: 80.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001847/1.68, allocations: 155.6 kB / 0.6833 GB, free: 80.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001823/1.682, allocations: 0.5956 MB / 0.6838 GB, free: 80.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006852/1.688, allocations: 1.612 MB / 0.6854 GB, free: 80.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007752/1.696, allocations: 5.695 MB / 0.691 GB, free: 76.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007177/1.703, allocations: 381.3 kB / 0.6913 GB, free: 76.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001164/1.705, allocations: 437.9 kB / 0.6918 GB, free: 76.29 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.005876/1.71, allocations: 2.616 MB / 0.6943 GB, free: 75.07 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001142/1.712, allocations: 486.9 kB / 0.6948 GB, free: 74.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006899/1.719, allocations: 2.999 MB / 0.6977 GB, free: 73.62 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.276e-05/1.719, allocations: 21.97 kB / 0.6977 GB, free: 73.62 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.457e-05/1.719, allocations: 10.94 kB / 0.6977 GB, free: 73.62 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.656e-05/1.719, allocations: 10.84 kB / 0.6977 GB, free: 73.61 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01918/1.738, allocations: 8.162 MB / 0.7057 GB, free: 70.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.875e-05/1.738, allocations: 8.125 kB / 0.7057 GB, free: 70.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001915/1.74, allocations: 288.2 kB / 0.706 GB, free: 70.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001391/1.741, allocations: 346.1 kB / 0.7063 GB, free: 70.42 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002284/1.742, allocations: 31.88 kB / 0.7064 GB, free: 70.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006858/1.748, allocations: 5.061 MB / 0.7113 GB, free: 66.68 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.613e-06/1.748, allocations: 7.688 kB / 0.7113 GB, free: 66.68 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01054/1.759, allocations: 5.971 MB / 0.7171 GB, free: 63.64 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00264/1.762, allocations: 0.7873 MB / 0.7179 GB, free: 63.15 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001422/1.763, allocations: 34 kB / 0.7179 GB, free: 63.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003137/1.766, allocations: 95.27 kB / 0.718 GB, free: 63.11 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004427/1.767, allocations: 116.5 kB / 0.7181 GB, free: 63.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002033/1.767, allocations: 56.28 kB / 0.7182 GB, free: 63.07 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008519/1.776, allocations: 3.679 MB / 0.7218 GB, free: 61.87 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.471e-06/1.776, allocations: 0 / 0.7218 GB, free: 61.87 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009363/1.785, allocations: 1.195 MB / 0.723 GB, free: 61.73 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.0006335/1.786, allocations: 178.2 kB / 0.7231 GB, free: 61.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01025/1.796, allocations: 5.62 MB / 0.7286 GB, free: 56.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.467e-06/1.796, allocations: 4 kB / 0.7286 GB, free: 56.72 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003032/1.799, allocations: 1.677 MB / 0.7303 GB, free: 55.21 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003801/1.803, allocations: 0.5867 MB / 0.7308 GB, free: 54.71 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02529/1.828, allocations: 13.95 MB / 0.7445 GB, free: 41.96 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008409/1.837, allocations: 4.129 MB / 0.7485 GB, free: 38.89 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001595/1.838, allocations: 373.5 kB / 0.7488 GB, free: 38.54 MB / 426.7 MB Notification: Performance of SimCode: time 2.301e-06/1.838, allocations: 0 / 0.7488 GB, free: 38.54 MB / 426.7 MB Notification: Performance of Templates: time 0.4246/2.263, allocations: 115 MB / 0.8611 GB, free: 78.42 MB / 442.7 MB