Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.0007815/0.0007815, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0008933/0.0008934, allocations: 172.7 kB / 15.95 MB, free: 208 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.507/1.507, allocations: 205.4 MB / 222.1 MB, free: 5.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3257/0.3257, allocations: 38.03 MB / 308.4 MB, free: 10.45 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.1. 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.000532/0.000532, allocations: 16 kB / 376.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1165, allocations: 57.52 MB / 434 MB, free: 5.543 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1): time 0.2881/0.4047, allocations: 120.9 MB / 0.5419 GB, free: 7.324 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05991/0.4646, allocations: 23.65 MB / 0.565 GB, free: 5.113 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0241/0.4888, allocations: 0.5612 MB / 0.5655 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02304/0.5118, allocations: 6.452 MB / 0.5718 GB, free: 15.1 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04893/0.5608, allocations: 18.72 MB / 0.5901 GB, free: 12.31 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009249/0.5701, allocations: 1.409 MB / 0.5915 GB, free: 10.9 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0146/0.5847, allocations: 11.32 MB / 0.6025 GB, free: 15.57 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01628/0.601, allocations: 11.46 MB / 0.6137 GB, free: 4.039 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006393/0.6074, allocations: 3.094 MB / 0.6168 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008898/0.6164, allocations: 4.775 MB / 0.6214 GB, free: 12.14 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003602/0.62, allocations: 380 kB / 0.6218 GB, free: 11.77 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004853/0.6249, allocations: 1.046 MB / 0.6228 GB, free: 10.72 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005929/0.6309, allocations: 4.212 MB / 0.6269 GB, free: 6.5 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00284/0.6337, allocations: 1.956 MB / 0.6288 GB, free: 4.531 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4773/1.111, allocations: 13.09 MB / 0.6416 GB, free: 22.8 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/1.111, allocations: 0 / 0.6416 GB, free: 22.8 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.144e-06/1.111, allocations: 0 / 0.6416 GB, free: 22.8 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0005988/1.112, allocations: 0 / 0.6416 GB, free: 22.8 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.01947/1.131, allocations: 9.371 MB / 0.6508 GB, free: 18.81 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/1.131, allocations: 8.219 kB / 0.6508 GB, free: 18.81 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01385/1.145, allocations: 3.077 MB / 0.6538 GB, free: 18.13 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01274/1.158, allocations: 5.602 MB / 0.6593 GB, free: 17.13 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007177/1.159, allocations: 0.5942 MB / 0.6598 GB, free: 17.12 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004302/1.163, allocations: 0.7625 MB / 0.6606 GB, free: 17.11 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05022/1.213, allocations: 24.46 MB / 0.6845 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004971/1.214, allocations: 77.2 kB / 0.6845 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002535/1.216, allocations: 369.9 kB / 0.6849 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005626/1.222, allocations: 4.547 MB / 0.6893 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03639/1.258, allocations: 19.15 MB / 0.708 GB, free: 9.922 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1124/1.371, allocations: 85.66 MB / 0.7917 GB, free: 2.734 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0196/1.39, allocations: 7.764 MB / 0.7993 GB, free: 12.48 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005145/1.396, allocations: 3.105 MB / 0.8023 GB, free: 10.46 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02395/1.42, allocations: 13.11 MB / 0.8151 GB, free: 15.96 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.785e-05/1.42, allocations: 79.69 kB / 0.8152 GB, free: 15.9 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=336): time 6.532e-06/1.42, allocations: 4 kB / 0.8152 GB, free: 15.89 MB / 0.5763 GB Notification: Performance of matching and sorting (n=360): time 0.05433/1.474, allocations: 20.58 MB / 0.8353 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/1.474, allocations: 166.9 kB / 0.8354 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01088/1.485, allocations: 7.363 MB / 0.8426 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0007147/1.486, allocations: 89.45 kB / 0.8427 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.2226/1.708, allocations: 6.756 MB / 0.8493 GB, free: 247.6 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001785/1.71, allocations: 1.358 MB / 0.8506 GB, free: 246.9 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007761/1.711, allocations: 221.6 kB / 0.8509 GB, free: 246.9 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0004957/1.712, allocations: 0.776 MB / 0.8516 GB, free: 246.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005722/1.717, allocations: 3.273 MB / 0.8548 GB, free: 246.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008627/1.726, allocations: 9.887 MB / 0.8645 GB, free: 237.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009325/1.735, allocations: 5.473 MB / 0.8698 GB, free: 235.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004909/1.736, allocations: 68.06 kB / 0.8699 GB, free: 235.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1457) (initialization): time 0.02794/1.764, allocations: 12.86 MB / 0.8824 GB, free: 230.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002222/1.764, allocations: 104.6 kB / 0.8825 GB, free: 230.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004325/1.765, allocations: 234.1 kB / 0.8827 GB, free: 230.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004618/1.765, allocations: 343.2 kB / 0.8831 GB, free: 230.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008832/1.774, allocations: 2.583 MB / 0.8856 GB, free: 230.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005114/1.774, allocations: 460.3 kB / 0.886 GB, free: 230.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007862/1.782, allocations: 0.5266 MB / 0.8866 GB, free: 230.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00162/1.784, allocations: 0.66 MB / 0.8872 GB, free: 230.1 MB / 0.5919 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 (1393): * Single equations (assignments): 1382 * 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.009198/1.793, allocations: 4.534 MB / 0.8916 GB, free: 228.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001079/1.794, allocations: 0.654 MB / 0.8923 GB, free: 227.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007014/1.801, allocations: 4.08 MB / 0.8962 GB, free: 226.1 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.579e-05/1.801, allocations: 44.2 kB / 0.8963 GB, free: 226.1 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-05/1.801, allocations: 2.406 kB / 0.8963 GB, free: 226.1 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.087e-05/1.801, allocations: 18.72 kB / 0.8963 GB, free: 226.1 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05646/1.858, allocations: 49.23 MB / 0.9444 GB, free: 187.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001095/1.858, allocations: 72 kB / 0.9445 GB, free: 187.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002419/1.86, allocations: 0.7485 MB / 0.9452 GB, free: 186.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.348e-05/1.861, allocations: 108 kB / 0.9453 GB, free: 186.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002335/1.861, allocations: 171.7 kB / 0.9454 GB, free: 186.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.119e-05/1.861, allocations: 143.4 kB / 0.9456 GB, free: 186.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.164e-05/1.861, allocations: 119.5 kB / 0.9457 GB, free: 186.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007015/1.868, allocations: 7.306 MB / 0.9528 GB, free: 177.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001933/1.87, allocations: 0.7928 MB / 0.9536 GB, free: 176.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001032/1.871, allocations: 177.8 kB / 0.9538 GB, free: 176.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003115/1.874, allocations: 215.9 kB / 0.954 GB, free: 176.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004322/1.874, allocations: 498 kB / 0.9545 GB, free: 176 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000267/1.875, allocations: 208 kB / 0.9547 GB, free: 175.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006826/1.882, allocations: 4.564 MB / 0.9591 GB, free: 171.2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.61e-07/1.882, allocations: 0 / 0.9591 GB, free: 171.2 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01183/1.893, allocations: 1.893 MB / 0.961 GB, free: 169.4 MB / 0.5919 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.001035/1.895, allocations: 358.7 kB / 0.9613 GB, free: 169 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01185/1.906, allocations: 7.725 MB / 0.9688 GB, free: 161.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.617e-05/1.906, allocations: 12.56 kB / 0.9689 GB, free: 161.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002981/1.909, allocations: 2.135 MB / 0.9709 GB, free: 159.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007569/1.917, allocations: 1.087 MB / 0.972 GB, free: 158.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03391/1.951, allocations: 26.03 MB / 0.9974 GB, free: 131 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007989/1.959, allocations: 6.933 MB / 1.004 GB, free: 124 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.008262/1.967, allocations: 3.305 MB / 1.007 GB, free: 120.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001471/1.969, allocations: 495.3 kB / 1.008 GB, free: 120.2 MB / 0.5919 GB Notification: Performance of SimCode: time 1.704e-06/1.969, allocations: 0 / 1.008 GB, free: 120.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.09425/2.063, allocations: 56.35 MB / 1.063 GB, free: 64.02 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe 2>&1) Environment - environmentSimulation: