Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2") translateModel(ModelicaTest.MultiBody.Forces.Spring2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001291/0.001291, allocations: 180.5 kB / 7.651 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.539/1.539, allocations: 194.3 MB / 202.4 MB, free: 8.543 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001799/0.001799, allocations: 119.5 kB / 247.4 MB, free: 6.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.199/0.199, allocations: 39.95 MB / 332.2 MB, free: 4.785 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.574e-05/1.577e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09869/0.09873, allocations: 54.88 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3792/0.478, allocations: 94.82 MB / 0.5303 GB, free: 5.367 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001856/0.4783, allocations: 70.22 kB / 0.5304 GB, free: 5.332 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2489/0.7271, allocations: 94.18 MB / 0.6223 GB, free: 14.98 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.7272, allocations: 4 kB / 0.6223 GB, free: 14.98 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003159/0.7275, allocations: 91.98 kB / 0.6224 GB, free: 14.89 MB / 442.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.02809/0.7556, allocations: 5.819 MB / 0.6281 GB, free: 9.008 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.7557, allocations: 11.97 kB / 0.6281 GB, free: 8.996 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0166/0.7723, allocations: 2.923 MB / 0.631 GB, free: 6.062 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01944/0.7918, allocations: 7.186 MB / 0.638 GB, free: 14.81 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003828/0.7922, allocations: 152 kB / 0.6381 GB, free: 14.66 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002378/0.7946, allocations: 283.9 kB / 0.6384 GB, free: 14.38 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01463/0.8093, allocations: 7.086 MB / 0.6453 GB, free: 7.293 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02287/0.8322, allocations: 10.64 MB / 0.6557 GB, free: 11.43 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003418/0.8326, allocations: 79.25 kB / 0.6558 GB, free: 11.35 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002082/0.8347, allocations: 36 kB / 0.6558 GB, free: 11.32 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002243/0.8369, allocations: 1.194 MB / 0.657 GB, free: 10.12 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3213/1.158, allocations: 56.14 MB / 0.7118 GB, free: 70.56 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005133/1.163, allocations: 3.466 MB / 0.7152 GB, free: 69.84 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003423/1.167, allocations: 2.212 MB / 0.7174 GB, free: 69.79 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008858/1.168, allocations: 0.6788 MB / 0.718 GB, free: 69.22 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.082e-05/1.168, allocations: 59.56 kB / 0.7181 GB, free: 69.18 MB / 474.7 MB Notification: Performance of pre-optimization done (n=205): time 5.169e-06/1.168, allocations: 0 / 0.7181 GB, free: 69.18 MB / 474.7 MB Notification: Performance of matching and sorting (n=238): time 0.04347/1.211, allocations: 20 MB / 0.7376 GB, free: 64.72 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.093e-05/1.211, allocations: 260.5 kB / 0.7379 GB, free: 64.43 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004925/1.216, allocations: 3.457 MB / 0.7412 GB, free: 64.05 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006652/1.217, allocations: 25.7 kB / 0.7413 GB, free: 64.02 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001912/1.219, allocations: 3.523 MB / 0.7447 GB, free: 61.77 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001198/1.22, allocations: 0.929 MB / 0.7456 GB, free: 61.09 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003342/1.221, allocations: 0 / 0.7456 GB, free: 61.09 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000336/1.221, allocations: 0.6306 MB / 0.7462 GB, free: 60.65 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003542/1.224, allocations: 2.933 MB / 0.7491 GB, free: 59.65 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005214/1.23, allocations: 7.279 MB / 0.7562 GB, free: 52.8 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005522/1.235, allocations: 4.54 MB / 0.7606 GB, free: 51.46 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.84e-05/1.235, allocations: 44.44 kB / 0.7607 GB, free: 51.46 MB / 474.7 MB Notification: Performance of matching and sorting (n=985) (initialization): time 0.02353/1.259, allocations: 11.96 MB / 0.7724 GB, free: 48.04 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.553e-05/1.259, allocations: 74.19 kB / 0.7724 GB, free: 48.04 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01224/1.271, allocations: 6.187 MB / 0.7785 GB, free: 46.44 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0102/1.281, allocations: 3.278 MB / 0.7817 GB, free: 44.78 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005782/1.287, allocations: 1.742 MB / 0.7834 GB, free: 43.28 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0141/1.301, allocations: 15.11 MB / 0.7981 GB, free: 29.29 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008048/1.31, allocations: 0.628 MB / 0.7987 GB, free: 28.87 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00171/1.311, allocations: 457.6 kB / 0.7992 GB, free: 28.44 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 705 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (906): * Single equations (assignments): 886 * 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.00147/1.313, allocations: 0.5014 MB / 0.7997 GB, free: 27.94 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009561/1.314, allocations: 383.1 kB / 0.8 GB, free: 27.56 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01319/1.327, allocations: 6.695 MB / 0.8066 GB, free: 22.56 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01155/1.338, allocations: 6.075 MB / 0.8125 GB, free: 18.02 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.325e-05/1.339, allocations: 12 kB / 0.8125 GB, free: 18.01 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.198e-05/1.339, allocations: 9.141 kB / 0.8125 GB, free: 18.01 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0264/1.365, allocations: 14.36 MB / 0.8266 GB, free: 5.531 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.473e-05/1.365, allocations: 11.31 kB / 0.8266 GB, free: 5.523 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002033/1.367, allocations: 415.3 kB / 0.827 GB, free: 5.117 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009567/1.377, allocations: 3.266 MB / 0.8301 GB, free: 1.812 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006336/1.377, allocations: 47.92 kB / 0.8302 GB, free: 1.766 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01904/1.396, allocations: 16.03 MB / 0.8458 GB, free: 1.086 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.2684/1.665, allocations: 4.232 MB / 0.85 GB, free: 107.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02225/1.687, allocations: 10.4 MB / 0.8601 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001528/1.689, allocations: 447.8 kB / 0.8606 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001693/1.691, allocations: 26.38 kB / 0.8606 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003583/1.694, allocations: 296.2 kB / 0.8609 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006567/1.695, allocations: 186 kB / 0.861 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000227/1.695, allocations: 71.7 kB / 0.8611 GB, free: 106.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005045/1.7, allocations: 2.294 MB / 0.8634 GB, free: 106.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.11e-07/1.7, allocations: 0 / 0.8634 GB, free: 106.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008626/1.709, allocations: 1.368 MB / 0.8647 GB, free: 106.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 36 ($STATESET5.x[3],$STATESET5.x[2],$STATESET5.x[1],$STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (177): * Single equations (assignments): 163 * 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.0007691/1.71, allocations: 176.6 kB / 0.8649 GB, free: 106.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01573/1.725, allocations: 8.712 MB / 0.8734 GB, free: 105.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.265e-05/1.725, allocations: 0 / 0.8734 GB, free: 105.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008496/1.734, allocations: 4.445 MB / 0.8777 GB, free: 104 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003627/1.738, allocations: 404.2 kB / 0.8781 GB, free: 104 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02282/1.76, allocations: 11.07 MB / 0.8889 GB, free: 101.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004274/1.765, allocations: 3.717 MB / 0.8925 GB, free: 100.4 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005665/1.77, allocations: 2.272 MB / 0.8947 GB, free: 100.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001085/1.772, allocations: 286.2 kB / 0.895 GB, free: 100.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.233e-06/1.772, allocations: 0 / 0.895 GB, free: 100.2 MB / 490.7 MB Notification: Performance of Templates: time 0.07988/1.851, allocations: 49.96 MB / 0.9438 GB, free: 78.81 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2.pipe 2>&1)