Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.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.CutTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001618/0.001618, allocations: 187.3 kB / 7.654 MB, free: 1.402 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.608/1.608, allocations: 194.3 MB / 202.4 MB, free: 8.539 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.001505/0.001505, allocations: 119.3 kB / 247.4 MB, free: 6.203 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2239/0.2239, allocations: 39.94 MB / 332.2 MB, free: 4.785 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.31e-05/1.302e-05, allocations: 4.547 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0928/0.09283, allocations: 54.88 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3736/0.4665, allocations: 95.28 MB / 0.5307 GB, free: 4.887 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001708/0.4667, allocations: 74.66 kB / 0.5308 GB, free: 4.852 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1338/0.6005, allocations: 55.61 MB / 0.5851 GB, free: 5.344 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.6006, allocations: 0 / 0.5851 GB, free: 5.344 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001048/0.6007, allocations: 52 kB / 0.5852 GB, free: 5.293 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.006707/0.6074, allocations: 2.665 MB / 0.5878 GB, free: 2.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.6075, allocations: 8.031 kB / 0.5878 GB, free: 2.562 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008167/0.6156, allocations: 1.829 MB / 0.5896 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004486/0.6202, allocations: 1.739 MB / 0.5913 GB, free: 14.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001734/0.6204, allocations: 100 kB / 0.5913 GB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001559/0.6219, allocations: 172 kB / 0.5915 GB, free: 14.67 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00975/0.6317, allocations: 4.481 MB / 0.5959 GB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01467/0.6464, allocations: 6.219 MB / 0.602 GB, free: 3.578 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001174/0.6466, allocations: 15.88 kB / 0.602 GB, free: 3.562 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001003/0.6476, allocations: 19.94 kB / 0.602 GB, free: 3.543 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001047/0.6487, allocations: 0.6969 MB / 0.6027 GB, free: 2.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03273/0.6814, allocations: 23.52 MB / 0.6256 GB, free: 10.56 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00206/0.6835, allocations: 1.519 MB / 0.6271 GB, free: 8.918 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008989/0.6844, allocations: 0.5782 MB / 0.6277 GB, free: 8.34 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.011e-05/0.6845, allocations: 21.92 kB / 0.6277 GB, free: 8.32 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.6846, allocations: 43.38 kB / 0.6278 GB, free: 8.27 MB / 442.7 MB Notification: Performance of pre-optimization done (n=108): time 4.569e-06/0.6846, allocations: 0 / 0.6278 GB, free: 8.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=108): time 0.00368/0.6883, allocations: 1.495 MB / 0.6292 GB, free: 6.762 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.6883, allocations: 64.12 kB / 0.6293 GB, free: 6.688 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003445/0.6918, allocations: 1.63 MB / 0.6309 GB, free: 5.059 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.933e-05/0.6919, allocations: 33.64 kB / 0.6309 GB, free: 5.02 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001706/0.6936, allocations: 2.041 MB / 0.6329 GB, free: 2.945 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005014/0.6941, allocations: 406.7 kB / 0.6333 GB, free: 2.543 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001912/0.6943, allocations: 0 / 0.6333 GB, free: 2.543 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003888/0.6947, allocations: 0.4984 MB / 0.6338 GB, free: 2.035 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00148/0.6962, allocations: 0.9322 MB / 0.6347 GB, free: 1.102 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002976/0.6992, allocations: 3.066 MB / 0.6377 GB, free: 12.96 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002977/0.7022, allocations: 1.721 MB / 0.6394 GB, free: 11.24 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.354e-05/0.7023, allocations: 23.95 kB / 0.6394 GB, free: 11.21 MB / 458.7 MB Notification: Performance of matching and sorting (n=456) (initialization): time 0.00681/0.7091, allocations: 3.534 MB / 0.6428 GB, free: 7.672 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.028e-05/0.7092, allocations: 40 kB / 0.6429 GB, free: 7.633 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001204/0.7093, allocations: 76 kB / 0.6429 GB, free: 7.559 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001338/0.7095, allocations: 112.8 kB / 0.643 GB, free: 7.449 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002392/0.7119, allocations: 0.7915 MB / 0.6438 GB, free: 6.656 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00014/0.712, allocations: 147.4 kB / 0.644 GB, free: 6.512 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002331/0.7144, allocations: 391.2 kB / 0.6443 GB, free: 6.125 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003813/0.7148, allocations: 216 kB / 0.6445 GB, free: 5.914 MB / 458.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.0005044/0.7153, allocations: 297.2 kB / 0.6448 GB, free: 5.613 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003138/0.7156, allocations: 173.7 kB / 0.645 GB, free: 5.441 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002312/0.7179, allocations: 1.35 MB / 0.6463 GB, free: 4.078 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.316e-05/0.718, allocations: 12 kB / 0.6463 GB, free: 4.066 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.718, allocations: 4 kB / 0.6463 GB, free: 4.062 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.718, allocations: 3.984 kB / 0.6463 GB, free: 4.059 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00935/0.7274, allocations: 4.748 MB / 0.651 GB, free: 15.12 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-05/0.7274, allocations: 8 kB / 0.651 GB, free: 15.11 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006639/0.7281, allocations: 163.7 kB / 0.6511 GB, free: 14.95 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.588e-05/0.7281, allocations: 16 kB / 0.6511 GB, free: 14.93 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-05/0.7282, allocations: 16 kB / 0.6512 GB, free: 14.92 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-05/0.7282, allocations: 23.92 kB / 0.6512 GB, free: 14.89 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.511e-05/0.7283, allocations: 15.94 kB / 0.6512 GB, free: 14.88 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002591/0.7309, allocations: 2.356 MB / 0.6535 GB, free: 12.12 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004575/0.7313, allocations: 258.6 kB / 0.6537 GB, free: 11.85 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002731/0.7316, allocations: 15.95 kB / 0.6538 GB, free: 11.84 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008434/0.7325, allocations: 23.97 kB / 0.6538 GB, free: 11.81 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.7326, allocations: 84.03 kB / 0.6539 GB, free: 11.73 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.059e-05/0.7327, allocations: 44 kB / 0.6539 GB, free: 11.69 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00188/0.7346, allocations: 1.083 MB / 0.655 GB, free: 10.61 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.7346, allocations: 0 / 0.655 GB, free: 10.61 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003367/0.738, allocations: 0.7189 MB / 0.6557 GB, free: 9.891 MB / 474.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.0003795/0.7384, allocations: 138.9 kB / 0.6558 GB, free: 9.746 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003634/0.742, allocations: 2.216 MB / 0.658 GB, free: 7.543 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.7421, allocations: 0 / 0.658 GB, free: 7.543 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007777/0.7428, allocations: 0.6003 MB / 0.6585 GB, free: 6.945 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009435/0.7438, allocations: 177.1 kB / 0.6587 GB, free: 6.773 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009875/0.7537, allocations: 4.773 MB / 0.6634 GB, free: 1.836 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2421/0.9959, allocations: 2.514 MB / 0.6658 GB, free: 129.3 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003664/0.9996, allocations: 1.149 MB / 0.6669 GB, free: 129.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004337/1, allocations: 133.7 kB / 0.6671 GB, free: 129.2 MB / 474.7 MB Notification: Performance of SimCode: time 1.443e-06/1, allocations: 0 / 0.6671 GB, free: 129.2 MB / 474.7 MB Notification: Performance of Templates: time 0.03423/1.034, allocations: 12.44 MB / 0.6792 GB, free: 128.8 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1)