Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.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.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit1.r_rel_a_1|freeMotionScalarInit1.r_rel_a_2|freeMotionScalarInit1.r_rel_a_3|freeMotionScalarInit1.v_rel_a_1|freeMotionScalarInit1.v_rel_a_2|freeMotionScalarInit1.v_rel_a_3|freeMotionScalarInit2.angle_1|freeMotionScalarInit2.angle_2|freeMotionScalarInit2.angle_3|freeMotionScalarInit2.angle_d_1|freeMotionScalarInit2.angle_d_2|freeMotionScalarInit2.angle_d_3",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002586/0.002586, allocations: 349.8 kB / 15.94 MB, free: 6.219 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.274/3.274, allocations: 341.5 MB / 358.2 MB, free: 28.65 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003595/0.003595, allocations: 214.5 kB / 397.8 MB, free: 6.02 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4913/0.4913, allocations: 76.1 MB / 0.5014 GB, free: 0.8164 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005074/0.0005078, allocations: 12 kB / 0.5592 GB, free: 60.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09202/0.09256, allocations: 48.7 MB / 0.6067 GB, free: 11.54 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4962/0.5888, allocations: 91.44 MB / 0.696 GB, free: 12.42 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003991/0.5893, allocations: 79.84 kB / 0.6961 GB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4296/1.019, allocations: 94.05 MB / 0.788 GB, free: 4.992 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.605e-06/1.019, allocations: 0 / 0.788 GB, free: 4.992 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002448/1.019, allocations: 88 kB / 0.788 GB, free: 4.906 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: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.02411/1.043, allocations: 4.587 MB / 0.7925 GB, free: 256 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/1.043, allocations: 12.03 kB / 0.7925 GB, free: 244 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02778/1.071, allocations: 3.566 MB / 0.796 GB, free: 12.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01321/1.084, allocations: 3.715 MB / 0.7996 GB, free: 8.898 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000571/1.085, allocations: 357.3 kB / 0.8 GB, free: 8.547 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003168/1.088, allocations: 467.9 kB / 0.8004 GB, free: 8.09 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3301/1.418, allocations: 11.43 MB / 0.8116 GB, free: 91.91 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000306/1.419, allocations: 35.06 kB / 0.8116 GB, free: 91.91 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002645/1.421, allocations: 215.1 kB / 0.8118 GB, free: 91.91 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002926/1.424, allocations: 1.236 MB / 0.813 GB, free: 91.89 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03291/1.457, allocations: 10.89 MB / 0.8237 GB, free: 91.85 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07615/1.534, allocations: 38.39 MB / 0.8612 GB, free: 74.92 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01232/1.546, allocations: 4.393 MB / 0.8654 GB, free: 72.76 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004649/1.551, allocations: 2.151 MB / 0.8675 GB, free: 71.95 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001503/1.552, allocations: 1.325 MB / 0.8688 GB, free: 70.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.606e-05/1.552, allocations: 56.12 kB / 0.8689 GB, free: 70.71 MB / 426.7 MB Notification: Performance of pre-optimization done (n=244): time 7.003e-06/1.552, allocations: 0 / 0.8689 GB, free: 70.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=265): time 0.0755/1.628, allocations: 13.98 MB / 0.8825 GB, free: 66.82 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.401e-05/1.628, allocations: 79.78 kB / 0.8826 GB, free: 66.75 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005456/1.633, allocations: 2.956 MB / 0.8855 GB, free: 65.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005724/1.634, allocations: 63.95 kB / 0.8856 GB, free: 65.64 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002243/1.636, allocations: 3.107 MB / 0.8886 GB, free: 63.33 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001352/1.638, allocations: 0.9719 MB / 0.8896 GB, free: 62.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006438/1.638, allocations: 118.9 kB / 0.8897 GB, free: 62.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003973/1.639, allocations: 0.5574 MB / 0.8902 GB, free: 62.11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005593/1.644, allocations: 2.369 MB / 0.8925 GB, free: 61.35 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007833/1.652, allocations: 5.653 MB / 0.898 GB, free: 56.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007788/1.66, allocations: 3.656 MB / 0.9016 GB, free: 53.71 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.312e-05/1.66, allocations: 32 kB / 0.9016 GB, free: 53.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=793) (initialization): time 0.02465/1.685, allocations: 8.721 MB / 0.9102 GB, free: 46.15 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.195e-05/1.685, allocations: 55.59 kB / 0.9102 GB, free: 46.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001532/1.685, allocations: 116.9 kB / 0.9103 GB, free: 45.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006472/1.692, allocations: 1.058 MB / 0.9114 GB, free: 45.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00847/1.7, allocations: 1.369 MB / 0.9127 GB, free: 44.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003756/1.704, allocations: 2.472 MB / 0.9151 GB, free: 41.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006012/1.71, allocations: 329 kB / 0.9154 GB, free: 41.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001445/1.712, allocations: 343.7 kB / 0.9158 GB, free: 41.17 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 521 * Number of states: 0 () * Number of discrete variables: 24 (freeMotionScalarInit2.arrowColor[3],freeMotionScalarInit2.arrowColor[2],freeMotionScalarInit2.arrowColor[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],freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.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 (740): * Single equations (assignments): 731 * 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.006646/1.718, allocations: 2.362 MB / 0.9181 GB, free: 39.12 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008578/1.719, allocations: 300.1 kB / 0.9183 GB, free: 38.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02379/1.743, allocations: 5.079 MB / 0.9233 GB, free: 34.65 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001118/1.743, allocations: 51.78 kB / 0.9234 GB, free: 34.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.592e-05/1.743, allocations: 4 kB / 0.9234 GB, free: 34.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-05/1.743, allocations: 12.86 kB / 0.9234 GB, free: 34.59 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03329/1.776, allocations: 11.81 MB / 0.9349 GB, free: 24.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.912e-05/1.777, allocations: 11.95 kB / 0.9349 GB, free: 24.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003765/1.78, allocations: 423.4 kB / 0.9353 GB, free: 24.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005993/1.786, allocations: 0.919 MB / 0.9362 GB, free: 23.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006033/1.787, allocations: 61 kB / 0.9363 GB, free: 23.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00333/1.79, allocations: 2.261 MB / 0.9385 GB, free: 20.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-05/1.79, allocations: 15.69 kB / 0.9385 GB, free: 20.78 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01926/1.81, allocations: 7.522 MB / 0.9458 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000905/1.811, allocations: 349.1 kB / 0.9462 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001022/1.812, allocations: 52 kB / 0.9462 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003386/1.815, allocations: 131.8 kB / 0.9463 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007533/1.816, allocations: 161.6 kB / 0.9465 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002789/1.816, allocations: 79.56 kB / 0.9466 GB, free: 12.32 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004112/1.82, allocations: 1.8 MB / 0.9483 GB, free: 10.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.323e-06/1.82, allocations: 0 / 0.9483 GB, free: 10.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009536/1.83, allocations: 1.046 MB / 0.9494 GB, free: 9.477 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit1.r_rel_a_1,freeMotionScalarInit1.r_rel_a_2,freeMotionScalarInit1.r_rel_a_3,freeMotionScalarInit1.v_rel_a_1,freeMotionScalarInit1.v_rel_a_2,freeMotionScalarInit1.v_rel_a_3,freeMotionScalarInit2.angle_1,freeMotionScalarInit2.angle_2,freeMotionScalarInit2.angle_3,freeMotionScalarInit2.angle_d_1,freeMotionScalarInit2.angle_d_2,freeMotionScalarInit2.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.001263/1.831, allocations: 204.6 kB / 0.9496 GB, free: 9.281 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01809/1.849, allocations: 6.218 MB / 0.9556 GB, free: 3.031 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.39e-05/1.849, allocations: 0 / 0.9556 GB, free: 3.031 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00745/1.857, allocations: 2.596 MB / 0.9582 GB, free: 392 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004712/1.862, allocations: 487.4 kB / 0.9586 GB, free: 15.93 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03495/1.897, allocations: 13.53 MB / 0.9718 GB, free: 2.371 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3145/2.211, allocations: 3.745 MB / 0.9755 GB, free: 96.73 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01015/2.221, allocations: 2.143 MB / 0.9776 GB, free: 96.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001838/2.223, allocations: 250.7 kB / 0.9778 GB, free: 96.7 MB / 442.7 MB Notification: Performance of SimCode: time 1.523e-06/2.223, allocations: 0 / 0.9778 GB, free: 96.7 MB / 442.7 MB Notification: Performance of Templates: time 0.1236/2.347, allocations: 33.47 MB / 1.011 GB, free: 95.4 MB / 442.7 MB