Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.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.FreeMotionScalarInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.angle_d_1|freeMotionScalarInit.angle_d_2|freeMotionScalarInit.angle_d_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.FreeMotionScalarInit") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004063/0.004069, allocations: 347.2 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 4.051/4.051, 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.004711/0.004711, allocations: 233.3 kB / 397.9 MB, free: 4.965 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.4859/0.4859, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005006/0.000501, allocations: 15.98 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09961/0.1001, allocations: 48.69 MB / 0.6067 GB, free: 4.66 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4379/0.5381, allocations: 91.26 MB / 0.6958 GB, free: 21.44 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/0.5384, allocations: 83.02 kB / 0.6959 GB, free: 21.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6744/1.213, allocations: 90.03 MB / 0.7838 GB, free: 87.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.399e-06/1.213, allocations: 3.516 kB / 0.7839 GB, free: 87.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002177/1.213, allocations: 78.94 kB / 0.7839 GB, free: 87.02 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: 1696 * Number of variables: 1696 Notification: Performance of Generate backend data structure: time 0.02447/1.238, allocations: 4.337 MB / 0.7882 GB, free: 85.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/1.238, allocations: 15.69 kB / 0.7882 GB, free: 85.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02773/1.265, allocations: 3.531 MB / 0.7916 GB, free: 84.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01308/1.279, allocations: 3.569 MB / 0.7951 GB, free: 84.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004619/1.279, allocations: 328.6 kB / 0.7954 GB, free: 84.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003293/1.282, allocations: 442.4 kB / 0.7958 GB, free: 84.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03395/1.316, allocations: 10.99 MB / 0.8066 GB, free: 82.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003096/1.317, allocations: 34.77 kB / 0.8066 GB, free: 82.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002759/1.32, allocations: 197.8 kB / 0.8068 GB, free: 82.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002714/1.322, allocations: 1.228 MB / 0.808 GB, free: 82.81 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03029/1.353, allocations: 10.59 MB / 0.8183 GB, free: 79.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07623/1.429, allocations: 37.26 MB / 0.8547 GB, free: 52.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01193/1.441, allocations: 4.399 MB / 0.859 GB, free: 48.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004321/1.445, allocations: 2.158 MB / 0.8611 GB, free: 46.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001578/1.447, allocations: 1.321 MB / 0.8624 GB, free: 44.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.361e-05/1.447, allocations: 52.56 kB / 0.8625 GB, free: 44.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=244): time 6.853e-06/1.447, allocations: 0 / 0.8625 GB, free: 44.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=265): time 0.06725/1.514, allocations: 13.95 MB / 0.8761 GB, free: 30.47 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/1.514, allocations: 73.41 kB / 0.8762 GB, free: 30.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005122/1.519, allocations: 2.823 MB / 0.8789 GB, free: 27.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006004/1.52, allocations: 62.64 kB / 0.879 GB, free: 27.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002336/1.522, allocations: 2.921 MB / 0.8818 GB, free: 24.56 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001448/1.524, allocations: 0.9777 MB / 0.8828 GB, free: 23.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007004/1.525, allocations: 115.8 kB / 0.8829 GB, free: 23.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004353/1.525, allocations: 0.5501 MB / 0.8834 GB, free: 22.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005765/1.531, allocations: 2.336 MB / 0.8857 GB, free: 20.58 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008212/1.539, allocations: 5.488 MB / 0.8911 GB, free: 13.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007938/1.547, allocations: 3.579 MB / 0.8946 GB, free: 9.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001023/1.547, allocations: 32 kB / 0.8946 GB, free: 9.949 MB / 410.7 MB Notification: Performance of matching and sorting (n=772) (initialization): time 0.02602/1.573, allocations: 8.531 MB / 0.9029 GB, free: 1.402 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.193e-05/1.574, allocations: 52 kB / 0.903 GB, free: 1.352 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001595/1.574, allocations: 108 kB / 0.9031 GB, free: 1.246 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006533/1.58, allocations: 1.056 MB / 0.9041 GB, free: 184 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009119/1.589, allocations: 1.33 MB / 0.9054 GB, free: 14.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005112/1.595, allocations: 2.461 MB / 0.9078 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006382/1.601, allocations: 331.6 kB / 0.9081 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001626/1.603, allocations: 336 kB / 0.9085 GB, free: 11.61 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 500 * 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],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 (719): * Single equations (assignments): 710 * 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.007325/1.61, allocations: 2.248 MB / 0.9107 GB, free: 9.352 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000823/1.611, allocations: 292.3 kB / 0.9109 GB, free: 9.062 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01835/1.629, allocations: 5.062 MB / 0.9159 GB, free: 3.938 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001333/1.629, allocations: 44 kB / 0.9159 GB, free: 3.895 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.608e-05/1.629, allocations: 4 kB / 0.9159 GB, free: 3.891 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.913e-05/1.63, allocations: 15.91 kB / 0.9159 GB, free: 3.875 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3569/1.986, allocations: 11.61 MB / 0.9273 GB, free: 91.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.783e-05/1.987, allocations: 10.59 kB / 0.9273 GB, free: 91.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004092/1.991, allocations: 428.2 kB / 0.9277 GB, free: 91.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006743/1.997, allocations: 0.9041 MB / 0.9286 GB, free: 91.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007106/1.998, allocations: 58.44 kB / 0.9286 GB, free: 91.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003994/2.002, allocations: 2.29 MB / 0.9309 GB, free: 89.96 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.308e-05/2.002, allocations: 12.47 kB / 0.9309 GB, free: 89.96 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02327/2.026, allocations: 7.508 MB / 0.9382 GB, free: 89.37 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001048/2.027, allocations: 328 kB / 0.9385 GB, free: 89.27 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009776/2.028, allocations: 49.48 kB / 0.9386 GB, free: 89.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002554/2.03, allocations: 142.2 kB / 0.9387 GB, free: 89.27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005297/2.031, allocations: 158 kB / 0.9389 GB, free: 89.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002883/2.031, allocations: 79.08 kB / 0.9389 GB, free: 89.26 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004489/2.036, allocations: 1.712 MB / 0.9406 GB, free: 89.12 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.152e-06/2.036, allocations: 0 / 0.9406 GB, free: 89.12 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007565/2.043, allocations: 1.005 MB / 0.9416 GB, free: 89.12 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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,freeMotionScalarInit.angle_d_1,freeMotionScalarInit.angle_d_2,freeMotionScalarInit.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.001236/2.045, allocations: 191.4 kB / 0.9418 GB, free: 89.03 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01766/2.062, allocations: 6.145 MB / 0.9478 GB, free: 88.67 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-05/2.062, allocations: 0 / 0.9478 GB, free: 88.67 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00794/2.07, allocations: 2.601 MB / 0.9503 GB, free: 88.28 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004488/2.075, allocations: 426.1 kB / 0.9507 GB, free: 88.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03002/2.105, allocations: 13.01 MB / 0.9634 GB, free: 82.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008525/2.113, allocations: 3.595 MB / 0.9669 GB, free: 80.98 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.009287/2.123, allocations: 2.083 MB / 0.969 GB, free: 80.85 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001723/2.125, allocations: 237.7 kB / 0.9692 GB, free: 80.84 MB / 426.7 MB Notification: Performance of SimCode: time 1.383e-06/2.125, allocations: 0 / 0.9692 GB, free: 80.84 MB / 426.7 MB Notification: Performance of Templates: time 0.0943/2.219, allocations: 31.7 MB / 1 GB, free: 69.69 MB / 426.7 MB