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/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.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/Complex 3.2.1+maint.om/package.mo): time 0.001503/0.001503, allocations: 168 kB / 12.72 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.278/1.278, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.00162/0.00162, allocations: 99.5 kB / 223.2 MB, free: 4.051 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.1783/0.1783, allocations: 37.99 MB / 300.4 MB, free: 5.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.821e-05/2.825e-05, allocations: 6.656 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09735/0.09739, allocations: 48.7 MB / 405.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3659/0.4633, allocations: 92.08 MB / 497.8 MB, free: 18.11 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002121/0.4636, allocations: 74.55 kB / 497.8 MB, free: 18.1 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.651/1.115, allocations: 166.3 MB / 0.6485 GB, free: 63.07 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.535e-06/1.115, allocations: 3.938 kB / 0.6485 GB, free: 63.07 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004352/1.115, allocations: 165.8 kB / 0.6487 GB, free: 63.07 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2932 * Number of variables: 2932 Notification: Performance of Generate backend data structure: time 0.02975/1.145, allocations: 7.966 MB / 0.6565 GB, free: 59.99 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/1.145, allocations: 10.97 kB / 0.6565 GB, free: 59.99 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01986/1.165, allocations: 3.674 MB / 0.6601 GB, free: 59.42 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02667/1.191, allocations: 9.682 MB / 0.6695 GB, free: 58.44 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008391/1.192, allocations: 0.6281 MB / 0.6701 GB, free: 58.42 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004576/1.197, allocations: 0.8285 MB / 0.671 GB, free: 58.41 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04596/1.243, allocations: 19.37 MB / 0.6899 GB, free: 54.12 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005461/1.244, allocations: 92.09 kB / 0.69 GB, free: 54.12 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003826/1.247, allocations: 406.1 kB / 0.6903 GB, free: 54.12 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00328/1.251, allocations: 1.864 MB / 0.6922 GB, free: 54.09 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03217/1.283, allocations: 15.04 MB / 0.7069 GB, free: 50.34 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4148/1.698, allocations: 81.52 MB / 0.7865 GB, free: 43.75 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01844/1.716, allocations: 5.923 MB / 0.7923 GB, free: 43.07 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00519/1.721, allocations: 2.473 MB / 0.7947 GB, free: 43.03 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02291/1.744, allocations: 11.34 MB / 0.8057 GB, free: 40.09 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.106e-05/1.745, allocations: 61.36 kB / 0.8058 GB, free: 40.05 MB / 458.7 MB Notification: Performance of pre-optimization done (n=250): time 6.372e-06/1.745, allocations: 0 / 0.8058 GB, free: 40.05 MB / 458.7 MB Notification: Performance of matching and sorting (n=274): time 0.04284/1.787, allocations: 14.99 MB / 0.8204 GB, free: 35.38 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.236e-05/1.787, allocations: 154.3 kB / 0.8206 GB, free: 35.22 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01096/1.798, allocations: 5.846 MB / 0.8263 GB, free: 34.7 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004747/1.799, allocations: 64.62 kB / 0.8264 GB, free: 34.66 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003814/1.803, allocations: 5.804 MB / 0.832 GB, free: 31.75 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001286/1.804, allocations: 1.053 MB / 0.8331 GB, free: 31.16 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009202/1.805, allocations: 185.3 kB / 0.8332 GB, free: 31.16 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0008293/1.806, allocations: 0.6915 MB / 0.8339 GB, free: 30.83 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004105/1.81, allocations: 2.48 MB / 0.8363 GB, free: 30.81 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006446/1.816, allocations: 8.243 MB / 0.8444 GB, free: 23.34 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006445/1.823, allocations: 4.473 MB / 0.8487 GB, free: 23.29 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002938/1.823, allocations: 59.94 kB / 0.8488 GB, free: 23.29 MB / 458.7 MB Notification: Performance of matching and sorting (n=1192) (initialization): time 0.01889/1.842, allocations: 10.43 MB / 0.859 GB, free: 22.68 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004367/1.843, allocations: 94.09 kB / 0.8591 GB, free: 22.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004045/1.843, allocations: 203.4 kB / 0.8593 GB, free: 22.68 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00045/1.844, allocations: 302.8 kB / 0.8596 GB, free: 22.68 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00767/1.851, allocations: 2.245 MB / 0.8618 GB, free: 22.49 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003453/1.852, allocations: 406.9 kB / 0.8621 GB, free: 22.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008428/1.86, allocations: 0.6129 MB / 0.8627 GB, free: 22.39 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002286/1.862, allocations: 0.5514 MB / 0.8633 GB, free: 22.39 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 940 * Number of states: 0 () * Number of discrete variables: 57 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1168): * Single equations (assignments): 1165 * 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.003175/1.866, allocations: 0.8335 MB / 0.8641 GB, free: 21.95 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001547/1.867, allocations: 0.5932 MB / 0.8647 GB, free: 21.61 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006432/1.874, allocations: 2.923 MB / 0.8675 GB, free: 20.77 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.973e-05/1.874, allocations: 30.05 kB / 0.8676 GB, free: 20.77 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-05/1.874, allocations: 3.188 kB / 0.8676 GB, free: 20.77 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-05/1.874, allocations: 10.64 kB / 0.8676 GB, free: 20.77 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04581/1.92, allocations: 24.77 MB / 0.8918 GB, free: 5.324 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002456/1.92, allocations: 63.69 kB / 0.8918 GB, free: 5.266 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002371/1.922, allocations: 0.6031 MB / 0.8924 GB, free: 4.738 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001265/1.922, allocations: 88 kB / 0.8925 GB, free: 4.652 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005509/1.923, allocations: 134.9 kB / 0.8926 GB, free: 4.523 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001003/1.923, allocations: 124.2 kB / 0.8927 GB, free: 4.418 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.351e-05/1.923, allocations: 91.62 kB / 0.8928 GB, free: 4.328 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01465/1.938, allocations: 16.86 MB / 0.9093 GB, free: 1.547 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002693/1.941, allocations: 0.7168 MB / 0.91 GB, free: 0.8398 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001908/1.942, allocations: 141.5 kB / 0.9101 GB, free: 0.7148 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004481/1.947, allocations: 213.9 kB / 0.9103 GB, free: 0.543 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007637/1.948, allocations: 411.5 kB / 0.9107 GB, free: 220 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005865/1.948, allocations: 167.2 kB / 0.9109 GB, free: 56 kB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01025/1.959, allocations: 4.131 MB / 0.9149 GB, free: 12.59 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.01e-07/1.959, allocations: 0 / 0.9149 GB, free: 12.59 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01068/1.969, allocations: 1.547 MB / 0.9164 GB, free: 11.05 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 280 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (318): * Single equations (assignments): 315 * 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.001137/1.97, allocations: 312.4 kB / 0.9167 GB, free: 10.75 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01214/1.983, allocations: 6.013 MB / 0.9226 GB, free: 5.242 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-05/1.983, allocations: 8 kB / 0.9226 GB, free: 5.234 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002989/1.986, allocations: 1.584 MB / 0.9242 GB, free: 3.809 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006432/1.992, allocations: 0.9152 MB / 0.9251 GB, free: 3.035 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03376/2.026, allocations: 14.82 MB / 0.9395 GB, free: 4.754 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01143/2.037, allocations: 5.953 MB / 0.9453 GB, free: 420 kB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01843/2.056, allocations: 3.597 MB / 0.9489 GB, free: 0 / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002063/2.058, allocations: 436.8 kB / 0.9493 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of SimCode: time 1.012e-06/2.058, allocations: 6.75 kB / 0.9493 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of Templates: time 0.3685/2.427, allocations: 47.77 MB / 0.9959 GB, free: 140.3 MB / 0.5261 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)