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.009839/0.009839, allocations: 175.5 kB / 15.12 MB, free: 6.043 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.785/1.785, allocations: 194.5 MB / 210.3 MB, free: 7.621 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.001651/0.001652, allocations: 116.5 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2095/0.2095, allocations: 40.02 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004079/0.000408, allocations: 11.66 kB / 406.2 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1406, allocations: 54.87 MB / 461 MB, free: 3.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4679/0.6086, allocations: 95.57 MB / 0.5436 GB, free: 21.88 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002944/0.6089, allocations: 80.38 kB / 0.5436 GB, free: 21.88 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2326/0.8415, allocations: 96.17 MB / 0.6375 GB, free: 6.066 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.544e-06/0.8416, allocations: 0 / 0.6375 GB, free: 6.066 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000217/0.8418, allocations: 91.98 kB / 0.6376 GB, free: 5.977 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.02896/0.8708, allocations: 6.102 MB / 0.6436 GB, free: 15.8 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.8709, allocations: 8.031 kB / 0.6436 GB, free: 15.79 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01602/0.8869, allocations: 2.919 MB / 0.6465 GB, free: 12.86 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02176/0.9087, allocations: 7.217 MB / 0.6535 GB, free: 5.582 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000573/0.9093, allocations: 357.2 kB / 0.6538 GB, free: 5.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003047/0.9124, allocations: 495.7 kB / 0.6543 GB, free: 4.746 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03158/0.944, allocations: 12.26 MB / 0.6663 GB, free: 7.25 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002873/0.9443, allocations: 75.25 kB / 0.6664 GB, free: 7.176 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001629/0.946, allocations: 231.9 kB / 0.6666 GB, free: 6.949 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002018/0.948, allocations: 1.198 MB / 0.6677 GB, free: 5.746 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02464/0.9726, allocations: 10.49 MB / 0.678 GB, free: 11.23 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3683/1.341, allocations: 57.03 MB / 0.7337 GB, free: 74.92 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01533/1.356, allocations: 5.056 MB / 0.7386 GB, free: 74.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01843/1.375, allocations: 11.14 MB / 0.7495 GB, free: 71.14 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.169e-05/1.375, allocations: 56.58 kB / 0.7496 GB, free: 71.11 MB / 490.7 MB Notification: Performance of pre-optimization done (n=198): time 5.32e-06/1.375, allocations: 0 / 0.7496 GB, free: 71.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=237): time 0.05668/1.432, allocations: 24.46 MB / 0.7734 GB, free: 66.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002656/1.434, allocations: 4.644 MB / 0.778 GB, free: 62.24 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007581/1.442, allocations: 4.108 MB / 0.782 GB, free: 61.86 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006848/1.443, allocations: 56.31 kB / 0.782 GB, free: 61.83 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001946/1.445, allocations: 3.483 MB / 0.7854 GB, free: 60.03 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001071/1.446, allocations: 0.954 MB / 0.7864 GB, free: 59.49 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003507/1.446, allocations: 150.5 kB / 0.7865 GB, free: 59.49 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003346/1.446, allocations: 0.6122 MB / 0.7871 GB, free: 59.18 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004383/1.451, allocations: 3.195 MB / 0.7902 GB, free: 59.16 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006832/1.458, allocations: 7.419 MB / 0.7975 GB, free: 53.08 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006412/1.464, allocations: 4.727 MB / 0.8021 GB, free: 51.54 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.817e-05/1.464, allocations: 45.09 kB / 0.8021 GB, free: 51.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02404/1.488, allocations: 13.16 MB / 0.815 GB, free: 48 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.201e-05/1.488, allocations: 67.44 kB / 0.8151 GB, free: 48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01429/1.503, allocations: 6.401 MB / 0.8213 GB, free: 45.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01147/1.514, allocations: 3.356 MB / 0.8246 GB, free: 43.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007681/1.522, allocations: 1.695 MB / 0.8262 GB, free: 41.69 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01736/1.539, allocations: 16.31 MB / 0.8422 GB, free: 26.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009144/1.548, allocations: 0.759 MB / 0.8429 GB, free: 26.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002794/1.551, allocations: 451.7 kB / 0.8433 GB, free: 25.62 MB / 490.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 (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.007391/1.559, allocations: 2.31 MB / 0.8456 GB, free: 23.59 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001813/1.561, allocations: 410.8 kB / 0.846 GB, free: 23.19 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01685/1.577, allocations: 6.991 MB / 0.8528 GB, free: 17.93 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01429/1.592, allocations: 6.343 MB / 0.859 GB, free: 13.15 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.318e-05/1.592, allocations: 17.83 kB / 0.859 GB, free: 13.13 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.879e-05/1.592, allocations: 9.328 kB / 0.859 GB, free: 13.13 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03586/1.628, allocations: 14.96 MB / 0.8736 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.485e-05/1.628, allocations: 4.438 kB / 0.8736 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002368/1.63, allocations: 423.3 kB / 0.8741 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01126/1.642, allocations: 3.345 MB / 0.8773 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000921/1.643, allocations: 75.92 kB / 0.8774 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02133/1.664, allocations: 16.93 MB / 0.8939 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003592/1.668, allocations: 4.461 MB / 0.8983 GB, free: 5.375 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02257/1.69, allocations: 10.88 MB / 0.9089 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001812/1.692, allocations: 492.5 kB / 0.9094 GB, free: 9.723 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001515/1.693, allocations: 63.97 kB / 0.9094 GB, free: 9.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00352/1.697, allocations: 332.5 kB / 0.9098 GB, free: 9.336 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007986/1.698, allocations: 189.6 kB / 0.9099 GB, free: 9.152 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004185/1.698, allocations: 76.97 kB / 0.91 GB, free: 9.078 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.007059/1.705, allocations: 2.882 MB / 0.9128 GB, free: 6.195 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.51e-07/1.705, allocations: 0 / 0.9128 GB, free: 6.195 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00968/1.715, allocations: 1.487 MB / 0.9143 GB, free: 4.715 MB / 0.5261 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.001098/1.716, allocations: 221.3 kB / 0.9145 GB, free: 4.496 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.2513/1.968, allocations: 9.233 MB / 0.9235 GB, free: 147.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-05/1.968, allocations: 1.406 kB / 0.9235 GB, free: 147.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.009323/1.977, allocations: 4.573 MB / 0.928 GB, free: 146.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004363/1.981, allocations: 0.4907 MB / 0.9285 GB, free: 146.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02675/2.008, allocations: 15.11 MB / 0.9432 GB, free: 140.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004257/2.012, allocations: 3.738 MB / 0.9469 GB, free: 140 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005726/2.018, allocations: 2.207 MB / 0.949 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001069/2.019, allocations: 299 kB / 0.9493 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.242e-06/2.019, allocations: 0 / 0.9493 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.09043/2.11, allocations: 55.42 MB / 1.003 GB, free: 128.9 MB / 0.5261 GB 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)