Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005388/0.005388, allocations: 102.3 kB / 15.73 MB, free: 5.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 192.8 kB / 16.67 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.453/1.453, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2052/0.2052, allocations: 38 MB / 307.9 MB, free: 5.992 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 66.25 kB / 433 MB, free: 14.42 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1422, allocations: 56.46 MB / 489.5 MB, free: 5.875 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.02231/0.1645, allocations: 18.01 MB / 0.4956 GB, free: 3.789 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01625/0.1808, allocations: 5.412 MB / 0.5009 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00511/0.186, allocations: 127.7 kB / 0.501 GB, free: 14.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01231/0.1984, allocations: 6.117 MB / 0.507 GB, free: 8.098 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01203/0.2105, allocations: 3.268 MB / 0.5101 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005971/0.2165, allocations: 1.579 MB / 0.5117 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.423/0.6395, allocations: 8.383 MB / 0.5199 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01548/0.6551, allocations: 7.723 MB / 0.5274 GB, free: 4 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01001/0.6651, allocations: 3.252 MB / 0.5306 GB, free: 3.742 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009846/0.675, allocations: 4.342 MB / 0.5348 GB, free: 3.301 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002684/0.6777, allocations: 0.6641 MB / 0.5355 GB, free: 3.301 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004138/0.6819, allocations: 1.484 MB / 0.5369 GB, free: 3.301 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003968/0.6859, allocations: 4.033 MB / 0.5409 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005908/0.6918, allocations: 4.488 MB / 0.5452 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01519/0.707, allocations: 13.61 MB / 0.5585 GB, free: 6.121 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.707, allocations: 0 / 0.5585 GB, free: 6.121 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.707, allocations: 0 / 0.5585 GB, free: 6.121 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005318/0.7076, allocations: 0 / 0.5585 GB, free: 6.121 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2935 * Number of variables: 2935 Notification: Performance of Generate backend data structure: time 0.02549/0.7331, allocations: 9.536 MB / 0.5679 GB, free: 12.69 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.951e-05/0.7332, allocations: 11.89 kB / 0.5679 GB, free: 12.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0121/0.7453, allocations: 2.714 MB / 0.5705 GB, free: 9.957 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01276/0.7581, allocations: 5.139 MB / 0.5755 GB, free: 5.078 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005625/0.7586, allocations: 491.5 kB / 0.576 GB, free: 4.668 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003295/0.762, allocations: 0.6089 MB / 0.5766 GB, free: 4.129 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04619/0.8082, allocations: 19.49 MB / 0.5956 GB, free: 15.8 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004118/0.8086, allocations: 79 kB / 0.5957 GB, free: 15.76 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00301/0.8116, allocations: 292.1 kB / 0.596 GB, free: 15.55 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006016/0.8177, allocations: 3.644 MB / 0.5995 GB, free: 11.95 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03637/0.8541, allocations: 15.17 MB / 0.6144 GB, free: 13.08 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1243/0.9784, allocations: 72.72 MB / 0.6854 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01839/0.9968, allocations: 6.099 MB / 0.6913 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005213/1.002, allocations: 2.55 MB / 0.6938 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02406/1.026, allocations: 11.15 MB / 0.7047 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.702e-05/1.026, allocations: 67.12 kB / 0.7048 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=250): time 6.552e-06/1.026, allocations: 0 / 0.7048 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=274): time 0.05438/1.081, allocations: 16.35 MB / 0.7207 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001633/1.081, allocations: 154.5 kB / 0.7209 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01711/1.098, allocations: 6.767 MB / 0.7275 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000647/1.099, allocations: 68.91 kB / 0.7276 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00538/1.104, allocations: 5.732 MB / 0.7332 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001643/1.106, allocations: 1.063 MB / 0.7342 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.5242/1.63, allocations: 1.884 MB / 0.736 GB, free: 192.5 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 5.391e-05/1.63, allocations: 303.9 kB / 0.7363 GB, free: 192.2 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005128/1.635, allocations: 2.769 MB / 0.739 GB, free: 192.2 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008161/1.643, allocations: 8.668 MB / 0.7475 GB, free: 183.7 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01585/1.659, allocations: 12.43 MB / 0.7596 GB, free: 172.7 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004338/1.66, allocations: 59.66 kB / 0.7597 GB, free: 172.7 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.02671/1.687, allocations: 11.12 MB / 0.7706 GB, free: 168.8 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002034/1.687, allocations: 94.47 kB / 0.7706 GB, free: 168.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003585/1.687, allocations: 210.7 kB / 0.7709 GB, free: 168.8 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003358/1.687, allocations: 277.5 kB / 0.7711 GB, free: 168.8 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007117/1.695, allocations: 2.211 MB / 0.7733 GB, free: 168.5 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002856/1.695, allocations: 414.8 kB / 0.7737 GB, free: 168.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006972/1.702, allocations: 465.2 kB / 0.7741 GB, free: 168.2 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001133/1.703, allocations: 0.5711 MB / 0.7747 GB, free: 168.2 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 951 * Number of states: 0 () * Number of discrete variables: 60 (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],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[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],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[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],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (1195): * Single equations (assignments): 1184 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006845/1.71, allocations: 3.766 MB / 0.7783 GB, free: 166.6 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001029/1.711, allocations: 0.5818 MB / 0.7789 GB, free: 166.6 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004647/1.716, allocations: 2.989 MB / 0.7818 GB, free: 165.4 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.758e-05/1.716, allocations: 32.69 kB / 0.7819 GB, free: 165.4 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-05/1.716, allocations: 2.719 kB / 0.7819 GB, free: 165.4 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.59e-05/1.716, allocations: 14.64 kB / 0.7819 GB, free: 165.4 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03355/1.749, allocations: 25.14 MB / 0.8064 GB, free: 146.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.498e-05/1.749, allocations: 67.94 kB / 0.8065 GB, free: 146.4 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001793/1.751, allocations: 0.6082 MB / 0.8071 GB, free: 145.8 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.862e-05/1.751, allocations: 84 kB / 0.8072 GB, free: 145.7 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001822/1.751, allocations: 140 kB / 0.8073 GB, free: 145.5 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-05/1.752, allocations: 120.1 kB / 0.8074 GB, free: 145.4 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.766e-05/1.752, allocations: 103.6 kB / 0.8075 GB, free: 145.3 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005151/1.757, allocations: 5.878 MB / 0.8133 GB, free: 138.6 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001738/1.758, allocations: 0.725 MB / 0.814 GB, free: 137.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006838/1.759, allocations: 147.9 kB / 0.8141 GB, free: 137.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002338/1.762, allocations: 147.9 kB / 0.8142 GB, free: 137.6 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003528/1.762, allocations: 422.2 kB / 0.8146 GB, free: 137.2 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001875/1.762, allocations: 180 kB / 0.8148 GB, free: 137 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.008534/1.771, allocations: 4.231 MB / 0.819 GB, free: 132.8 MB / 0.5763 GB Notification: Performance of sort global known variables: time 8.02e-07/1.771, allocations: 0 / 0.819 GB, free: 132.8 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01078/1.781, allocations: 1.561 MB / 0.8205 GB, free: 131.2 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 288 * 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 (326): * Single equations (assignments): 323 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009357/1.782, allocations: 334.4 kB / 0.8208 GB, free: 130.9 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01004/1.792, allocations: 6.6 MB / 0.8272 GB, free: 124.4 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 5.449e-05/1.793, allocations: 12 kB / 0.8273 GB, free: 124.4 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.002162/1.795, allocations: 1.652 MB / 0.8289 GB, free: 122.7 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006414/1.801, allocations: 0.9804 MB / 0.8298 GB, free: 121.8 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02913/1.83, allocations: 17.98 MB / 0.8474 GB, free: 102.9 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008143/1.838, allocations: 5.792 MB / 0.853 GB, free: 97.08 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.00693/1.845, allocations: 2.891 MB / 0.8559 GB, free: 94.18 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00114/1.847, allocations: 419.4 kB / 0.8563 GB, free: 93.77 MB / 0.5763 GB Notification: Performance of SimCode: time 1.724e-06/1.847, allocations: 4 kB / 0.8563 GB, free: 93.77 MB / 0.5763 GB Notification: Performance of Templates: time 0.09101/1.938, allocations: 45.95 MB / 0.9011 GB, free: 47.95 MB / 0.5763 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1)