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.Joints.FreeMotionScalarInit3.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.Joints.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.w_a.1.|body.w_a.2.|body.w_a.3.|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_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.2_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") Notification: Performance of loadModel(ModelicaTest): time 2.223/2.223, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.089e-05/3.101e-05, allocations: 4 kB / 309.7 MB, free: 1.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3625, allocations: 54.85 MB / 364.5 MB, free: 5.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1568/0.5193, allocations: 101.6 MB / 466.1 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/0.5195, allocations: 75.97 kB / 466.2 MB, free: 10.73 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.701/1.221, allocations: 97.51 MB / 0.5505 GB, free: 107.7 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.535e-06/1.221, allocations: 3.5 kB / 0.5505 GB, free: 107.7 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001852/1.221, allocations: 97.36 kB / 0.5506 GB, free: 107.7 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1869 * Number of variables: 1869 Notification: Performance of Generate backend data structure: time 0.01714/1.238, allocations: 4.639 MB / 0.5551 GB, free: 105.8 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/1.238, allocations: 11.03 kB / 0.5552 GB, free: 105.8 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01898/1.257, allocations: 3.619 MB / 0.5587 GB, free: 105.4 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0146/1.272, allocations: 4.896 MB / 0.5635 GB, free: 104.8 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004166/1.272, allocations: 380.3 kB / 0.5638 GB, free: 104.8 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002403/1.275, allocations: 493.7 kB / 0.5643 GB, free: 104.8 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03068/1.305, allocations: 12.12 MB / 0.5761 GB, free: 101.7 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002292/1.306, allocations: 34.88 kB / 0.5762 GB, free: 101.7 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002087/1.308, allocations: 221.8 kB / 0.5764 GB, free: 101.6 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002258/1.31, allocations: 1.314 MB / 0.5777 GB, free: 101.3 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02678/1.337, allocations: 11.35 MB / 0.5888 GB, free: 97.77 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06381/1.401, allocations: 41.89 MB / 0.6297 GB, free: 60.52 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01161/1.412, allocations: 4.902 MB / 0.6344 GB, free: 55.39 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003864/1.416, allocations: 2.362 MB / 0.6368 GB, free: 53.02 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01198/1.428, allocations: 6.564 MB / 0.6432 GB, free: 46.18 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.187e-05/1.428, allocations: 52.56 kB / 0.6432 GB, free: 46.12 MB / 458.7 MB Notification: Performance of pre-optimization done (n=228): time 6.759e-06/1.428, allocations: 4 kB / 0.6432 GB, free: 46.12 MB / 458.7 MB Notification: Performance of matching and sorting (n=237): time 0.04096/1.469, allocations: 13.61 MB / 0.6565 GB, free: 32.44 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/1.469, allocations: 69.41 kB / 0.6566 GB, free: 32.36 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005293/1.475, allocations: 2.82 MB / 0.6593 GB, free: 29.53 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003874/1.475, allocations: 54.92 kB / 0.6594 GB, free: 29.47 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001922/1.477, allocations: 3.255 MB / 0.6626 GB, free: 26.21 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001046/1.478, allocations: 0.894 MB / 0.6634 GB, free: 25.32 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005554/1.479, allocations: 123.9 kB / 0.6635 GB, free: 25.2 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004238/1.479, allocations: 0.5671 MB / 0.6641 GB, free: 24.62 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004436/1.484, allocations: 2.327 MB / 0.6664 GB, free: 22.29 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006343/1.49, allocations: 5.699 MB / 0.6719 GB, free: 14.93 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006431/1.496, allocations: 3.675 MB / 0.6755 GB, free: 11.25 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-05/1.496, allocations: 36 kB / 0.6756 GB, free: 11.21 MB / 458.7 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.01972/1.516, allocations: 8.752 MB / 0.6841 GB, free: 2.461 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.196e-05/1.516, allocations: 56 kB / 0.6842 GB, free: 2.406 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001172/1.516, allocations: 120 kB / 0.6843 GB, free: 2.289 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004384/1.521, allocations: 1.164 MB / 0.6854 GB, free: 1.125 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005853/1.527, allocations: 1.376 MB / 0.6868 GB, free: 15.75 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008214/1.535, allocations: 4.576 MB / 0.6912 GB, free: 11.01 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005581/1.541, allocations: 327.7 kB / 0.6915 GB, free: 10.69 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001308/1.542, allocations: 352 kB / 0.6919 GB, free: 10.35 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 538 * Number of states: 0 () * Number of discrete variables: 27 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[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],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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (742): * Single equations (assignments): 734 * Array equations: 6 * 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: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {3 5} Notification: Performance of prepare postOptimizeDAE: time 0.001734/1.544, allocations: 0.5361 MB / 0.6924 GB, free: 9.801 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007058/1.544, allocations: 300.1 kB / 0.6927 GB, free: 9.504 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01083/1.555, allocations: 4.398 MB / 0.697 GB, free: 5.082 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001163/1.556, allocations: 51.94 kB / 0.697 GB, free: 5.031 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/1.556, allocations: 0 / 0.697 GB, free: 5.031 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-05/1.556, allocations: 11.91 kB / 0.697 GB, free: 5.023 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3079/1.864, allocations: 10.4 MB / 0.7072 GB, free: 108.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.153e-05/1.864, allocations: 5.188 kB / 0.7072 GB, free: 108.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002642/1.866, allocations: 387.5 kB / 0.7076 GB, free: 108.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002863/1.869, allocations: 0.6674 MB / 0.7082 GB, free: 108.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004547/1.87, allocations: 49.78 kB / 0.7083 GB, free: 108.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003427/1.873, allocations: 2.408 MB / 0.7106 GB, free: 106.9 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.679e-06/1.873, allocations: 10.16 kB / 0.7106 GB, free: 106.9 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01398/1.887, allocations: 7.12 MB / 0.7176 GB, free: 105.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001004/1.888, allocations: 355.5 kB / 0.7179 GB, free: 105.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001117/1.889, allocations: 46.72 kB / 0.718 GB, free: 105.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002331/1.892, allocations: 134.9 kB / 0.7181 GB, free: 105.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006373/1.892, allocations: 134.6 kB / 0.7182 GB, free: 105.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003093/1.893, allocations: 63.19 kB / 0.7183 GB, free: 105.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004019/1.897, allocations: 1.905 MB / 0.7201 GB, free: 105.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.045e-06/1.897, allocations: 0 / 0.7201 GB, free: 105.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006235/1.903, allocations: 1.071 MB / 0.7212 GB, free: 105.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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,body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (191): * Single equations (assignments): 182 * 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.000677/1.904, allocations: 190.9 kB / 0.7214 GB, free: 105.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01135/1.915, allocations: 5.734 MB / 0.727 GB, free: 105.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/1.915, allocations: 6.25 kB / 0.727 GB, free: 105.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005018/1.92, allocations: 2.393 MB / 0.7293 GB, free: 105.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002604/1.923, allocations: 426.8 kB / 0.7297 GB, free: 105.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02209/1.945, allocations: 9.983 MB / 0.7395 GB, free: 101.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007439/1.952, allocations: 3.834 MB / 0.7432 GB, free: 100.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001463/1.954, allocations: 289 kB / 0.7435 GB, free: 100.2 MB / 474.7 MB Notification: Performance of SimCode: time 1.835e-06/1.954, allocations: 0 / 0.7435 GB, free: 100.2 MB / 474.7 MB Notification: Performance of Templates: time 0.1478/2.102, allocations: 112 MB / 0.8528 GB, free: 13.22 MB / 474.7 MB