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.Joints.FreeMotionScalarInit5.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.Joints.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit1.r_rel_a_1|freeMotionScalarInit1.r_rel_a_2|freeMotionScalarInit1.r_rel_a_3|freeMotionScalarInit1.v_rel_a_1|freeMotionScalarInit1.v_rel_a_2|freeMotionScalarInit1.v_rel_a_3|freeMotionScalarInit2.angle_1|freeMotionScalarInit2.angle_2|freeMotionScalarInit2.angle_3|freeMotionScalarInit2.angle_d_1|freeMotionScalarInit2.angle_d_2|freeMotionScalarInit2.angle_d_3",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") Notification: Performance of loadModel(ModelicaTest): time 1.952/1.952, allocations: 209.3 MB / 224.8 MB, free: 428 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004466/0.0004468, allocations: 12 kB / 282.5 MB, free: 9.664 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2834, allocations: 48.71 MB / 331.2 MB, free: 6.496 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5): time 0.05338/0.3368, allocations: 38.05 MB / 369.2 MB, free: 8.402 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02464/0.3615, allocations: 9.37 MB / 378.6 MB, free: 15 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008575/0.3701, allocations: 187.5 kB / 378.8 MB, free: 14.82 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006379/0.3766, allocations: 1.972 MB / 380.8 MB, free: 12.84 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01973/0.3963, allocations: 5.618 MB / 386.4 MB, free: 7.203 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002907/0.3993, allocations: 0.507 MB / 386.9 MB, free: 6.695 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005134/0.4045, allocations: 2.261 MB / 389.2 MB, free: 4.43 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007755/0.4123, allocations: 4.163 MB / 393.3 MB, free: 220 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001823/0.4141, allocations: 0.9731 MB / 394.3 MB, free: 15.24 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002214/0.4164, allocations: 1.347 MB / 395.6 MB, free: 13.89 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005727/0.417, allocations: 152 kB / 395.8 MB, free: 13.74 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00231/0.4193, allocations: 0.8582 MB / 396.6 MB, free: 12.88 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002395/0.4217, allocations: 1.617 MB / 398.3 MB, free: 11.26 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001278/0.423, allocations: 0.8933 MB / 399.1 MB, free: 10.36 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008971/0.432, allocations: 6.032 MB / 405.2 MB, free: 4.309 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.82e-06/0.4321, allocations: 4 kB / 405.2 MB, free: 4.305 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.212e-06/0.4321, allocations: 3.938 kB / 405.2 MB, free: 4.301 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001505/0.4323, allocations: 0 / 405.2 MB, free: 4.301 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.0114/0.4437, allocations: 4.374 MB / 409.6 MB, free: 15.86 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.4437, allocations: 16.03 kB / 409.6 MB, free: 15.84 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.017/0.4608, allocations: 3.823 MB / 413.4 MB, free: 12.01 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006362/0.4672, allocations: 2.484 MB / 415.9 MB, free: 9.473 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003474/0.4676, allocations: 246.3 kB / 416.1 MB, free: 9.23 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001358/0.4689, allocations: 327.8 kB / 416.4 MB, free: 8.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02651/0.4955, allocations: 11.95 MB / 428.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001639/0.4957, allocations: 31.72 kB / 428.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001045/0.4967, allocations: 151.8 kB / 428.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005687/0.5024, allocations: 2.641 MB / 431.2 MB, free: 9.695 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02854/0.531, allocations: 11.02 MB / 442.2 MB, free: 14.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07274/0.6038, allocations: 37.53 MB / 479.8 MB, free: 8.281 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01141/0.6153, allocations: 4.409 MB / 484.2 MB, free: 3.633 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001724/0.617, allocations: 1.319 MB / 485.5 MB, free: 2.094 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.711e-05/0.6171, allocations: 48.56 kB / 485.5 MB, free: 2.039 MB / 410.7 MB Notification: Performance of pre-optimization done (n=244): time 7.229e-06/0.6171, allocations: 0 / 485.5 MB, free: 2.039 MB / 410.7 MB Notification: Performance of matching and sorting (n=265): time 0.2801/0.8973, allocations: 14.44 MB / 500 MB, free: 126.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.8974, allocations: 75.47 kB / 0.4883 GB, free: 126 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005044/0.9024, allocations: 3.063 MB / 0.4913 GB, free: 124.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004147/0.9029, allocations: 61.89 kB / 0.4914 GB, free: 124.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001831/0.9047, allocations: 3.09 MB / 0.4944 GB, free: 122.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001068/0.9058, allocations: 0.9844 MB / 0.4954 GB, free: 121.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003892/0.9062, allocations: 119.6 kB / 0.4955 GB, free: 121.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003793/0.9066, allocations: 0.5703 MB / 0.496 GB, free: 121.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004471/0.9111, allocations: 2.37 MB / 0.4984 GB, free: 120.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006396/0.9175, allocations: 5.648 MB / 0.5039 GB, free: 115.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006691/0.9243, allocations: 3.654 MB / 0.5074 GB, free: 113.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.164e-05/0.9244, allocations: 36.12 kB / 0.5075 GB, free: 113.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01973/0.9441, allocations: 8.645 MB / 0.5159 GB, free: 105.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.554e-05/0.9443, allocations: 52 kB / 0.516 GB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001167/0.9444, allocations: 112 kB / 0.5161 GB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004096/0.9485, allocations: 1.06 MB / 0.5171 GB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005458/0.954, allocations: 1.372 MB / 0.5184 GB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003575/0.9576, allocations: 2.504 MB / 0.5209 GB, free: 100.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005333/0.963, allocations: 316.6 kB / 0.5212 GB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009991/0.964, allocations: 353.5 kB / 0.5215 GB, free: 100 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 520 * Number of states: 0 () * Number of discrete variables: 24 (freeMotionScalarInit2.arrowColor[3],freeMotionScalarInit2.arrowColor[2],freeMotionScalarInit2.arrowColor[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.arrowColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (741): * Single equations (assignments): 732 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004749/0.9688, allocations: 2.361 MB / 0.5238 GB, free: 97.67 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006107/0.9694, allocations: 304.1 kB / 0.5241 GB, free: 97.37 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01086/0.9803, allocations: 5.08 MB / 0.5291 GB, free: 92.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.038e-05/0.9805, allocations: 53.16 kB / 0.5291 GB, free: 92.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/0.9805, allocations: 0 / 0.5291 GB, free: 92.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.551e-05/0.9805, allocations: 7.969 kB / 0.5291 GB, free: 92.17 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02496/1.006, allocations: 11.76 MB / 0.5406 GB, free: 80.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.368e-05/1.006, allocations: 12 kB / 0.5406 GB, free: 80.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002422/1.008, allocations: 427.3 kB / 0.541 GB, free: 79.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00375/1.012, allocations: 0.9155 MB / 0.5419 GB, free: 78.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004616/1.012, allocations: 57.19 kB / 0.542 GB, free: 78.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002676/1.015, allocations: 2.295 MB / 0.5442 GB, free: 76.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.86e-06/1.015, allocations: 15.94 kB / 0.5443 GB, free: 76.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01391/1.029, allocations: 7.526 MB / 0.5516 GB, free: 68.76 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000767/1.03, allocations: 345.1 kB / 0.5519 GB, free: 68.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007031/1.031, allocations: 61.11 kB / 0.552 GB, free: 68.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001823/1.032, allocations: 137.1 kB / 0.5521 GB, free: 68.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004041/1.033, allocations: 161.6 kB / 0.5523 GB, free: 68.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002396/1.033, allocations: 76.59 kB / 0.5523 GB, free: 67.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0032/1.036, allocations: 1.882 MB / 0.5542 GB, free: 66.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.307e-06/1.036, allocations: 0 / 0.5542 GB, free: 66.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005706/1.042, allocations: 1.052 MB / 0.5552 GB, free: 65.05 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit1.r_rel_a_1,freeMotionScalarInit1.r_rel_a_2,freeMotionScalarInit1.r_rel_a_3,freeMotionScalarInit1.v_rel_a_1,freeMotionScalarInit1.v_rel_a_2,freeMotionScalarInit1.v_rel_a_3,freeMotionScalarInit2.angle_1,freeMotionScalarInit2.angle_2,freeMotionScalarInit2.angle_3,freeMotionScalarInit2.angle_d_1,freeMotionScalarInit2.angle_d_2,freeMotionScalarInit2.angle_d_3) * 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 (216): * Single equations (assignments): 207 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007343/1.043, allocations: 208.8 kB / 0.5554 GB, free: 64.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01192/1.055, allocations: 6.223 MB / 0.5615 GB, free: 58.58 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.226e-06/1.055, allocations: 0 / 0.5615 GB, free: 58.58 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005838/1.061, allocations: 2.605 MB / 0.564 GB, free: 55.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002704/1.063, allocations: 465.7 kB / 0.5645 GB, free: 55.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02263/1.086, allocations: 14.06 MB / 0.5782 GB, free: 41.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00551/1.092, allocations: 3.755 MB / 0.5819 GB, free: 37.51 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001422/1.093, allocations: 307.4 kB / 0.5822 GB, free: 37.21 MB / 410.7 MB Notification: Performance of SimCode: time 2.151e-06/1.093, allocations: 0 / 0.5822 GB, free: 37.21 MB / 410.7 MB Notification: Performance of Templates: time 0.3914/1.484, allocations: 120.5 MB / 0.6998 GB, free: 76.47 MB / 426.7 MB