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.FreeMotionScalarInit.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.FreeMotionScalarInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.angle_d_1|freeMotionScalarInit.angle_d_2|freeMotionScalarInit.angle_d_3|freeMotionScalarInit.r_rel_a_1|freeMotionScalarInit.r_rel_a_2|freeMotionScalarInit.r_rel_a_3|freeMotionScalarInit.v_rel_a_1|freeMotionScalarInit.v_rel_a_2|freeMotionScalarInit.v_rel_a_3",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") Notification: Performance of loadModel(ModelicaTest): time 1.884/1.884, allocations: 209.3 MB / 224.8 MB, free: 1.207 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004388/0.000439, allocations: 11.98 kB / 282.5 MB, free: 9.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09013/0.09059, allocations: 48.71 MB / 331.2 MB, free: 8.969 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit): time 0.2486/0.3393, allocations: 28.07 MB / 359.3 MB, free: 420 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0192/0.3585, allocations: 7.252 MB / 366.5 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00635/0.3649, allocations: 132.3 kB / 366.6 MB, free: 11.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004791/0.3697, allocations: 1.449 MB / 368.1 MB, free: 11.04 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0155/0.3852, allocations: 4.248 MB / 372.3 MB, free: 8.418 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002331/0.3876, allocations: 436.5 kB / 372.8 MB, free: 8.152 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004862/0.3925, allocations: 2.135 MB / 374.9 MB, free: 6.855 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006113/0.3986, allocations: 3.343 MB / 378.2 MB, free: 4.871 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001671/0.4004, allocations: 0.9333 MB / 379.2 MB, free: 4.379 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00211/0.4025, allocations: 1.3 MB / 380.5 MB, free: 3.609 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005767/0.4031, allocations: 148 kB / 380.6 MB, free: 3.465 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00238/0.4055, allocations: 0.8504 MB / 381.5 MB, free: 2.613 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002229/0.4077, allocations: 1.523 MB / 383 MB, free: 1.086 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001199/0.409, allocations: 0.8388 MB / 383.8 MB, free: 244 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008431/0.4174, allocations: 5.601 MB / 389.4 MB, free: 10.62 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.328e-06/0.4174, allocations: 4 kB / 389.4 MB, free: 10.62 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.989e-06/0.4175, allocations: 0 / 389.4 MB, free: 10.62 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001362/0.4176, allocations: 3.938 kB / 389.4 MB, free: 10.62 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1696 * Number of variables: 1696 Notification: Performance of Generate backend data structure: time 0.01055/0.4282, allocations: 4.119 MB / 393.6 MB, free: 6.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.4282, allocations: 8.031 kB / 393.6 MB, free: 6.422 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01684/0.4451, allocations: 3.796 MB / 397.4 MB, free: 2.609 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00583/0.4509, allocations: 2.321 MB / 399.7 MB, free: 244 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002996/0.4513, allocations: 225.6 kB / 399.9 MB, free: 16 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001321/0.4526, allocations: 299.7 kB / 400.2 MB, free: 15.72 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02512/0.4778, allocations: 11.51 MB / 411.7 MB, free: 3.777 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001245/0.4779, allocations: 31.66 kB / 411.7 MB, free: 3.746 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007476/0.4787, allocations: 139.8 kB / 411.9 MB, free: 3.609 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005512/0.4842, allocations: 2.625 MB / 414.5 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02768/0.512, allocations: 10.72 MB / 425.2 MB, free: 6.234 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07026/0.5823, allocations: 36.43 MB / 461.7 MB, free: 0.9648 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01151/0.5938, allocations: 4.416 MB / 466.1 MB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001739/0.5956, allocations: 1.311 MB / 467.4 MB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.853e-05/0.5957, allocations: 48.56 kB / 467.4 MB, free: 10.73 MB / 394.7 MB Notification: Performance of pre-optimization done (n=244): time 1.016e-05/0.5957, allocations: 0 / 467.4 MB, free: 10.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=265): time 0.05629/0.652, allocations: 14.5 MB / 481.9 MB, free: 12.06 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.059e-05/0.6521, allocations: 73.41 kB / 482 MB, free: 11.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005598/0.6577, allocations: 2.909 MB / 484.9 MB, free: 9.055 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004309/0.6582, allocations: 57.7 kB / 485 MB, free: 8.992 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003045/0.6613, allocations: 2.924 MB / 487.9 MB, free: 6.027 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001517/0.6628, allocations: 0.9752 MB / 488.9 MB, free: 5.039 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004738/0.6633, allocations: 116 kB / 489 MB, free: 4.926 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005793/0.6639, allocations: 0.5588 MB / 489.5 MB, free: 4.355 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005601/0.6695, allocations: 2.33 MB / 491.9 MB, free: 2.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008895/0.6785, allocations: 5.487 MB / 497.4 MB, free: 10.99 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007953/0.6864, allocations: 3.579 MB / 0.4892 GB, free: 7.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000109/0.6866, allocations: 32 kB / 0.4892 GB, free: 7.379 MB / 426.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.2509/0.9375, allocations: 8.471 MB / 0.4975 GB, free: 130.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001133/0.9377, allocations: 53 kB / 0.4976 GB, free: 130.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001724/0.9379, allocations: 108.8 kB / 0.4977 GB, free: 130.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004788/0.9427, allocations: 1.051 MB / 0.4987 GB, free: 130.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005913/0.9486, allocations: 1.33 MB / 0.5 GB, free: 130.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003577/0.9522, allocations: 2.513 MB / 0.5024 GB, free: 129.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004699/0.957, allocations: 314.9 kB / 0.5027 GB, free: 129.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008073/0.9578, allocations: 333.9 kB / 0.5031 GB, free: 129.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 499 * Number of states: 0 () * Number of discrete variables: 21 (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],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.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 (720): * Single equations (assignments): 711 * 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.004653/0.9625, allocations: 2.251 MB / 0.5053 GB, free: 129.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005419/0.963, allocations: 284.6 kB / 0.5055 GB, free: 129.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01259/0.9756, allocations: 5.068 MB / 0.5105 GB, free: 127.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001031/0.9758, allocations: 53.14 kB / 0.5105 GB, free: 127.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.69e-05/0.9758, allocations: 2.188 kB / 0.5105 GB, free: 127.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-05/0.9759, allocations: 13.36 kB / 0.5105 GB, free: 127.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02591/1.002, allocations: 11.58 MB / 0.5219 GB, free: 123.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.887e-05/1.002, allocations: 6.312 kB / 0.5219 GB, free: 123.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002517/1.004, allocations: 428.6 kB / 0.5223 GB, free: 123.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00429/1.009, allocations: 0.9061 MB / 0.5232 GB, free: 123.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004288/1.009, allocations: 63.2 kB / 0.5232 GB, free: 123.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002865/1.012, allocations: 2.303 MB / 0.5255 GB, free: 122 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.428e-06/1.012, allocations: 7.438 kB / 0.5255 GB, free: 122 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01471/1.027, allocations: 7.507 MB / 0.5328 GB, free: 119.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006945/1.028, allocations: 337.5 kB / 0.5331 GB, free: 119.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006118/1.028, allocations: 46.95 kB / 0.5332 GB, free: 119.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001758/1.03, allocations: 143 kB / 0.5333 GB, free: 119.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003637/1.03, allocations: 161.6 kB / 0.5335 GB, free: 119.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002428/1.031, allocations: 76.48 kB / 0.5335 GB, free: 119.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002931/1.034, allocations: 1.791 MB / 0.5353 GB, free: 118.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.3e-07/1.034, allocations: 0 / 0.5353 GB, free: 118.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005227/1.039, allocations: 1.026 MB / 0.5363 GB, free: 117.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,freeMotionScalarInit.angle_d_1,freeMotionScalarInit.angle_d_2,freeMotionScalarInit.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.0005722/1.039, allocations: 204.9 kB / 0.5365 GB, free: 117.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01123/1.051, allocations: 6.144 MB / 0.5425 GB, free: 111.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.004e-06/1.051, allocations: 0 / 0.5425 GB, free: 111.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005419/1.056, allocations: 2.603 MB / 0.545 GB, free: 108.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002141/1.058, allocations: 393.6 kB / 0.5454 GB, free: 108.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02128/1.08, allocations: 13.5 MB / 0.5586 GB, free: 94.59 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004888/1.085, allocations: 3.608 MB / 0.5621 GB, free: 90.95 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001381/1.086, allocations: 287.4 kB / 0.5624 GB, free: 90.67 MB / 426.7 MB Notification: Performance of SimCode: time 1.647e-06/1.086, allocations: 0 / 0.5624 GB, free: 90.67 MB / 426.7 MB Notification: Performance of Templates: time 0.3786/1.465, allocations: 114.7 MB / 0.6744 GB, free: 142.6 MB / 442.7 MB