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.001327/0.001327, allocations: 164.5 kB / 7.636 MB, free: 1.418 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.275/1.275, allocations: 170.7 MB / 178.7 MB, free: 15.64 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.001626/0.001626, allocations: 111.5 kB / 218 MB, free: 8.406 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.2134/0.2134, allocations: 37.98 MB / 295.1 MB, free: 9.504 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.311e-05/2.313e-05, allocations: 2.469 kB / 350 MB, free: 36.99 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1115, allocations: 48.72 MB / 398.7 MB, free: 5.359 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4096/0.5211, allocations: 91.42 MB / 490.1 MB, free: 17.79 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/0.5214, allocations: 71.84 kB / 490.2 MB, free: 17.79 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7664/1.288, allocations: 162.4 MB / 0.6373 GB, free: 59.59 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.685e-06/1.288, allocations: 0 / 0.6373 GB, free: 59.59 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005157/1.288, allocations: 162 kB / 0.6375 GB, free: 59.58 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.02931/1.318, allocations: 7.972 MB / 0.6453 GB, free: 56.52 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/1.318, allocations: 11.22 kB / 0.6453 GB, free: 56.52 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0199/1.338, allocations: 3.673 MB / 0.6489 GB, free: 55.95 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02078/1.359, allocations: 9.669 MB / 0.6583 GB, free: 54.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004965/1.359, allocations: 271.9 kB / 0.6586 GB, free: 54.98 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005229/1.364, allocations: 498.4 kB / 0.659 GB, free: 54.97 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02281/1.387, allocations: 11.6 MB / 0.6704 GB, free: 54.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03966/1.427, allocations: 16.96 MB / 0.6869 GB, free: 50.81 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004449/1.427, allocations: 95.81 kB / 0.687 GB, free: 50.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003705/1.431, allocations: 47.38 kB / 0.6871 GB, free: 50.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003353/1.434, allocations: 1.871 MB / 0.6889 GB, free: 50.79 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1002/1.535, allocations: 82.13 MB / 0.7691 GB, free: 22.56 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003994/1.539, allocations: 3.056 MB / 0.7721 GB, free: 19.68 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001794/1.541, allocations: 1.489 MB / 0.7735 GB, free: 18.32 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001256/1.541, allocations: 41.25 kB / 0.7736 GB, free: 18.29 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.168e-05/1.541, allocations: 69.05 kB / 0.7736 GB, free: 18.21 MB / 458.7 MB Notification: Performance of pre-optimization done (n=244): time 4.539e-06/1.541, allocations: 0 / 0.7736 GB, free: 18.21 MB / 458.7 MB Notification: Performance of matching and sorting (n=256): time 0.02475/1.566, allocations: 11.79 MB / 0.7852 GB, free: 7.5 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.347e-05/1.566, allocations: 157.4 kB / 0.7853 GB, free: 7.316 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008712/1.574, allocations: 5.163 MB / 0.7903 GB, free: 2.801 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004665/1.575, allocations: 29.7 kB / 0.7904 GB, free: 2.766 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2699/1.845, allocations: 5.907 MB / 0.7961 GB, free: 85.04 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001447/1.846, allocations: 0.9721 MB / 0.7971 GB, free: 84.59 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007073/1.847, allocations: 1.094 kB / 0.7971 GB, free: 84.59 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005277/1.848, allocations: 0.7068 MB / 0.7978 GB, free: 84.27 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004206/1.852, allocations: 2.366 MB / 0.8001 GB, free: 84.25 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006782/1.859, allocations: 8.359 MB / 0.8083 GB, free: 76.42 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007515/1.866, allocations: 4.388 MB / 0.8125 GB, free: 76.39 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002094/1.866, allocations: 64.91 kB / 0.8126 GB, free: 76.39 MB / 458.7 MB Notification: Performance of matching and sorting (n=1234) (initialization): time 0.01796/1.884, allocations: 9.399 MB / 0.8218 GB, free: 75.95 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001265/1.884, allocations: 98.12 kB / 0.8219 GB, free: 75.95 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002346/1.885, allocations: 221.9 kB / 0.8221 GB, free: 75.95 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002545/1.885, allocations: 314.8 kB / 0.8224 GB, free: 75.95 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00726/1.892, allocations: 2.317 MB / 0.8246 GB, free: 75.74 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002621/1.892, allocations: 429.5 kB / 0.8251 GB, free: 75.65 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00827/1.901, allocations: 462.2 kB / 0.8255 GB, free: 75.64 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002051/1.903, allocations: 0.5838 MB / 0.8261 GB, free: 75.64 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 988 * 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 (1210): * Single equations (assignments): 1207 * 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.001781/1.905, allocations: 0.6334 MB / 0.8267 GB, free: 75.32 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001098/1.906, allocations: 0.5419 MB / 0.8272 GB, free: 75.02 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005205/1.911, allocations: 2.576 MB / 0.8297 GB, free: 74.87 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.774e-05/1.911, allocations: 24.94 kB / 0.8298 GB, free: 74.87 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.37e-05/1.911, allocations: 8.953 kB / 0.8298 GB, free: 74.87 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.216e-05/1.911, allocations: 10.22 kB / 0.8298 GB, free: 74.87 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0316/1.943, allocations: 21.21 MB / 0.8505 GB, free: 71.95 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.497e-05/1.943, allocations: 58.78 kB / 0.8505 GB, free: 71.95 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001858/1.945, allocations: 0.5628 MB / 0.8511 GB, free: 71.89 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.148e-05/1.945, allocations: 80.53 kB / 0.8512 GB, free: 71.89 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002017/1.945, allocations: 88.12 kB / 0.8512 GB, free: 71.89 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.335e-05/1.945, allocations: 108.1 kB / 0.8514 GB, free: 71.87 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.024e-05/1.945, allocations: 91.41 kB / 0.8514 GB, free: 71.85 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00797/1.953, allocations: 14.79 MB / 0.8659 GB, free: 57.39 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001541/1.955, allocations: 0.6574 MB / 0.8665 GB, free: 56.99 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007638/1.955, allocations: 82.77 kB / 0.8666 GB, free: 56.99 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002695/1.958, allocations: 164 kB / 0.8668 GB, free: 56.98 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003645/1.958, allocations: 377.6 kB / 0.8671 GB, free: 56.86 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002114/1.959, allocations: 158.1 kB / 0.8673 GB, free: 56.86 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005941/1.965, allocations: 3.464 MB / 0.8707 GB, free: 56.65 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.443e-06/1.965, allocations: 3.75 kB / 0.8707 GB, free: 56.65 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009929/1.975, allocations: 1.319 MB / 0.8719 GB, free: 56.64 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 256 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (300): * Single equations (assignments): 297 * 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.0007975/1.975, allocations: 244.2 kB / 0.8722 GB, free: 56.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008639/1.984, allocations: 5.556 MB / 0.8776 GB, free: 55.42 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.613e-05/1.984, allocations: 14.75 kB / 0.8776 GB, free: 55.42 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002067/1.986, allocations: 1.406 MB / 0.879 GB, free: 54.93 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005054/1.991, allocations: 0.7282 MB / 0.8797 GB, free: 54.68 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02942/2.021, allocations: 14.37 MB / 0.8937 GB, free: 47.97 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01014/2.031, allocations: 5.927 MB / 0.8995 GB, free: 46.11 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.009106/2.04, allocations: 2.953 MB / 0.9024 GB, free: 44.47 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001322/2.041, allocations: 393.6 kB / 0.9028 GB, free: 44.09 MB / 458.7 MB Notification: Performance of SimCode: time 1.293e-06/2.041, allocations: 3.938 kB / 0.9028 GB, free: 44.09 MB / 458.7 MB Notification: Performance of Templates: time 0.08186/2.123, allocations: 40.27 MB / 0.9421 GB, free: 19.5 MB / 458.7 MB 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)