Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/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_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00299/0.002989, allocations: 350.6 kB / 15.94 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.733/3.733, allocations: 341.5 MB / 358.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003597/0.003597, allocations: 210.2 kB / 397.8 MB, free: 4.977 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.6492/0.6492, allocations: 76.08 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000498/0.0004982, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09177/0.09232, allocations: 48.7 MB / 0.6067 GB, free: 4.648 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4876/0.5799, allocations: 94.97 MB / 0.6995 GB, free: 17.74 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/0.5802, allocations: 75.97 kB / 0.6996 GB, free: 17.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7068/1.287, allocations: 96.89 MB / 0.7942 GB, free: 87.44 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.885e-06/1.287, allocations: 0 / 0.7942 GB, free: 87.44 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002064/1.287, allocations: 83.45 kB / 0.7943 GB, free: 87.44 MB / 410.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.02409/1.311, allocations: 4.736 MB / 0.7989 GB, free: 85.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/1.312, allocations: 14.81 kB / 0.7989 GB, free: 85.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0271/1.339, allocations: 3.588 MB / 0.8024 GB, free: 85.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0126/1.351, allocations: 3.801 MB / 0.8061 GB, free: 84.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005506/1.352, allocations: 375 kB / 0.8065 GB, free: 84.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003649/1.356, allocations: 496.8 kB / 0.8069 GB, free: 84.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03687/1.392, allocations: 12.14 MB / 0.8188 GB, free: 80.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003149/1.393, allocations: 36.02 kB / 0.8188 GB, free: 80.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002915/1.396, allocations: 228.9 kB / 0.819 GB, free: 80.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002835/1.399, allocations: 1.307 MB / 0.8203 GB, free: 80.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03232/1.431, allocations: 11.42 MB / 0.8315 GB, free: 76.14 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08037/1.511, allocations: 41.8 MB / 0.8723 GB, free: 35.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01552/1.527, allocations: 4.954 MB / 0.8771 GB, free: 30.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004994/1.532, allocations: 2.378 MB / 0.8795 GB, free: 27.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01517/1.547, allocations: 6.527 MB / 0.8858 GB, free: 21.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.264e-05/1.547, allocations: 52.56 kB / 0.8859 GB, free: 21.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=228): time 6.072e-06/1.547, allocations: 0 / 0.8859 GB, free: 21.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=237): time 0.08439/1.632, allocations: 16.23 MB / 0.9017 GB, free: 4.684 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.767e-05/1.632, allocations: 73.41 kB / 0.9018 GB, free: 4.598 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009475/1.641, allocations: 3.174 MB / 0.9049 GB, free: 1.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006861/1.642, allocations: 56.36 kB / 0.905 GB, free: 1.352 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003947/1.646, allocations: 3.277 MB / 0.9082 GB, free: 14.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001626/1.648, allocations: 0.8888 MB / 0.909 GB, free: 13.18 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007433/1.649, allocations: 122.7 kB / 0.9091 GB, free: 13.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005548/1.649, allocations: 0.5624 MB / 0.9097 GB, free: 12.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006555/1.656, allocations: 2.378 MB / 0.912 GB, free: 10.11 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01056/1.666, allocations: 5.765 MB / 0.9176 GB, free: 2.68 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3349/2.001, allocations: 3.682 MB / 0.9212 GB, free: 89.68 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001101/2.001, allocations: 35.84 kB / 0.9213 GB, free: 89.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.02783/2.029, allocations: 8.907 MB / 0.93 GB, free: 89.24 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.322e-05/2.029, allocations: 58.75 kB / 0.93 GB, free: 89.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002187/2.03, allocations: 118.4 kB / 0.9301 GB, free: 89.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006623/2.036, allocations: 1.163 MB / 0.9313 GB, free: 89.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01372/2.05, allocations: 1.372 MB / 0.9326 GB, free: 89.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01467/2.065, allocations: 4.59 MB / 0.9371 GB, free: 87.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01005/2.075, allocations: 329.3 kB / 0.9374 GB, free: 87.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002352/2.077, allocations: 355.4 kB / 0.9378 GB, free: 87.28 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.009799/2.087, allocations: 2.413 MB / 0.9401 GB, free: 87.04 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001149/2.088, allocations: 301.4 kB / 0.9404 GB, free: 87.04 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02086/2.109, allocations: 4.434 MB / 0.9447 GB, free: 86.89 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001708/2.109, allocations: 44.81 kB / 0.9448 GB, free: 86.89 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.257e-05/2.109, allocations: 3.5 kB / 0.9448 GB, free: 86.89 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-05/2.11, allocations: 10.69 kB / 0.9448 GB, free: 86.89 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04739/2.157, allocations: 10.46 MB / 0.955 GB, free: 84.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.998e-05/2.157, allocations: 7.344 kB / 0.955 GB, free: 84.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005649/2.163, allocations: 387.8 kB / 0.9554 GB, free: 84.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005431/2.168, allocations: 0.6723 MB / 0.956 GB, free: 84.47 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008391/2.169, allocations: 52.19 kB / 0.9561 GB, free: 84.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005983/2.175, allocations: 2.41 MB / 0.9584 GB, free: 82.91 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.099e-05/2.175, allocations: 3.844 kB / 0.9584 GB, free: 82.91 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02566/2.201, allocations: 6.782 MB / 0.9651 GB, free: 80.51 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001342/2.202, allocations: 346.2 kB / 0.9654 GB, free: 80.29 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001677/2.204, allocations: 47.81 kB / 0.9654 GB, free: 80.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00456/2.209, allocations: 138.3 kB / 0.9656 GB, free: 80.23 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001143/2.21, allocations: 133.2 kB / 0.9657 GB, free: 80.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006813/2.211, allocations: 69.14 kB / 0.9658 GB, free: 80.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007661/2.218, allocations: 1.923 MB / 0.9676 GB, free: 79.54 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.422e-06/2.218, allocations: 3.906 kB / 0.9676 GB, free: 79.54 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01153/2.23, allocations: 1.067 MB / 0.9687 GB, free: 79.43 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.001447/2.231, allocations: 195.7 kB / 0.9689 GB, free: 79.29 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02241/2.254, allocations: 5.801 MB / 0.9745 GB, free: 77.38 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.878e-05/2.254, allocations: 11.88 kB / 0.9745 GB, free: 77.38 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01027/2.264, allocations: 2.42 MB / 0.9769 GB, free: 76.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006399/2.271, allocations: 451.3 kB / 0.9773 GB, free: 76.25 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04559/2.316, allocations: 13.46 MB / 0.9905 GB, free: 69.31 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01351/2.33, allocations: 3.828 MB / 0.9942 GB, free: 66.98 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01336/2.343, allocations: 2.058 MB / 0.9962 GB, free: 65.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002632/2.346, allocations: 236 kB / 0.9965 GB, free: 65.45 MB / 426.7 MB Notification: Performance of SimCode: time 3.837e-06/2.346, allocations: 0 / 0.9965 GB, free: 65.45 MB / 426.7 MB Notification: Performance of Templates: time 0.1281/2.474, allocations: 34.22 MB / 1.03 GB, free: 38.8 MB / 426.7 MB