Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring2.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.Forces.Spring2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.|body1.Q.1.|body1.Q.2.|body1.Q.3.|body1.Q.4.|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|body2.Q.1.|body2.Q.2.|body2.Q.3.|body2.Q.4.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002728/0.002734, allocations: 351.1 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.714/3.714, 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.003791/0.00379, allocations: 210.2 kB / 397.8 MB, free: 4.98 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.4694/0.4694, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007857/0.0007861, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1019, allocations: 48.71 MB / 0.6067 GB, free: 4.648 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4102/0.5122, allocations: 88.87 MB / 0.6935 GB, free: 23.85 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/0.5125, allocations: 83.95 kB / 0.6936 GB, free: 23.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7377/1.25, allocations: 95.43 MB / 0.7868 GB, free: 85.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.635e-06/1.25, allocations: 1.375 kB / 0.7868 GB, free: 85.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003267/1.251, allocations: 93.77 kB / 0.7869 GB, free: 85.34 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: 1679 * Number of variables: 1679 Notification: Performance of Generate backend data structure: time 0.04559/1.296, allocations: 6.099 MB / 0.7928 GB, free: 83.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/1.296, allocations: 9.094 kB / 0.7928 GB, free: 83.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02455/1.321, allocations: 2.794 MB / 0.7956 GB, free: 82.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02075/1.342, allocations: 5.841 MB / 0.8013 GB, free: 82.26 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005948/1.342, allocations: 361.7 kB / 0.8016 GB, free: 82.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002959/1.345, allocations: 477.5 kB / 0.8021 GB, free: 82.24 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03766/1.383, allocations: 12.18 MB / 0.814 GB, free: 78.53 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003561/1.383, allocations: 73.59 kB / 0.814 GB, free: 78.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002465/1.386, allocations: 235.2 kB / 0.8143 GB, free: 78.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003026/1.389, allocations: 1.193 MB / 0.8154 GB, free: 78.15 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03309/1.422, allocations: 10.35 MB / 0.8255 GB, free: 75.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08888/1.511, allocations: 56.95 MB / 0.8812 GB, free: 23.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02332/1.534, allocations: 5.045 MB / 0.8861 GB, free: 18.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005455/1.54, allocations: 2.384 MB / 0.8884 GB, free: 15.76 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02658/1.567, allocations: 11.08 MB / 0.8992 GB, free: 4.363 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.212e-05/1.567, allocations: 59.83 kB / 0.8993 GB, free: 4.297 MB / 410.7 MB Notification: Performance of pre-optimization done (n=198): time 5.801e-06/1.567, allocations: 0 / 0.8993 GB, free: 4.297 MB / 410.7 MB Notification: Performance of matching and sorting (n=237): time 0.4569/2.024, allocations: 24.2 MB / 0.9229 GB, free: 93.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005599/2.029, allocations: 4.603 MB / 0.9274 GB, free: 89.41 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02035/2.05, allocations: 4.595 MB / 0.9319 GB, free: 89.11 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00103/2.051, allocations: 60.02 kB / 0.932 GB, free: 89.08 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005046/2.056, allocations: 3.489 MB / 0.9354 GB, free: 87.97 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002578/2.059, allocations: 0.9446 MB / 0.9363 GB, free: 87.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001939/2.061, allocations: 150.2 kB / 0.9364 GB, free: 87.43 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001185/2.062, allocations: 0.6131 MB / 0.937 GB, free: 87.11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01458/2.076, allocations: 3.185 MB / 0.9401 GB, free: 87.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01949/2.096, allocations: 7.436 MB / 0.9474 GB, free: 81.68 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01588/2.112, allocations: 4.717 MB / 0.952 GB, free: 81.65 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000234/2.112, allocations: 43.09 kB / 0.9521 GB, free: 81.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=961) (initialization): time 0.04422/2.156, allocations: 12.84 MB / 0.9646 GB, free: 77.97 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001655/2.157, allocations: 73.88 kB / 0.9647 GB, free: 77.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02296/2.18, allocations: 6.161 MB / 0.9707 GB, free: 76.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01701/2.197, allocations: 3.118 MB / 0.9737 GB, free: 75.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01112/2.208, allocations: 1.746 MB / 0.9754 GB, free: 75.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02317/2.231, allocations: 14.77 MB / 0.9899 GB, free: 65.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.012/2.243, allocations: 0.762 MB / 0.9906 GB, free: 65.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002161/2.245, allocations: 452.9 kB / 0.991 GB, free: 65.36 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 679 * Number of states: 0 () * Number of discrete variables: 42 (fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (891): * Single equations (assignments): 871 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(4,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 13,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007347/2.253, allocations: 2.299 MB / 0.9933 GB, free: 64.27 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001349/2.254, allocations: 408.6 kB / 0.9937 GB, free: 64.05 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03206/2.286, allocations: 6.998 MB / 1.001 GB, free: 61.96 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03702/2.323, allocations: 6.338 MB / 1.007 GB, free: 59.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.815e-05/2.323, allocations: 11.95 kB / 1.007 GB, free: 59.33 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.114e-05/2.324, allocations: 14.22 kB / 1.007 GB, free: 59.33 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07047/2.394, allocations: 14.96 MB / 1.021 GB, free: 46.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-05/2.394, allocations: 4 kB / 1.021 GB, free: 46.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006123/2.4, allocations: 419.3 kB / 1.022 GB, free: 46.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02903/2.429, allocations: 3.346 MB / 1.025 GB, free: 42.89 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009368/2.43, allocations: 82.67 kB / 1.025 GB, free: 42.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02966/2.46, allocations: 16.56 MB / 1.041 GB, free: 25.49 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00312/2.463, allocations: 4.41 MB / 1.046 GB, free: 20.66 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03132/2.495, allocations: 10.42 MB / 1.056 GB, free: 10.14 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001868/2.497, allocations: 487.6 kB / 1.056 GB, free: 9.641 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001685/2.498, allocations: 63.97 kB / 1.056 GB, free: 9.578 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005751/2.504, allocations: 327.5 kB / 1.057 GB, free: 9.258 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001261/2.505, allocations: 189.6 kB / 1.057 GB, free: 9.074 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003423/2.506, allocations: 75.95 kB / 1.057 GB, free: 9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008097/2.514, allocations: 2.882 MB / 1.06 GB, free: 6.117 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.152e-06/2.514, allocations: 1.5 kB / 1.06 GB, free: 6.117 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009813/2.524, allocations: 1.482 MB / 1.061 GB, free: 4.641 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 36 ($STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.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 (178): * Single equations (assignments): 164 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 8,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007805/2.525, allocations: 214.5 kB / 1.061 GB, free: 4.438 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02623/2.551, allocations: 8.82 MB / 1.07 GB, free: 11.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/2.551, allocations: 0 / 1.07 GB, free: 11.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01613/2.567, allocations: 4.578 MB / 1.074 GB, free: 6.746 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006124/2.573, allocations: 0.5292 MB / 1.075 GB, free: 6.23 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3922/2.965, allocations: 15.09 MB / 1.09 GB, free: 91.82 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01443/2.98, allocations: 3.735 MB / 1.093 GB, free: 91 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01733/2.997, allocations: 2.213 MB / 1.095 GB, free: 90.81 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00303/3, allocations: 304 kB / 1.096 GB, free: 90.8 MB / 442.7 MB Notification: Performance of SimCode: time 2.134e-06/3, allocations: 0 / 1.096 GB, free: 90.8 MB / 442.7 MB Notification: Performance of Templates: time 0.2037/3.204, allocations: 53.62 MB / 1.148 GB, free: 80.84 MB / 442.7 MB