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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001441/0.00144, allocations: 107.3 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001342, allocations: 187.3 kB / 16.25 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.65/1.65, allocations: 205.1 MB / 222.1 MB, free: 4.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3915/0.3915, allocations: 39.93 MB / 309.4 MB, free: 9.516 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 67.91 kB / 377.1 MB, free: 12.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1596, allocations: 56.87 MB / 434 MB, free: 3.996 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.3566/0.5163, allocations: 38.98 MB / 473 MB, free: 31.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02244/0.5388, allocations: 7.662 MB / 480.6 MB, free: 26.87 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01186/0.5507, allocations: 156 kB / 480.8 MB, free: 26.85 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004022/0.5548, allocations: 1.939 MB / 482.7 MB, free: 25.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003372/0.5582, allocations: 1.132 MB / 483.8 MB, free: 25.49 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008791/0.5591, allocations: 273.4 kB / 484.1 MB, free: 25.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004335/0.5635, allocations: 2.52 MB / 486.6 MB, free: 24.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00441/0.5679, allocations: 2.518 MB / 489.1 MB, free: 23.44 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001494/0.5694, allocations: 0.9808 MB / 490.1 MB, free: 23.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002133/0.5716, allocations: 1.421 MB / 491.5 MB, free: 22.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004003/0.572, allocations: 217.5 kB / 491.8 MB, free: 22.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0012/0.5732, allocations: 0.7134 MB / 492.5 MB, free: 22.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001023/0.5742, allocations: 1.244 MB / 493.7 MB, free: 21.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001314/0.5755, allocations: 1.484 MB / 495.2 MB, free: 20.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006003/0.5816, allocations: 4.685 MB / 499.9 MB, free: 19.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.5816, allocations: 1.125 kB / 499.9 MB, free: 19.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5816, allocations: 4 kB / 499.9 MB, free: 19.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002055/0.5818, allocations: 0 / 499.9 MB, free: 19.12 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1095 * Number of variables: 1095 Notification: Performance of Generate backend data structure: time 0.009566/0.5914, allocations: 3.152 MB / 0.4913 GB, free: 17.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.688e-05/0.5915, allocations: 14.06 kB / 0.4913 GB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006597/0.5981, allocations: 1.619 MB / 0.4928 GB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004292/0.6024, allocations: 1.409 MB / 0.4942 GB, free: 16.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000152/0.6026, allocations: 163.2 kB / 0.4944 GB, free: 16.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005939/0.6032, allocations: 209 kB / 0.4946 GB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0174/0.6206, allocations: 6.964 MB / 0.5014 GB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001554/0.6208, allocations: 21.47 kB / 0.5014 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001216/0.622, allocations: 102 kB / 0.5015 GB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003295/0.6253, allocations: 1.52 MB / 0.503 GB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01527/0.6406, allocations: 5.954 MB / 0.5088 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0434/0.6841, allocations: 22.24 MB / 0.5305 GB, free: 5.043 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005443/0.6896, allocations: 2.186 MB / 0.5327 GB, free: 2.73 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001449/0.6911, allocations: 0.8111 MB / 0.5334 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0087/0.6998, allocations: 3.971 MB / 0.5373 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.562e-05/0.6999, allocations: 43.22 kB / 0.5374 GB, free: 13.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 6.783e-06/0.6999, allocations: 4 kB / 0.5374 GB, free: 13.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.006651/0.7066, allocations: 2.252 MB / 0.5396 GB, free: 11.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.006e-05/0.7067, allocations: 56.06 kB / 0.5396 GB, free: 11.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004797/0.7115, allocations: 2.064 MB / 0.5416 GB, free: 9.312 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001186/0.7116, allocations: 37.7 kB / 0.5417 GB, free: 9.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00183/0.7135, allocations: 2.007 MB / 0.5436 GB, free: 7.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005586/0.714, allocations: 375.2 kB / 0.544 GB, free: 6.859 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001339/0.7154, allocations: 0.6746 MB / 0.5447 GB, free: 6.176 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001975/0.7156, allocations: 361.9 kB / 0.545 GB, free: 5.816 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001718/0.7173, allocations: 0.994 MB / 0.546 GB, free: 4.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003468/0.7208, allocations: 2.996 MB / 0.5489 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004949/0.7258, allocations: 4.364 MB / 0.5532 GB, free: 11.47 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.761e-05/0.7258, allocations: 23.94 kB / 0.5532 GB, free: 11.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.006385/0.7322, allocations: 3.878 MB / 0.557 GB, free: 7.566 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.415e-05/0.7323, allocations: 39.98 kB / 0.557 GB, free: 7.527 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.344e-05/0.7324, allocations: 72 kB / 0.5571 GB, free: 7.457 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.43e-05/0.7325, allocations: 92 kB / 0.5572 GB, free: 7.367 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001967/0.7344, allocations: 0.729 MB / 0.5579 GB, free: 6.637 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001029/0.7345, allocations: 139.4 kB / 0.558 GB, free: 6.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002628/0.7372, allocations: 463.4 kB / 0.5584 GB, free: 6.043 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002923/0.7375, allocations: 204 kB / 0.5586 GB, free: 5.844 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 322 * Number of states: 0 () * Number of discrete variables: 24 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (401): * Single equations (assignments): 396 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003301/0.7408, allocations: 1.455 MB / 0.5601 GB, free: 4.375 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003287/0.7411, allocations: 177.6 kB / 0.5602 GB, free: 4.199 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002102/0.7432, allocations: 1.245 MB / 0.5614 GB, free: 2.938 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.641e-05/0.7433, allocations: 12 kB / 0.5615 GB, free: 2.926 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/0.7433, allocations: 0 / 0.5615 GB, free: 2.926 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.7433, allocations: 3.984 kB / 0.5615 GB, free: 2.922 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00966/0.753, allocations: 5.033 MB / 0.5664 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.818e-05/0.7531, allocations: 8.969 kB / 0.5664 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006131/0.7537, allocations: 143.7 kB / 0.5665 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.167e-05/0.7537, allocations: 16 kB / 0.5665 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.162e-05/0.7538, allocations: 27.98 kB / 0.5666 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.201e-05/0.7538, allocations: 15.94 kB / 0.5666 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-05/0.7538, allocations: 15.94 kB / 0.5666 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002389/0.7562, allocations: 1.586 MB / 0.5681 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006552/0.7569, allocations: 262.6 kB / 0.5684 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002027/0.7571, allocations: 27.98 kB / 0.5684 GB, free: 11.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006061/0.7577, allocations: 39.88 kB / 0.5685 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/0.7579, allocations: 75.69 kB / 0.5685 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.179e-05/0.758, allocations: 51.97 kB / 0.5686 GB, free: 11.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002256/0.7603, allocations: 1.344 MB / 0.5699 GB, free: 9.891 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.7603, allocations: 0 / 0.5699 GB, free: 9.891 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003685/0.764, allocations: 0.7699 MB / 0.5706 GB, free: 9.117 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (76): * Single equations (assignments): 73 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003818/0.7643, allocations: 154.9 kB / 0.5708 GB, free: 8.957 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004423/0.7688, allocations: 2.572 MB / 0.5733 GB, free: 6.406 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/0.7688, allocations: 4 kB / 0.5733 GB, free: 6.402 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007853/0.7696, allocations: 0.5611 MB / 0.5739 GB, free: 5.844 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001721/0.7713, allocations: 264.3 kB / 0.5741 GB, free: 5.594 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01413/0.7855, allocations: 7.261 MB / 0.5812 GB, free: 14.17 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003061/0.7886, allocations: 2.454 MB / 0.5836 GB, free: 11.69 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002793/0.7914, allocations: 1.043 MB / 0.5846 GB, free: 10.64 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000389/0.7918, allocations: 139.4 kB / 0.5847 GB, free: 10.51 MB / 462.1 MB Notification: Performance of SimCode: time 2.504e-06/0.7918, allocations: 0 / 0.5847 GB, free: 10.51 MB / 462.1 MB Notification: Performance of Templates: time 0.03726/0.8291, allocations: 15.93 MB / 0.6003 GB, free: 10.62 MB / 478.1 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)