Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009514/0.0009513, allocations: 156.1 kB / 7.633 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.302/1.302, allocations: 170.7 MB / 178.7 MB, free: 7.035 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001567/0.001566, allocations: 98.53 kB / 218 MB, free: 15.34 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2098/0.2098, allocations: 37.98 MB / 295.1 MB, free: 2.082 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.146e-05/2.148e-05, allocations: 4 kB / 350 MB, free: 32.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3552, allocations: 48.68 MB / 398.7 MB, free: 6.062 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1348/0.49, allocations: 88.69 MB / 487.4 MB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/0.4904, allocations: 71.97 kB / 487.5 MB, free: 10.33 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1388/0.6292, allocations: 55.6 MB / 0.5303 GB, free: 2.301 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.6293, allocations: 0 / 0.5303 GB, free: 2.301 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001052/0.6294, allocations: 55.98 kB / 0.5304 GB, free: 2.246 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1092 * Number of variables: 1092 Notification: Performance of Generate backend data structure: time 0.007205/0.6366, allocations: 2.658 MB / 0.533 GB, free: 15.53 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.6366, allocations: 12.03 kB / 0.533 GB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008127/0.6448, allocations: 1.833 MB / 0.5348 GB, free: 13.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005228/0.65, allocations: 1.75 MB / 0.5365 GB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000148/0.6502, allocations: 100 kB / 0.5366 GB, free: 11.78 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007706/0.651, allocations: 168 kB / 0.5368 GB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00755/0.6586, allocations: 4.481 MB / 0.5411 GB, free: 7.129 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01049/0.6691, allocations: 6.215 MB / 0.5472 GB, free: 0.5312 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-05/0.6692, allocations: 15.81 kB / 0.5472 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003091/0.6695, allocations: 12 kB / 0.5472 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2292/0.8987, allocations: 0.7004 MB / 0.5479 GB, free: 105 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03066/0.9294, allocations: 23.51 MB / 0.5709 GB, free: 93.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001753/0.9312, allocations: 1.529 MB / 0.5724 GB, free: 93.13 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006986/0.932, allocations: 0.5836 MB / 0.5729 GB, free: 93.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.876e-05/0.932, allocations: 16.77 kB / 0.573 GB, free: 93.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.9321, allocations: 42.88 kB / 0.573 GB, free: 93.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=108): time 3.156e-06/0.9321, allocations: 0 / 0.573 GB, free: 93.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=108): time 0.003285/0.9354, allocations: 1.497 MB / 0.5745 GB, free: 92.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.9354, allocations: 60.44 kB / 0.5745 GB, free: 92.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002569/0.938, allocations: 1.629 MB / 0.5761 GB, free: 92.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001046/0.9381, allocations: 26.83 kB / 0.5761 GB, free: 92.63 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001225/0.9393, allocations: 2.041 MB / 0.5781 GB, free: 91.49 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003889/0.9397, allocations: 409.6 kB / 0.5785 GB, free: 91.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.948e-05/0.9398, allocations: 0 / 0.5785 GB, free: 91.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002569/0.9401, allocations: 0.5038 MB / 0.579 GB, free: 90.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001368/0.9415, allocations: 0.9314 MB / 0.5799 GB, free: 90.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002234/0.9437, allocations: 3.061 MB / 0.5829 GB, free: 87.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002158/0.9459, allocations: 1.724 MB / 0.5846 GB, free: 86.83 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.649e-05/0.9459, allocations: 23.03 kB / 0.5846 GB, free: 86.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=456) (initialization): time 0.004741/0.9507, allocations: 3.542 MB / 0.5881 GB, free: 85.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.49e-05/0.9508, allocations: 39.47 kB / 0.5881 GB, free: 85.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.086e-05/0.9509, allocations: 79.75 kB / 0.5882 GB, free: 85.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001025/0.951, allocations: 112.5 kB / 0.5883 GB, free: 85.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001987/0.953, allocations: 0.7822 MB / 0.5891 GB, free: 85.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.815e-05/0.953, allocations: 154.8 kB / 0.5892 GB, free: 85.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002053/0.9551, allocations: 393.2 kB / 0.5896 GB, free: 85.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002221/0.9553, allocations: 218.3 kB / 0.5898 GB, free: 85.26 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 350 * Number of states: 0 () * Number of discrete variables: 21 (worldTorque.color[3],worldTorque.color[2],worldTorque.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (432): * Single equations (assignments): 429 * 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.0003195/0.9557, allocations: 299.2 kB / 0.5901 GB, free: 85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001887/0.9559, allocations: 174 kB / 0.5902 GB, free: 84.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001792/0.9577, allocations: 1.349 MB / 0.5916 GB, free: 84.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.018e-05/0.9577, allocations: 16.05 kB / 0.5916 GB, free: 84.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.9577, allocations: 0 / 0.5916 GB, free: 84.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.9577, allocations: 11.02 kB / 0.5916 GB, free: 84.42 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006262/0.964, allocations: 4.734 MB / 0.5962 GB, free: 82.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/0.964, allocations: 10.44 kB / 0.5962 GB, free: 82.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005766/0.9646, allocations: 158.7 kB / 0.5964 GB, free: 82.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.64e-05/0.9646, allocations: 14.53 kB / 0.5964 GB, free: 82.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.936e-05/0.9647, allocations: 18.67 kB / 0.5964 GB, free: 82.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.437e-05/0.9647, allocations: 21.59 kB / 0.5964 GB, free: 82.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-05/0.9647, allocations: 14.75 kB / 0.5964 GB, free: 82.47 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001726/0.9665, allocations: 2.358 MB / 0.5987 GB, free: 80.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003318/0.9668, allocations: 254.9 kB / 0.599 GB, free: 80.33 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000171/0.967, allocations: 19.09 kB / 0.599 GB, free: 80.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005478/0.9676, allocations: 19 kB / 0.599 GB, free: 80.33 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.459e-05/0.9677, allocations: 84.33 kB / 0.5991 GB, free: 80.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.829e-05/0.9677, allocations: 47.44 kB / 0.5991 GB, free: 80.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001186/0.9689, allocations: 1.079 MB / 0.6002 GB, free: 79.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9689, allocations: 0 / 0.6002 GB, free: 79.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00264/0.9716, allocations: 0.7164 MB / 0.6009 GB, free: 79.69 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * 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.0002486/0.9718, allocations: 144.5 kB / 0.601 GB, free: 79.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002596/0.9744, allocations: 2.214 MB / 0.6032 GB, free: 78.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.9745, allocations: 2.625 kB / 0.6032 GB, free: 78.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000561/0.975, allocations: 0.6009 MB / 0.6038 GB, free: 78.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007992/0.9758, allocations: 181.6 kB / 0.604 GB, free: 78.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006873/0.9827, allocations: 4.779 MB / 0.6086 GB, free: 76.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001985/0.9847, allocations: 2.517 MB / 0.6111 GB, free: 75.51 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002509/0.9873, allocations: 1.152 MB / 0.6122 GB, free: 75.42 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002826/0.9876, allocations: 136 kB / 0.6123 GB, free: 75.4 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.9876, allocations: 0 / 0.6123 GB, free: 75.4 MB / 410.7 MB Notification: Performance of Templates: time 0.02224/1.01, allocations: 12.42 MB / 0.6245 GB, free: 69.91 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1)