Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_ModelicaTest.MultiBody.Forces.Spring2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002667/0.002672, allocations: 360.5 kB / 15.95 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.896/3.896, allocations: 388.9 MB / 405.6 MB, free: 9.586 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.006787/0.006787, allocations: 224.3 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5218/0.5218, allocations: 80.02 MB / 0.5627 GB, free: 19.75 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004807/0.000481, allocations: 16 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09765/0.09816, allocations: 54.87 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4709/0.5691, allocations: 95.57 MB / 0.7734 GB, free: 5.953 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/0.5694, allocations: 81.77 kB / 0.7735 GB, free: 5.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4079/0.9773, allocations: 95.61 MB / 0.8669 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.474e-06/0.9774, allocations: 0 / 0.8669 GB, free: 13.86 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003292/0.9777, allocations: 95.98 kB / 0.867 GB, free: 13.77 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: 1679 * Number of variables: 1679 Notification: Performance of Generate backend data structure: time 0.06108/1.039, allocations: 6.109 MB / 0.8729 GB, free: 7.59 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.743e-05/1.039, allocations: 8.031 kB / 0.8729 GB, free: 7.582 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03991/1.079, allocations: 2.829 MB / 0.8757 GB, free: 4.742 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03221/1.111, allocations: 5.859 MB / 0.8814 GB, free: 14.82 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006126/1.112, allocations: 361.2 kB / 0.8818 GB, free: 14.46 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002992/1.115, allocations: 483.6 kB / 0.8822 GB, free: 13.99 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05795/1.173, allocations: 12.18 MB / 0.8941 GB, free: 0.5781 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005459/1.173, allocations: 71.34 kB / 0.8942 GB, free: 0.5078 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003382/1.177, allocations: 235.9 kB / 0.8944 GB, free: 284 kB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.3431/1.52, allocations: 1.193 MB / 0.8956 GB, free: 100.8 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0367/1.557, allocations: 10.35 MB / 0.9057 GB, free: 100.7 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08671/1.643, allocations: 56.94 MB / 0.9613 GB, free: 65.91 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0233/1.667, allocations: 5.054 MB / 0.9662 GB, free: 64.15 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00555/1.672, allocations: 2.386 MB / 0.9686 GB, free: 63.17 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0271/1.7, allocations: 11.09 MB / 0.9794 GB, free: 57.38 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.729e-05/1.7, allocations: 54.72 kB / 0.9794 GB, free: 57.33 MB / 474.7 MB Notification: Performance of pre-optimization done (n=198): time 5.871e-06/1.7, allocations: 2.281 kB / 0.9794 GB, free: 57.33 MB / 474.7 MB Notification: Performance of matching and sorting (n=237): time 0.1047/1.804, allocations: 24.2 MB / 1.003 GB, free: 48.8 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003465/1.808, allocations: 4.612 MB / 1.008 GB, free: 44.26 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01161/1.82, allocations: 4.601 MB / 1.012 GB, free: 40.99 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008264/1.82, allocations: 59.19 kB / 1.012 GB, free: 40.93 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003196/1.824, allocations: 3.472 MB / 1.016 GB, free: 37.81 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00181/1.826, allocations: 0.9516 MB / 1.016 GB, free: 36.97 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001367/1.827, allocations: 150.8 kB / 1.017 GB, free: 36.83 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005993/1.828, allocations: 0.6131 MB / 1.017 GB, free: 36.3 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009162/1.837, allocations: 3.19 MB / 1.02 GB, free: 33.65 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01259/1.849, allocations: 7.454 MB / 1.028 GB, free: 24.88 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01187/1.861, allocations: 4.728 MB / 1.032 GB, free: 20.69 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001511/1.862, allocations: 48 kB / 1.032 GB, free: 20.64 MB / 474.7 MB Notification: Performance of matching and sorting (n=961) (initialization): time 0.045/1.907, allocations: 13.14 MB / 1.045 GB, free: 9.797 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001272/1.907, allocations: 72 kB / 1.045 GB, free: 9.727 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02447/1.931, allocations: 6.401 MB / 1.051 GB, free: 4.125 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01949/1.951, allocations: 3.365 MB / 1.055 GB, free: 0.7266 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01085/1.962, allocations: 1.696 MB / 1.056 GB, free: 15.03 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03166/1.993, allocations: 15.95 MB / 1.072 GB, free: 14.31 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01168/2.005, allocations: 0.7703 MB / 1.073 GB, free: 13.54 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002118/2.007, allocations: 453.6 kB / 1.073 GB, free: 13.1 MB / 0.4949 GB 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 (882): * Single equations (assignments): 862 * 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 {4,4,4} * 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.007699/2.015, allocations: 2.294 MB / 1.075 GB, free: 10.8 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001464/2.016, allocations: 418.7 kB / 1.076 GB, free: 10.38 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02925/2.046, allocations: 6.993 MB / 1.083 GB, free: 3.344 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.3658/2.412, allocations: 6.337 MB / 1.089 GB, free: 120.4 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.347e-05/2.412, allocations: 7.812 kB / 1.089 GB, free: 120.4 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.607e-05/2.412, allocations: 15.47 kB / 1.089 GB, free: 120.4 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06663/2.479, allocations: 14.97 MB / 1.103 GB, free: 119.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-05/2.479, allocations: 4.812 kB / 1.103 GB, free: 119.5 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004129/2.483, allocations: 421 kB / 1.104 GB, free: 119.5 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01912/2.502, allocations: 3.34 MB / 1.107 GB, free: 119.4 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000814/2.503, allocations: 78.2 kB / 1.107 GB, free: 119.4 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02904/2.532, allocations: 16.56 MB / 1.123 GB, free: 111.7 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003499/2.535, allocations: 4.425 MB / 1.128 GB, free: 107.6 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03206/2.567, allocations: 10.4 MB / 1.138 GB, free: 106.9 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001645/2.569, allocations: 484.2 kB / 1.138 GB, free: 106.8 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001392/2.571, allocations: 63.31 kB / 1.138 GB, free: 106.8 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005558/2.576, allocations: 334.3 kB / 1.139 GB, free: 106.7 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001198/2.577, allocations: 190.8 kB / 1.139 GB, free: 106.7 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003609/2.578, allocations: 73.89 kB / 1.139 GB, free: 106.7 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.008009/2.586, allocations: 2.883 MB / 1.142 GB, free: 105.8 MB / 0.4949 GB Notification: Performance of sort global known variables: time 8.02e-07/2.586, allocations: 0 / 1.142 GB, free: 105.8 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.009922/2.596, allocations: 1.497 MB / 1.143 GB, free: 105.6 MB / 0.4949 GB 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.001159/2.597, allocations: 218.7 kB / 1.143 GB, free: 105.5 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.02507/2.622, allocations: 9.247 MB / 1.152 GB, free: 102.2 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/2.622, allocations: 0 / 1.152 GB, free: 102.2 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.01481/2.637, allocations: 4.586 MB / 1.157 GB, free: 100.1 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005696/2.643, allocations: 0.522 MB / 1.157 GB, free: 99.9 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0371/2.68, allocations: 15.14 MB / 1.172 GB, free: 92.34 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01165/2.692, allocations: 3.729 MB / 1.176 GB, free: 91 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.03394/2.726, allocations: 2.198 MB / 1.178 GB, free: 90.82 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002455/2.728, allocations: 302 kB / 1.178 GB, free: 90.8 MB / 0.4949 GB Notification: Performance of SimCode: time 2.235e-06/2.732, allocations: 0 / 1.178 GB, free: 90.8 MB / 0.4949 GB Notification: Performance of Templates: time 0.1534/2.886, allocations: 55.52 MB / 1.232 GB, free: 42.52 MB / 0.4949 GB