Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque.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.CutTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001858/0.001858, allocations: 182.6 kB / 7.655 MB, free: 1.426 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.547/1.547, allocations: 194.3 MB / 202.4 MB, free: 13.03 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.001582/0.001582, allocations: 120.3 kB / 247.4 MB, free: 24 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2267/0.2267, allocations: 39.95 MB / 332.2 MB, free: 0.6445 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.882e-05/1.884e-05, allocations: 4 kB / 393.3 MB, free: 3.453 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2813, allocations: 54.87 MB / 448.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3659/0.6473, allocations: 98.14 MB / 0.5335 GB, free: 33.09 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/0.6476, allocations: 76.83 kB / 0.5336 GB, free: 33.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4181/1.066, allocations: 162.4 MB / 0.6922 GB, free: 15.67 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.134e-06/1.066, allocations: 0 / 0.6922 GB, free: 15.67 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005642/1.066, allocations: 160 kB / 0.6924 GB, free: 15.52 MB / 474.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.03017/1.097, allocations: 7.968 MB / 0.7002 GB, free: 7.469 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/1.097, allocations: 8.031 kB / 0.7002 GB, free: 7.461 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02285/1.119, allocations: 3.67 MB / 0.7037 GB, free: 3.773 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5625/1.682, allocations: 9.663 MB / 0.7132 GB, free: 69.36 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006531/1.683, allocations: 281.5 kB / 0.7135 GB, free: 69.36 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004376/1.687, allocations: 499.9 kB / 0.7139 GB, free: 69.36 MB / 474.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02034/1.707, allocations: 11.6 MB / 0.7253 GB, free: 69.32 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03541/1.743, allocations: 16.95 MB / 0.7418 GB, free: 65.2 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003953/1.743, allocations: 99.3 kB / 0.7419 GB, free: 65.2 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002895/1.746, allocations: 49.19 kB / 0.7419 GB, free: 65.2 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002642/1.749, allocations: 1.864 MB / 0.7438 GB, free: 65.18 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0903/1.839, allocations: 82.12 MB / 0.824 GB, free: 29.23 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003876/1.843, allocations: 3.067 MB / 0.827 GB, free: 27.71 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001532/1.845, allocations: 1.483 MB / 0.8284 GB, free: 27.14 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001362/1.845, allocations: 49.02 kB / 0.8285 GB, free: 27.13 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/1.845, allocations: 59.22 kB / 0.8285 GB, free: 27.07 MB / 490.8 MB Notification: Performance of pre-optimization done (n=244): time 4.348e-06/1.845, allocations: 0 / 0.8285 GB, free: 27.07 MB / 490.8 MB Notification: Performance of matching and sorting (n=256): time 0.02266/1.868, allocations: 11.8 MB / 0.84 GB, free: 21.15 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.257e-05/1.868, allocations: 153.1 kB / 0.8402 GB, free: 20.99 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006996/1.875, allocations: 5.16 MB / 0.8452 GB, free: 19.04 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004081/1.875, allocations: 27.11 kB / 0.8452 GB, free: 19 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002986/1.878, allocations: 5.911 MB / 0.851 GB, free: 14.42 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008787/1.879, allocations: 0.9767 MB / 0.852 GB, free: 13.71 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002715/1.879, allocations: 2.875 kB / 0.852 GB, free: 13.71 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0004802/1.88, allocations: 0.7061 MB / 0.8527 GB, free: 13.16 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002953/1.883, allocations: 2.367 MB / 0.855 GB, free: 11.04 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005378/1.888, allocations: 8.365 MB / 0.8631 GB, free: 340 kB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008098/1.896, allocations: 4.597 MB / 0.8676 GB, free: 13.25 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.404e-05/1.896, allocations: 64 kB / 0.8677 GB, free: 13.19 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1234) (initialization): time 0.01469/1.911, allocations: 9.399 MB / 0.8769 GB, free: 4.875 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001309/1.911, allocations: 96 kB / 0.877 GB, free: 4.781 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002001/1.911, allocations: 216.8 kB / 0.8772 GB, free: 4.57 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002914/1.912, allocations: 316 kB / 0.8775 GB, free: 4.262 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006625/1.918, allocations: 2.322 MB / 0.8797 GB, free: 2.234 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002779/1.919, allocations: 425.3 kB / 0.8801 GB, free: 1.863 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006262/1.925, allocations: 462.4 kB / 0.8806 GB, free: 1.504 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007594/1.926, allocations: 0.578 MB / 0.8812 GB, free: 0.9297 MB / 0.4949 GB 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.0009923/1.927, allocations: 0.6436 MB / 0.8818 GB, free: 292 kB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007519/1.927, allocations: 0.5439 MB / 0.8823 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004192/1.932, allocations: 2.575 MB / 0.8848 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.227e-05/1.932, allocations: 24 kB / 0.8848 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/1.932, allocations: 4 kB / 0.8849 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-05/1.932, allocations: 10.55 kB / 0.8849 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3157/2.247, allocations: 21.26 MB / 0.9056 GB, free: 99.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001015/2.248, allocations: 56.5 kB / 0.9057 GB, free: 99.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001986/2.25, allocations: 0.5618 MB / 0.9062 GB, free: 99.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001094/2.25, allocations: 84.41 kB / 0.9063 GB, free: 99.59 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002083/2.25, allocations: 83.08 kB / 0.9064 GB, free: 99.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.871e-05/2.25, allocations: 107 kB / 0.9065 GB, free: 99.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.651e-05/2.25, allocations: 98.12 kB / 0.9066 GB, free: 99.59 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008654/2.259, allocations: 14.79 MB / 0.921 GB, free: 85.57 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001468/2.26, allocations: 0.6523 MB / 0.9217 GB, free: 85.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006059/2.261, allocations: 85.22 kB / 0.9218 GB, free: 85.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002406/2.263, allocations: 155.4 kB / 0.9219 GB, free: 85.48 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003769/2.264, allocations: 384.6 kB / 0.9223 GB, free: 85.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001984/2.264, allocations: 162.2 kB / 0.9224 GB, free: 85.43 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005335/2.269, allocations: 3.46 MB / 0.9258 GB, free: 85.21 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.21e-07/2.269, allocations: 0 / 0.9258 GB, free: 85.21 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009154/2.278, allocations: 1.324 MB / 0.9271 GB, free: 85.21 MB / 0.5105 GB 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.0006392/2.279, allocations: 234.4 kB / 0.9273 GB, free: 85.12 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008795/2.288, allocations: 5.57 MB / 0.9328 GB, free: 85.09 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-05/2.288, allocations: 7.188 kB / 0.9328 GB, free: 85.09 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001838/2.29, allocations: 1.403 MB / 0.9341 GB, free: 85.09 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005799/2.296, allocations: 0.7425 MB / 0.9349 GB, free: 85.06 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03215/2.328, allocations: 14.36 MB / 0.9489 GB, free: 80.38 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01223/2.34, allocations: 5.93 MB / 0.9547 GB, free: 79.48 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01022/2.35, allocations: 2.956 MB / 0.9576 GB, free: 79.43 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001838/2.352, allocations: 389.2 kB / 0.9579 GB, free: 79.42 MB / 0.5105 GB Notification: Performance of SimCode: time 1.422e-06/2.352, allocations: 0 / 0.9579 GB, free: 79.42 MB / 0.5105 GB Notification: Performance of Templates: time 0.09137/2.444, allocations: 40.27 MB / 0.9973 GB, free: 77.24 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1)