Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2.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.CutForce2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.008828/0.008828, allocations: 175.9 kB / 15.12 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.476/1.476, allocations: 194.5 MB / 210.3 MB, free: 8.516 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.001796/0.001796, allocations: 120.6 kB / 255.6 MB, free: 11.12 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1908/0.1908, allocations: 40.01 MB / 340.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004508/0.0004507, allocations: 11.38 kB / 406.1 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1153, allocations: 54.87 MB / 461 MB, free: 3.414 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4352/0.5505, allocations: 95.92 MB / 0.5439 GB, free: 21.82 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003161/0.5509, allocations: 83.22 kB / 0.544 GB, free: 21.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1202/0.6711, allocations: 55.1 MB / 0.5978 GB, free: 5.867 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.6712, allocations: 0 / 0.5978 GB, free: 5.867 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.34e-05/0.6713, allocations: 50 kB / 0.5978 GB, free: 5.867 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1058 * Number of variables: 1058 Notification: Performance of Generate backend data structure: time 0.005397/0.6767, allocations: 2.704 MB / 0.6005 GB, free: 4.164 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.6767, allocations: 7.75 kB / 0.6005 GB, free: 4.164 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006818/0.6836, allocations: 1.821 MB / 0.6023 GB, free: 3.309 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004902/0.6885, allocations: 1.716 MB / 0.6039 GB, free: 2.617 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001368/0.6886, allocations: 221.3 kB / 0.6041 GB, free: 2.605 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006271/0.6893, allocations: 286.1 kB / 0.6044 GB, free: 2.605 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01056/0.6999, allocations: 6.63 MB / 0.6109 GB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.403e-05/0.7, allocations: 19.81 kB / 0.6109 GB, free: 13.71 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003518/0.7003, allocations: 131.6 kB / 0.611 GB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008452/0.7012, allocations: 0.6756 MB / 0.6117 GB, free: 13.1 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01104/0.7122, allocations: 5.804 MB / 0.6174 GB, free: 8.98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0368/0.7491, allocations: 23.03 MB / 0.6398 GB, free: 1.422 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005091/0.7542, allocations: 2.252 MB / 0.642 GB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008542/0.7628, allocations: 3.76 MB / 0.6457 GB, free: 11.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.039e-05/0.7629, allocations: 39.12 kB / 0.6458 GB, free: 11.15 MB / 426.7 MB Notification: Performance of pre-optimization done (n=93): time 3.667e-06/0.7629, allocations: 0 / 0.6458 GB, free: 11.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=93): time 0.00603/0.7689, allocations: 2.449 MB / 0.6481 GB, free: 8.648 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.387e-05/0.769, allocations: 59.97 kB / 0.6482 GB, free: 8.578 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005056/0.7741, allocations: 1.771 MB / 0.6499 GB, free: 6.809 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001449/0.7743, allocations: 41.7 kB / 0.65 GB, free: 6.762 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001899/0.7762, allocations: 1.937 MB / 0.6519 GB, free: 4.816 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000679/0.7769, allocations: 366.4 kB / 0.6522 GB, free: 4.461 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003237/0.7772, allocations: 60 kB / 0.6523 GB, free: 4.402 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005709/0.7778, allocations: 0.4936 MB / 0.6528 GB, free: 3.898 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001784/0.7796, allocations: 0.9118 MB / 0.6536 GB, free: 2.984 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003145/0.7828, allocations: 2.835 MB / 0.6564 GB, free: 15.19 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002625/0.7854, allocations: 1.618 MB / 0.658 GB, free: 13.57 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.379e-05/0.7855, allocations: 20 kB / 0.658 GB, free: 13.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=409) (initialization): time 0.006601/0.7921, allocations: 3.666 MB / 0.6616 GB, free: 9.883 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.191e-05/0.7922, allocations: 32 kB / 0.6616 GB, free: 9.852 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001169/0.7923, allocations: 72.84 kB / 0.6617 GB, free: 9.781 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001078/0.7924, allocations: 100 kB / 0.6618 GB, free: 9.684 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002187/0.7946, allocations: 0.7134 MB / 0.6625 GB, free: 8.969 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001563/0.7948, allocations: 131.5 kB / 0.6626 GB, free: 8.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002565/0.7974, allocations: 431.5 kB / 0.663 GB, free: 8.414 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003993/0.7978, allocations: 192 kB / 0.6632 GB, free: 8.227 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 310 * Number of states: 0 () * Number of discrete variables: 21 (WorldForce1.color[3],WorldForce1.color[2],WorldForce1.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],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (385): * Single equations (assignments): 382 * 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.003081/0.8009, allocations: 1.42 MB / 0.6646 GB, free: 6.793 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003279/0.8012, allocations: 173.7 kB / 0.6648 GB, free: 6.621 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002129/0.8033, allocations: 1.184 MB / 0.6659 GB, free: 5.422 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-05/0.8034, allocations: 8 kB / 0.6659 GB, free: 5.414 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.8034, allocations: 7.953 kB / 0.6659 GB, free: 5.406 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.8034, allocations: 7.984 kB / 0.6659 GB, free: 5.398 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01124/0.8146, allocations: 4.981 MB / 0.6708 GB, free: 256 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.019e-05/0.8147, allocations: 8 kB / 0.6708 GB, free: 248 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005658/0.8153, allocations: 135.7 kB / 0.6709 GB, free: 112 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.429e-05/0.8153, allocations: 12 kB / 0.6709 GB, free: 100 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.78e-05/0.8154, allocations: 24 kB / 0.671 GB, free: 76 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-05/0.8154, allocations: 19.92 kB / 0.671 GB, free: 56 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.136e-05/0.8155, allocations: 16.38 kB / 0.671 GB, free: 40 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00242/0.8179, allocations: 2.191 MB / 0.6731 GB, free: 13.38 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006477/0.8186, allocations: 270.5 kB / 0.6734 GB, free: 13.09 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003503/0.8189, allocations: 27.98 kB / 0.6734 GB, free: 13.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007466/0.8197, allocations: 35.97 kB / 0.6735 GB, free: 13.03 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.8198, allocations: 71.72 kB / 0.6735 GB, free: 12.96 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.298e-05/0.8199, allocations: 36 kB / 0.6736 GB, free: 12.93 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002823/0.8227, allocations: 1.296 MB / 0.6748 GB, free: 11.61 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.8227, allocations: 0 / 0.6748 GB, free: 11.61 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005119/0.8279, allocations: 0.7542 MB / 0.6756 GB, free: 10.85 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * 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 (70): * Single equations (assignments): 67 * 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.0008119/0.8287, allocations: 151.2 kB / 0.6757 GB, free: 10.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005075/0.8338, allocations: 2.158 MB / 0.6778 GB, free: 8.551 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.229e-05/0.8339, allocations: 8.375 kB / 0.6778 GB, free: 8.543 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008869/0.8347, allocations: 0.5288 MB / 0.6783 GB, free: 8.016 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001908/0.8367, allocations: 254.6 kB / 0.6786 GB, free: 7.77 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02029/0.857, allocations: 6.686 MB / 0.6851 GB, free: 0.9375 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004839/0.8619, allocations: 2.457 MB / 0.6875 GB, free: 14.45 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003162/0.8651, allocations: 1.008 MB / 0.6885 GB, free: 13.44 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004756/0.8656, allocations: 127.4 kB / 0.6886 GB, free: 13.32 MB / 474.7 MB Notification: Performance of SimCode: time 9.92e-07/0.8656, allocations: 4 kB / 0.6886 GB, free: 13.31 MB / 474.7 MB Notification: Performance of Templates: time 0.03586/0.9015, allocations: 14.67 MB / 0.703 GB, free: 14.69 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1)