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.FrameForcesAndTorques3.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,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.2_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") Notification: Performance of loadModel(ModelicaTest): time 2.185/2.185, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004337/0.0004339, allocations: 12 kB / 314.3 MB, free: 9.605 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2773, allocations: 54.87 MB / 369.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.1015/0.3788, allocations: 73.46 MB / 442.6 MB, free: 1.066 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.04299/0.4219, allocations: 16.75 MB / 459.4 MB, free: 272 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01444/0.4364, allocations: 359.2 kB / 459.7 MB, free: 15.91 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01172/0.4481, allocations: 3.768 MB / 463.5 MB, free: 12.13 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03547/0.4836, allocations: 10.47 MB / 474 MB, free: 1.629 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005033/0.4887, allocations: 0.9205 MB / 474.9 MB, free: 0.707 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.3465/0.8352, allocations: 18.29 MB / 493.2 MB, free: 2.355 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01555/0.8508, allocations: 7.204 MB / 0.4887 GB, free: 1.727 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00271/0.8536, allocations: 1.585 MB / 0.4902 GB, free: 1.727 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00317/0.8568, allocations: 2.16 MB / 0.4923 GB, free: 1.719 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008944/0.8577, allocations: 240.4 kB / 0.4926 GB, free: 1.715 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002722/0.8605, allocations: 1.138 MB / 0.4937 GB, free: 1.715 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002747/0.8632, allocations: 2.495 MB / 0.4961 GB, free: 1.715 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001476/0.8647, allocations: 1.305 MB / 0.4974 GB, free: 1.684 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.023/0.8878, allocations: 8.945 MB / 0.5061 GB, free: 13.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.934e-06/0.8879, allocations: 4 kB / 0.5061 GB, free: 13.13 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.236e-06/0.8879, allocations: 4 kB / 0.5061 GB, free: 13.13 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003946/0.8883, allocations: 0 / 0.5061 GB, free: 13.13 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: 2374 * Number of variables: 2374 Notification: Performance of Generate backend data structure: time 0.04173/0.9301, allocations: 6.778 MB / 0.5127 GB, free: 6.895 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.437e-05/0.9302, allocations: 12.03 kB / 0.5128 GB, free: 6.883 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06493/0.9951, allocations: 8.241 MB / 0.5208 GB, free: 15.35 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01234/1.008, allocations: 4.573 MB / 0.5253 GB, free: 12.09 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004101/1.008, allocations: 384.6 kB / 0.5256 GB, free: 11.88 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001857/1.01, allocations: 0.4986 MB / 0.5261 GB, free: 11.56 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04001/1.05, allocations: 16.58 MB / 0.5423 GB, free: 14.79 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002471/1.05, allocations: 69.33 kB / 0.5424 GB, free: 14.75 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001331/1.052, allocations: 237.2 kB / 0.5426 GB, free: 14.69 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006362/1.058, allocations: 2.929 MB / 0.5455 GB, free: 12.3 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03876/1.097, allocations: 14.19 MB / 0.5593 GB, free: 2.301 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.153/1.25, allocations: 58.82 MB / 0.6168 GB, free: 2.086 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02608/1.276, allocations: 7.231 MB / 0.6238 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03543/1.311, allocations: 15.14 MB / 0.6386 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.473e-05/1.311, allocations: 63 kB / 0.6387 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=306): time 7.49e-06/1.311, allocations: 0 / 0.6387 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=348): time 0.3821/1.694, allocations: 32.32 MB / 0.6702 GB, free: 213.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.229e-05/1.694, allocations: 214.4 kB / 0.6704 GB, free: 213.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01114/1.705, allocations: 5.565 MB / 0.6759 GB, free: 212.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0008316/1.706, allocations: 77.45 kB / 0.676 GB, free: 212.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002919/1.709, allocations: 4.203 MB / 0.6801 GB, free: 209.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001783/1.71, allocations: 1.276 MB / 0.6813 GB, free: 208.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00089/1.711, allocations: 167.3 kB / 0.6815 GB, free: 208.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0005397/1.712, allocations: 0.6498 MB / 0.6821 GB, free: 208 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008022/1.72, allocations: 3.669 MB / 0.6857 GB, free: 206.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01001/1.73, allocations: 8.129 MB / 0.6936 GB, free: 199.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01/1.74, allocations: 5.346 MB / 0.6988 GB, free: 197.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000118/1.74, allocations: 46.66 kB / 0.6989 GB, free: 197.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1063) (initialization): time 0.02903/1.769, allocations: 13 MB / 0.7116 GB, free: 191.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001283/1.77, allocations: 68 kB / 0.7116 GB, free: 191.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001709/1.77, allocations: 156.8 kB / 0.7118 GB, free: 191.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005511/1.775, allocations: 1.781 MB / 0.7135 GB, free: 189.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008389/1.784, allocations: 1.93 MB / 0.7154 GB, free: 187.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01872/1.802, allocations: 12.34 MB / 0.7275 GB, free: 174.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007938/1.81, allocations: 491.4 kB / 0.7279 GB, free: 174.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001634/1.812, allocations: 478 kB / 0.7284 GB, free: 174 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 705 * Number of states: 0 () * Number of discrete variables: 48 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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],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],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (991): * Single equations (assignments): 986 * 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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007036/1.819, allocations: 3.079 MB / 0.7314 GB, free: 170.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001214/1.82, allocations: 0.4975 MB / 0.7319 GB, free: 170.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01771/1.838, allocations: 7.638 MB / 0.7393 GB, free: 162.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.344e-05/1.838, allocations: 43.95 kB / 0.7394 GB, free: 162.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.407e-05/1.838, allocations: 11.98 kB / 0.7394 GB, free: 162.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.061e-05/1.838, allocations: 15.94 kB / 0.7394 GB, free: 162.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03829/1.877, allocations: 16.42 MB / 0.7554 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.244e-05/1.877, allocations: 4.422 kB / 0.7554 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004349/1.881, allocations: 0.6124 MB / 0.756 GB, free: 145.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005001/1.886, allocations: 1.524 MB / 0.7575 GB, free: 144 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000817/1.887, allocations: 63.98 kB / 0.7576 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01805/1.905, allocations: 11.52 MB / 0.7688 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.334e-06/1.905, allocations: 4 kB / 0.7688 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02427/1.929, allocations: 12.2 MB / 0.7808 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003373/1.933, allocations: 1.123 MB / 0.7819 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001587/1.934, allocations: 57.48 kB / 0.7819 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003969/1.938, allocations: 247.6 kB / 0.7821 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001019/1.939, allocations: 198.1 kB / 0.7823 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004449/1.94, allocations: 94.48 kB / 0.7824 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.007118/1.947, allocations: 3.535 MB / 0.7859 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.24e-06/1.947, allocations: 0 / 0.7859 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01076/1.958, allocations: 1.643 MB / 0.7875 GB, free: 113 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (294): * Single equations (assignments): 289 * 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.001704/1.96, allocations: 222.5 kB / 0.7877 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02987/1.99, allocations: 9.069 MB / 0.7966 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-05/1.99, allocations: 0 / 0.7966 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01502/2.005, allocations: 3.868 MB / 0.8003 GB, free: 99.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006957/2.012, allocations: 0.626 MB / 0.8009 GB, free: 99.18 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03739/2.049, allocations: 18.93 MB / 0.8194 GB, free: 80.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01006/2.059, allocations: 4.93 MB / 0.8242 GB, free: 75.23 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002984/2.062, allocations: 439.3 kB / 0.8247 GB, free: 74.8 MB / 0.5261 GB Notification: Performance of SimCode: time 2.083e-06/2.062, allocations: 0 / 0.8247 GB, free: 74.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.4855/2.548, allocations: 143 MB / 0.9643 GB, free: 134.6 MB / 0.5261 GB