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.FreeMotion.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.FreeMotion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|freeMotion.w_rel_b.1.|freeMotion.w_rel_b.2.|freeMotion.w_rel_b.3.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.FreeMotion") Notification: Performance of loadModel(ModelicaTest): time 2.153/2.153, allocations: 235 MB / 248.1 MB, free: 14.32 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.104e-05/3.115e-05, allocations: 8 kB / 309.7 MB, free: 1.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3174, allocations: 54.86 MB / 364.5 MB, free: 5.355 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.142/0.4595, allocations: 95.94 MB / 460.5 MB, free: 392 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/0.4597, allocations: 75.95 kB / 460.6 MB, free: 316 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5785/1.038, allocations: 86.6 MB / 0.5343 GB, free: 109.7 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.491e-06/1.038, allocations: 3.938 kB / 0.5343 GB, free: 109.7 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001762/1.038, allocations: 71.69 kB / 0.5344 GB, free: 109.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: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.01099/1.05, allocations: 3.7 MB / 0.538 GB, free: 108.1 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/1.05, allocations: 8.938 kB / 0.538 GB, free: 108.1 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01996/1.07, allocations: 3.649 MB / 0.5416 GB, free: 107.9 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01467/1.084, allocations: 4.929 MB / 0.5464 GB, free: 107.4 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000405/1.085, allocations: 292.8 kB / 0.5467 GB, free: 107.3 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002031/1.087, allocations: 392.3 kB / 0.5471 GB, free: 107.3 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02468/1.111, allocations: 10.27 MB / 0.5571 GB, free: 105.9 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002005/1.112, allocations: 31.19 kB / 0.5571 GB, free: 105.9 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001752/1.113, allocations: 176.1 kB / 0.5573 GB, free: 105.9 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00206/1.116, allocations: 1.191 MB / 0.5584 GB, free: 105.9 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02217/1.138, allocations: 10 MB / 0.5682 GB, free: 104.4 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05772/1.196, allocations: 36.47 MB / 0.6038 GB, free: 81.94 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009048/1.205, allocations: 4.367 MB / 0.6081 GB, free: 77.83 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003376/1.208, allocations: 2.163 MB / 0.6102 GB, free: 75.86 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001162/1.209, allocations: 1.322 MB / 0.6115 GB, free: 74.42 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/1.209, allocations: 56.56 kB / 0.6116 GB, free: 74.35 MB / 458.7 MB Notification: Performance of pre-optimization done (n=245): time 6.944e-06/1.209, allocations: 1.406 kB / 0.6116 GB, free: 74.35 MB / 458.7 MB Notification: Performance of matching and sorting (n=261): time 0.0407/1.25, allocations: 14.3 MB / 0.6255 GB, free: 62.22 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001073/1.251, allocations: 1.525 MB / 0.627 GB, free: 60.6 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003916/1.255, allocations: 2.441 MB / 0.6294 GB, free: 58.43 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004004/1.255, allocations: 57.7 kB / 0.6294 GB, free: 58.37 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001477/1.257, allocations: 2.727 MB / 0.6321 GB, free: 55.91 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001166/1.258, allocations: 0.9551 MB / 0.633 GB, free: 55.07 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005653/1.259, allocations: 108 kB / 0.6331 GB, free: 54.96 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004469/1.259, allocations: 0.5547 MB / 0.6337 GB, free: 54.47 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004709/1.264, allocations: 2.379 MB / 0.636 GB, free: 52.33 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006202/1.27, allocations: 5.383 MB / 0.6413 GB, free: 45.59 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006191/1.276, allocations: 3.628 MB / 0.6448 GB, free: 41.97 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.716e-05/1.277, allocations: 28 kB / 0.6448 GB, free: 41.94 MB / 458.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.02461/1.301, allocations: 9.305 MB / 0.6539 GB, free: 32.61 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.302e-05/1.301, allocations: 52 kB / 0.654 GB, free: 32.56 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01401/1.315, allocations: 4.535 MB / 0.6584 GB, free: 28.02 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01132/1.327, allocations: 2.059 MB / 0.6604 GB, free: 25.95 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005246/1.332, allocations: 1.291 MB / 0.6617 GB, free: 24.65 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007601/1.34, allocations: 4.958 MB / 0.6665 GB, free: 19.44 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005224/1.345, allocations: 395.5 kB / 0.6669 GB, free: 19.06 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009158/1.346, allocations: 324 kB / 0.6672 GB, free: 18.74 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 479 * 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],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.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 (688): * Single equations (assignments): 676 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * 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.0009674/1.347, allocations: 0.5081 MB / 0.6677 GB, free: 18.23 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005351/1.347, allocations: 280.3 kB / 0.668 GB, free: 17.95 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0116/1.359, allocations: 5.338 MB / 0.6732 GB, free: 12.54 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01043/1.369, allocations: 4.59 MB / 0.6777 GB, free: 7.902 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.635e-05/1.37, allocations: 4 kB / 0.6777 GB, free: 7.898 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.994e-05/1.37, allocations: 15.95 kB / 0.6777 GB, free: 7.883 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03354/1.403, allocations: 14.61 MB / 0.6919 GB, free: 9.066 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.506e-05/1.403, allocations: 8 kB / 0.692 GB, free: 9.059 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002564/1.406, allocations: 432.1 kB / 0.6924 GB, free: 8.637 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005444/1.411, allocations: 1.189 MB / 0.6935 GB, free: 7.434 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004958/1.412, allocations: 59.97 kB / 0.6936 GB, free: 7.375 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006801/1.419, allocations: 4.444 MB / 0.6979 GB, free: 2.664 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00145/1.42, allocations: 1.467 MB / 0.6994 GB, free: 1.062 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2845/1.705, allocations: 8.766 MB / 0.7079 GB, free: 111.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008714/1.706, allocations: 340.2 kB / 0.7082 GB, free: 111.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007585/1.706, allocations: 62.38 kB / 0.7083 GB, free: 111.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00235/1.709, allocations: 195.5 kB / 0.7085 GB, free: 111.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006269/1.709, allocations: 167.1 kB / 0.7086 GB, free: 111.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002859/1.71, allocations: 78.3 kB / 0.7087 GB, free: 111.4 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003493/1.713, allocations: 1.661 MB / 0.7103 GB, free: 111.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.04e-06/1.713, allocations: 1.859 kB / 0.7103 GB, free: 111.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005895/1.719, allocations: 1.064 MB / 0.7114 GB, free: 111.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (202): * Single equations (assignments): 192 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * 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.0006073/1.72, allocations: 206 kB / 0.7116 GB, free: 111.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01211/1.732, allocations: 6.394 MB / 0.7178 GB, free: 110.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/1.732, allocations: 3.938 kB / 0.7178 GB, free: 110.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006012/1.738, allocations: 2.867 MB / 0.7206 GB, free: 110.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002322/1.74, allocations: 349.6 kB / 0.721 GB, free: 110.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0195/1.76, allocations: 9.628 MB / 0.7304 GB, free: 108.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005162/1.765, allocations: 3.398 MB / 0.7337 GB, free: 107.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001491/1.767, allocations: 269.4 kB / 0.7339 GB, free: 107.4 MB / 474.7 MB Notification: Performance of SimCode: time 1.783e-06/1.767, allocations: 0 / 0.7339 GB, free: 107.4 MB / 474.7 MB Notification: Performance of Templates: time 0.1473/1.914, allocations: 125.8 MB / 0.8568 GB, free: 8.516 MB / 474.7 MB