Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.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.Sensors.CutForceAndTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01115/0.01115, allocations: 176 kB / 15.12 MB, free: 5.969 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.575/1.575, allocations: 194.5 MB / 210.3 MB, free: 7.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.001679/0.001679, allocations: 124.6 kB / 255.6 MB, free: 10.15 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.2062/0.2062, allocations: 40 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003952/0.0003953, allocations: 9.969 kB / 406.1 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1127, allocations: 54.88 MB / 461 MB, free: 3.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4022/0.515, allocations: 100.9 MB / 0.5488 GB, free: 21.75 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/0.5153, allocations: 87.25 kB / 0.5488 GB, free: 21.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7762/1.291, allocations: 199.2 MB / 0.7434 GB, free: 64.04 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.407e-06/1.292, allocations: 3.781 kB / 0.7434 GB, free: 64.04 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0007129/1.292, allocations: 191.1 kB / 0.7436 GB, free: 64.04 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3662 * Number of variables: 3662 Notification: Performance of Generate backend data structure: time 0.03913/1.331, allocations: 9.993 MB / 0.7533 GB, free: 60.09 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/1.331, allocations: 10.53 kB / 0.7533 GB, free: 60.09 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02296/1.354, allocations: 4.035 MB / 0.7573 GB, free: 59.41 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02951/1.384, allocations: 10.6 MB / 0.7676 GB, free: 58.34 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001061/1.385, allocations: 0.791 MB / 0.7684 GB, free: 58.32 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006695/1.392, allocations: 1.043 MB / 0.7694 GB, free: 58.31 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07349/1.465, allocations: 24.39 MB / 0.7932 GB, free: 53.88 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009221/1.466, allocations: 104.1 kB / 0.7933 GB, free: 53.87 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00711/1.473, allocations: 497.8 kB / 0.7938 GB, free: 53.86 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005347/1.479, allocations: 2.269 MB / 0.796 GB, free: 53.84 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04935/1.528, allocations: 19.53 MB / 0.8151 GB, free: 53.57 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1372/1.665, allocations: 94.16 MB / 0.9071 GB, free: 9.062 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0224/1.688, allocations: 7.717 MB / 0.9146 GB, free: 2.812 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3281/2.016, allocations: 13.29 MB / 0.9276 GB, free: 89.16 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.79e-05/2.016, allocations: 73.31 kB / 0.9276 GB, free: 89.11 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=336): time 5.971e-06/2.016, allocations: 1.281 kB / 0.9276 GB, free: 89.11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=360): time 0.05984/2.076, allocations: 20.84 MB / 0.948 GB, free: 83.45 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001886/2.076, allocations: 166.2 kB / 0.9482 GB, free: 83.29 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0197/2.096, allocations: 6.587 MB / 0.9546 GB, free: 82.76 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008758/2.097, allocations: 78.67 kB / 0.9547 GB, free: 82.73 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005437/2.103, allocations: 6.811 MB / 0.9613 GB, free: 79.38 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002108/2.105, allocations: 1.361 MB / 0.9626 GB, free: 78.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001645/2.106, allocations: 215.1 kB / 0.9628 GB, free: 78.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.00123/2.108, allocations: 0.7554 MB / 0.9636 GB, free: 78.27 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006798/2.114, allocations: 3.216 MB / 0.9667 GB, free: 78.25 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01075/2.125, allocations: 9.703 MB / 0.9762 GB, free: 69.88 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01045/2.136, allocations: 5.389 MB / 0.9815 GB, free: 69.82 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004593/2.136, allocations: 69.47 kB / 0.9815 GB, free: 69.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1390) (initialization): time 0.02983/2.166, allocations: 12.65 MB / 0.9939 GB, free: 69.07 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004856/2.167, allocations: 103 kB / 0.994 GB, free: 69.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005982/2.167, allocations: 233.7 kB / 0.9942 GB, free: 69.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004718/2.168, allocations: 340.5 kB / 0.9945 GB, free: 69.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009156/2.177, allocations: 2.611 MB / 0.9971 GB, free: 68.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000439/2.177, allocations: 459 kB / 0.9975 GB, free: 68.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009887/2.187, allocations: 0.6799 MB / 0.9982 GB, free: 68.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002274/2.19, allocations: 0.6452 MB / 0.9988 GB, free: 68.73 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1052 * Number of states: 0 () * Number of discrete variables: 69 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[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 (1366): * Single equations (assignments): 1363 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01159/2.201, allocations: 4.515 MB / 1.003 GB, free: 68.23 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002105/2.203, allocations: 0.6652 MB / 1.004 GB, free: 67.86 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008962/2.212, allocations: 4.109 MB / 1.008 GB, free: 67.08 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.094e-05/2.212, allocations: 41.62 kB / 1.008 GB, free: 67.08 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-05/2.212, allocations: 0 / 1.008 GB, free: 67.08 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.814e-05/2.212, allocations: 17.61 kB / 1.008 GB, free: 67.08 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06685/2.279, allocations: 41.7 MB / 1.049 GB, free: 45.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003242/2.28, allocations: 88 kB / 1.049 GB, free: 45.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003259/2.283, allocations: 0.8451 MB / 1.05 GB, free: 45.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001299/2.283, allocations: 127.8 kB / 1.05 GB, free: 44.92 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007364/2.284, allocations: 196.6 kB / 1.05 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001064/2.284, allocations: 176.3 kB / 1.05 GB, free: 44.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.924e-05/2.284, allocations: 135.4 kB / 1.05 GB, free: 44.45 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01361/2.298, allocations: 25.19 MB / 1.075 GB, free: 16.12 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00259/2.3, allocations: 0.8331 MB / 1.076 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001906/2.302, allocations: 204.2 kB / 1.076 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005109/2.307, allocations: 268.5 kB / 1.076 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001145/2.308, allocations: 0.5707 MB / 1.077 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007507/2.309, allocations: 245.7 kB / 1.077 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01158/2.321, allocations: 4.648 MB / 1.081 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.41e-07/2.321, allocations: 0 / 1.081 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01331/2.334, allocations: 1.868 MB / 1.083 GB, free: 8.59 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 402 * Number of states: 0 () * 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 (444): * Single equations (assignments): 441 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001547/2.336, allocations: 419.2 kB / 1.084 GB, free: 8.184 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01993/2.356, allocations: 7.551 MB / 1.091 GB, free: 1.598 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.621e-05/2.356, allocations: 12 kB / 1.091 GB, free: 1.586 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.009107/2.365, allocations: 2.281 MB / 1.093 GB, free: 0 / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01521/2.38, allocations: 1.158 MB / 1.094 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3036/2.684, allocations: 26.31 MB / 1.12 GB, free: 80.97 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01556/2.7, allocations: 7.164 MB / 1.127 GB, free: 80.02 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01116/2.711, allocations: 3.312 MB / 1.13 GB, free: 79.95 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001823/2.713, allocations: 0.4902 MB / 1.131 GB, free: 79.95 MB / 0.5261 GB Notification: Performance of SimCode: time 9.62e-07/2.713, allocations: 1.406 kB / 1.131 GB, free: 79.95 MB / 0.5261 GB Notification: Performance of Templates: time 0.1212/2.834, allocations: 57.53 MB / 1.187 GB, free: 77.19 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe 2>&1)