Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.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.CutForceAndTorque1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001532/0.001532, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.738/1.738, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.4098/0.4098, allocations: 39.99 MB / 310.4 MB, free: 9.984 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.0006025/0.0006026, allocations: 16 kB / 378.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1403, allocations: 57.94 MB / 436.8 MB, free: 2.605 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1): time 0.3429/0.4833, allocations: 114.2 MB / 0.538 GB, free: 9.418 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.06062/0.544, allocations: 24.86 MB / 0.5623 GB, free: 5.324 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03173/0.5758, allocations: 0.5573 MB / 0.5629 GB, free: 4.766 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02317/0.599, allocations: 5.81 MB / 0.5685 GB, free: 0.707 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05893/0.658, allocations: 16.18 MB / 0.5843 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008999/0.667, allocations: 1.388 MB / 0.5857 GB, free: 15.11 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0123/0.6793, allocations: 5.334 MB / 0.5909 GB, free: 9.777 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0166/0.696, allocations: 11.38 MB / 0.602 GB, free: 14.33 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005315/0.7013, allocations: 2.484 MB / 0.6044 GB, free: 11.84 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006042/0.7074, allocations: 3.306 MB / 0.6077 GB, free: 8.52 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001976/0.7094, allocations: 380 kB / 0.608 GB, free: 8.148 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003265/0.7127, allocations: 1.007 MB / 0.609 GB, free: 7.141 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00528/0.718, allocations: 3.912 MB / 0.6128 GB, free: 3.219 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003219/0.7212, allocations: 1.968 MB / 0.6148 GB, free: 1.238 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01604/0.7373, allocations: 13.12 MB / 0.6276 GB, free: 4.09 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.7373, allocations: 0 / 0.6276 GB, free: 4.09 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.7374, allocations: 0 / 0.6276 GB, free: 4.09 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0006256/0.738, allocations: 0 / 0.6276 GB, free: 4.09 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3665 * Number of variables: 3665 Notification: Performance of Generate backend data structure: time 0.4777/1.216, allocations: 9.627 MB / 0.637 GB, free: 143.7 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/1.216, allocations: 12.16 kB / 0.637 GB, free: 143.7 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01576/1.232, allocations: 3.48 MB / 0.6404 GB, free: 143 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01758/1.249, allocations: 6.403 MB / 0.6466 GB, free: 141.3 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007064/1.25, allocations: 0.593 MB / 0.6472 GB, free: 141.1 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003433/1.253, allocations: 0.7668 MB / 0.648 GB, free: 140.9 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06217/1.316, allocations: 24.63 MB / 0.672 GB, free: 130.6 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008873/1.317, allocations: 82.38 kB / 0.6721 GB, free: 130.6 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004494/1.321, allocations: 366.6 kB / 0.6724 GB, free: 130.4 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009774/1.331, allocations: 4.545 MB / 0.6769 GB, free: 129.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04661/1.378, allocations: 19.39 MB / 0.6958 GB, free: 113.3 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1283/1.506, allocations: 86.03 MB / 0.7798 GB, free: 25.82 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0199/1.526, allocations: 7.788 MB / 0.7874 GB, free: 17.89 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02512/1.551, allocations: 13.29 MB / 0.8004 GB, free: 4.25 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.131e-05/1.551, allocations: 72.78 kB / 0.8005 GB, free: 4.168 MB / 494.1 MB Notification: Performance of pre-optimization done (n=336): time 7.434e-06/1.551, allocations: 0 / 0.8005 GB, free: 4.168 MB / 494.1 MB Notification: Performance of matching and sorting (n=360): time 0.3362/1.887, allocations: 21.1 MB / 0.8211 GB, free: 141.9 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.134e-05/1.888, allocations: 165.4 kB / 0.8213 GB, free: 141.7 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01229/1.9, allocations: 7.851 MB / 0.8289 GB, free: 141.1 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0007501/1.901, allocations: 85.38 kB / 0.829 GB, free: 141 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.004156/1.905, allocations: 6.781 MB / 0.8356 GB, free: 136.8 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001809/1.907, allocations: 1.359 MB / 0.837 GB, free: 135.8 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006547/1.907, allocations: 215.7 kB / 0.8372 GB, free: 135.6 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0004955/1.908, allocations: 0.7721 MB / 0.8379 GB, free: 135.1 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005178/1.913, allocations: 3.233 MB / 0.8411 GB, free: 134.1 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009088/1.922, allocations: 9.801 MB / 0.8506 GB, free: 124.2 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01004/1.932, allocations: 5.436 MB / 0.856 GB, free: 122.3 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006076/1.933, allocations: 67.28 kB / 0.856 GB, free: 122.3 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1441) (initialization): time 0.03302/1.966, allocations: 12.76 MB / 0.8685 GB, free: 117.3 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007389/1.967, allocations: 105.6 kB / 0.8686 GB, free: 117.3 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00103/1.968, allocations: 235.2 kB / 0.8688 GB, free: 117.3 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001196/1.969, allocations: 347.1 kB / 0.8691 GB, free: 117.3 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01055/1.979, allocations: 2.559 MB / 0.8716 GB, free: 117 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00107/1.981, allocations: 460.6 kB / 0.8721 GB, free: 116.9 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009639/1.99, allocations: 0.5202 MB / 0.8726 GB, free: 116.7 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002923/1.993, allocations: 0.6588 MB / 0.8732 GB, free: 116.6 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1063 * Number of states: 0 () * Number of discrete variables: 72 (body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1377): * Single equations (assignments): 1366 * Array equations: 11 * 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.01293/2.006, allocations: 4.529 MB / 0.8776 GB, free: 114.5 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001891/2.008, allocations: 0.659 MB / 0.8783 GB, free: 114.2 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01132/2.019, allocations: 4.092 MB / 0.8823 GB, free: 112.5 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-05/2.019, allocations: 34.97 kB / 0.8823 GB, free: 112.5 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.093e-05/2.02, allocations: 5.609 kB / 0.8823 GB, free: 112.5 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.554e-05/2.02, allocations: 16.12 kB / 0.8823 GB, free: 112.5 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07376/2.093, allocations: 49.28 MB / 0.9305 GB, free: 74.11 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001157/2.094, allocations: 72 kB / 0.9305 GB, free: 74.04 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002821/2.096, allocations: 0.7485 MB / 0.9313 GB, free: 73.29 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.555e-05/2.096, allocations: 104 kB / 0.9314 GB, free: 73.19 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003115/2.097, allocations: 168 kB / 0.9315 GB, free: 73.03 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.898e-05/2.097, allocations: 143.4 kB / 0.9317 GB, free: 72.89 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.522e-05/2.097, allocations: 115.8 kB / 0.9318 GB, free: 72.77 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0121/2.109, allocations: 21.78 MB / 0.953 GB, free: 47.91 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002573/2.112, allocations: 0.8239 MB / 0.9538 GB, free: 47.06 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001142/2.113, allocations: 171.9 kB / 0.954 GB, free: 46.89 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003297/2.116, allocations: 215.3 kB / 0.9542 GB, free: 46.68 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005099/2.117, allocations: 494 kB / 0.9547 GB, free: 46.2 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000278/2.117, allocations: 215.9 kB / 0.9549 GB, free: 45.99 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.007899/2.125, allocations: 4.94 MB / 0.9597 GB, free: 41.09 MB / 0.4982 GB Notification: Performance of sort global known variables: time 4.51e-07/2.125, allocations: 4 kB / 0.9597 GB, free: 41.08 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01261/2.137, allocations: 1.898 MB / 0.9616 GB, free: 39.19 MB / 0.4982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 334 * 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 (380): * Single equations (assignments): 377 * 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.001409/2.139, allocations: 386.7 kB / 0.9619 GB, free: 38.81 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01286/2.152, allocations: 7.665 MB / 0.9694 GB, free: 31.18 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 6.3e-05/2.152, allocations: 16.06 kB / 0.9694 GB, free: 31.17 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.003322/2.155, allocations: 2.132 MB / 0.9715 GB, free: 29.05 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006616/2.162, allocations: 1.029 MB / 0.9725 GB, free: 28.05 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04919/2.211, allocations: 25.93 MB / 0.9979 GB, free: 1.047 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01571/2.227, allocations: 7.134 MB / 1.005 GB, free: 9.867 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.01232/2.239, allocations: 3.328 MB / 1.008 GB, free: 6.531 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.282/2.521, allocations: 496 kB / 1.009 GB, free: 133.4 MB / 0.5138 GB Notification: Performance of SimCode: time 1.563e-06/2.521, allocations: 0 / 1.009 GB, free: 133.4 MB / 0.5138 GB Notification: Performance of Templates: time 0.1346/2.656, allocations: 57.1 MB / 1.064 GB, free: 119.9 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe 2>&1) Environment - environmentSimulation: