Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") Notification: Performance of loadModel(ModelicaTest): time 2.145/2.145, allocations: 209.2 MB / 225.4 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006832/0.0006835, allocations: 12 kB / 283.1 MB, free: 9.699 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4123/0.413, allocations: 48.7 MB / 331.8 MB, free: 6.5 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1758/0.5889, allocations: 94.97 MB / 426.8 MB, free: 15.44 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000312/0.5893, allocations: 83.91 kB / 426.9 MB, free: 15.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6928/1.282, allocations: 97.92 MB / 0.5125 GB, free: 84.16 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.416e-06/1.282, allocations: 0 / 0.5125 GB, free: 84.16 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002333/1.282, allocations: 92.78 kB / 0.5126 GB, free: 84.16 MB / 394.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.02572/1.308, allocations: 4.793 MB / 0.5172 GB, free: 80.45 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/1.308, allocations: 12.03 kB / 0.5173 GB, free: 80.44 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02722/1.335, allocations: 3.616 MB / 0.5208 GB, free: 76.82 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01899/1.354, allocations: 4.918 MB / 0.5256 GB, free: 71.89 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004703/1.355, allocations: 378.2 kB / 0.526 GB, free: 71.56 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00327/1.358, allocations: 497.3 kB / 0.5264 GB, free: 71.11 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03779/1.396, allocations: 12.23 MB / 0.5384 GB, free: 58.42 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003061/1.397, allocations: 39.75 kB / 0.5384 GB, free: 58.38 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002948/1.399, allocations: 223.8 kB / 0.5386 GB, free: 58.16 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002819/1.402, allocations: 1.314 MB / 0.5399 GB, free: 56.85 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03288/1.435, allocations: 11.52 MB / 0.5512 GB, free: 45.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08427/1.52, allocations: 41.89 MB / 0.5921 GB, free: 2.406 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01708/1.537, allocations: 4.955 MB / 0.5969 GB, free: 13.22 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0184/1.555, allocations: 6.55 MB / 0.6033 GB, free: 6.348 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.775e-05/1.555, allocations: 52.56 kB / 0.6033 GB, free: 6.289 MB / 410.7 MB Notification: Performance of pre-optimization done (n=228): time 8.305e-06/1.555, allocations: 4 kB / 0.6033 GB, free: 6.285 MB / 410.7 MB Notification: Performance of matching and sorting (n=237): time 0.0771/1.632, allocations: 16.77 MB / 0.6197 GB, free: 5.242 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.534e-05/1.633, allocations: 69.41 kB / 0.6198 GB, free: 5.164 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008215/1.641, allocations: 3.178 MB / 0.6229 GB, free: 1.973 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005636/1.641, allocations: 53.69 kB / 0.6229 GB, free: 1.914 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.3031/1.944, allocations: 3.258 MB / 0.6261 GB, free: 107.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001617/1.946, allocations: 0.8944 MB / 0.627 GB, free: 106.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001065/1.947, allocations: 115.6 kB / 0.6271 GB, free: 106.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0008332/1.948, allocations: 0.5694 MB / 0.6277 GB, free: 106.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007172/1.955, allocations: 2.378 MB / 0.63 GB, free: 106.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01023/1.966, allocations: 5.758 MB / 0.6356 GB, free: 102.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00928/1.975, allocations: 3.687 MB / 0.6392 GB, free: 102.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002119/1.975, allocations: 33.56 kB / 0.6392 GB, free: 102.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.02788/2.003, allocations: 8.858 MB / 0.6479 GB, free: 101.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001202/2.003, allocations: 55.25 kB / 0.648 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001717/2.003, allocations: 116.7 kB / 0.6481 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00635/2.01, allocations: 1.158 MB / 0.6492 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008441/2.018, allocations: 1.369 MB / 0.6505 GB, free: 101.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00887/2.027, allocations: 4.669 MB / 0.6551 GB, free: 99.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006475/2.034, allocations: 323.4 kB / 0.6554 GB, free: 99.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001395/2.035, allocations: 351.7 kB / 0.6557 GB, free: 99.2 MB / 426.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 () * Number of clocked 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.006699/2.042, allocations: 2.414 MB / 0.6581 GB, free: 98.19 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007223/2.043, allocations: 303.5 kB / 0.6584 GB, free: 98.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0123/2.055, allocations: 4.435 MB / 0.6627 GB, free: 96.49 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.944e-05/2.055, allocations: 47.39 kB / 0.6628 GB, free: 96.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/2.055, allocations: 6.766 kB / 0.6628 GB, free: 96.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.8e-05/2.055, allocations: 10.55 kB / 0.6628 GB, free: 96.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02908/2.084, allocations: 10.44 MB / 0.673 GB, free: 92.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-05/2.084, allocations: 3.656 kB / 0.673 GB, free: 92.87 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003531/2.088, allocations: 390.6 kB / 0.6733 GB, free: 92.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003548/2.092, allocations: 0.6735 MB / 0.674 GB, free: 92.73 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005781/2.092, allocations: 45.11 kB / 0.674 GB, free: 92.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003998/2.096, allocations: 2.449 MB / 0.6764 GB, free: 91.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.796e-06/2.096, allocations: 9.953 kB / 0.6765 GB, free: 91.13 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01724/2.113, allocations: 6.776 MB / 0.6831 GB, free: 88.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009694/2.114, allocations: 350.8 kB / 0.6834 GB, free: 88.06 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001108/2.116, allocations: 37.17 kB / 0.6834 GB, free: 88.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002628/2.118, allocations: 141.2 kB / 0.6836 GB, free: 87.94 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004891/2.119, allocations: 129 kB / 0.6837 GB, free: 87.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002352/2.119, allocations: 68.09 kB / 0.6838 GB, free: 87.79 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00421/2.123, allocations: 1.931 MB / 0.6856 GB, free: 86.21 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.72e-07/2.123, allocations: 0 / 0.6856 GB, free: 86.21 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006568/2.13, allocations: 1.073 MB / 0.6867 GB, free: 85.15 MB / 426.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 () * Number of clocked 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.0007862/2.131, allocations: 199.5 kB / 0.6869 GB, free: 84.97 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01382/2.145, allocations: 5.815 MB / 0.6926 GB, free: 79.87 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.909e-06/2.145, allocations: 0 / 0.6926 GB, free: 79.87 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006743/2.151, allocations: 2.418 MB / 0.6949 GB, free: 77.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003302/2.155, allocations: 412.2 kB / 0.6953 GB, free: 77.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03123/2.186, allocations: 14.03 MB / 0.709 GB, free: 64.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008178/2.194, allocations: 3.831 MB / 0.7128 GB, free: 61.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001798/2.196, allocations: 286.5 kB / 0.713 GB, free: 61.41 MB / 426.7 MB Notification: Performance of SimCode: time 1.112e-06/2.196, allocations: 0 / 0.713 GB, free: 61.41 MB / 426.7 MB Notification: Performance of Templates: time 0.4984/2.694, allocations: 111.9 MB / 0.8223 GB, free: 105.4 MB / 442.7 MB