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.0007657/0.0007657, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004882/0.004882, allocations: 170.9 kB / 16.27 MB, free: 6.652 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.493/1.493, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.3236/0.3236, allocations: 38.03 MB / 308.8 MB, free: 10.35 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.0005864/0.0005864, allocations: 20 kB / 377 MB, free: 14.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1111, allocations: 57.52 MB / 434.6 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1): time 0.3161/0.4273, allocations: 130.2 MB / 0.5515 GB, free: 15.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.06748/0.4948, allocations: 24.6 MB / 0.5755 GB, free: 11.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0329/0.5278, allocations: 0.5574 MB / 0.5761 GB, free: 10.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004639/0.5325, allocations: 0.8759 MB / 0.5769 GB, free: 10.15 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01241/0.5449, allocations: 3.46 MB / 0.5803 GB, free: 6.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003863/0.5488, allocations: 1.384 MB / 0.5816 GB, free: 5.297 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01704/0.5659, allocations: 14.2 MB / 0.5955 GB, free: 7.074 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01883/0.5848, allocations: 12.95 MB / 0.6082 GB, free: 10.03 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005968/0.5908, allocations: 2.887 MB / 0.611 GB, free: 7.129 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008086/0.5989, allocations: 4.792 MB / 0.6157 GB, free: 2.32 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002698/0.6016, allocations: 380 kB / 0.616 GB, free: 1.949 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004724/0.6064, allocations: 1.24 MB / 0.6172 GB, free: 0.707 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005986/0.6124, allocations: 4.308 MB / 0.6215 GB, free: 12.39 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009225/0.6216, allocations: 4.826 MB / 0.6262 GB, free: 7.523 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5132/1.135, allocations: 15.67 MB / 0.6415 GB, free: 24.91 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/1.135, allocations: 0 / 0.6415 GB, free: 24.91 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.995e-06/1.135, allocations: 1.094 kB / 0.6415 GB, free: 24.91 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.00072/1.136, allocations: 0 / 0.6415 GB, free: 24.91 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.01964/1.155, allocations: 9.251 MB / 0.6505 GB, free: 20.91 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/1.155, allocations: 9.375 kB / 0.6505 GB, free: 20.91 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01361/1.169, allocations: 3.075 MB / 0.6535 GB, free: 20.23 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01187/1.181, allocations: 5.696 MB / 0.6591 GB, free: 19.13 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008622/1.182, allocations: 0.5946 MB / 0.6597 GB, free: 19.12 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004528/1.186, allocations: 0.7666 MB / 0.6604 GB, free: 19.11 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05069/1.237, allocations: 24.51 MB / 0.6843 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003565/1.237, allocations: 82.92 kB / 0.6844 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002634/1.24, allocations: 369 kB / 0.6848 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006547/1.247, allocations: 4.546 MB / 0.6892 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03913/1.286, allocations: 19.26 MB / 0.708 GB, free: 3.258 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1261/1.412, allocations: 85.71 MB / 0.7917 GB, free: 12.84 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02141/1.433, allocations: 7.79 MB / 0.7993 GB, free: 4.918 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005284/1.439, allocations: 3.114 MB / 0.8024 GB, free: 1.793 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02739/1.466, allocations: 13.11 MB / 0.8152 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.058e-05/1.466, allocations: 68.78 kB / 0.8152 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=336): time 9.538e-06/1.466, allocations: 4 kB / 0.8152 GB, free: 4.277 MB / 0.5919 GB Notification: Performance of matching and sorting (n=360): time 0.05148/1.518, allocations: 20.63 MB / 0.8354 GB, free: 15.63 MB / 0.6232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.492e-05/1.518, allocations: 165.9 kB / 0.8355 GB, free: 15.44 MB / 0.6232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01201/1.53, allocations: 7.419 MB / 0.8428 GB, free: 8.059 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.0007686/1.531, allocations: 80.83 kB / 0.8429 GB, free: 7.977 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.006008/1.537, allocations: 6.752 MB / 0.8495 GB, free: 1.246 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.267/1.804, allocations: 1.365 MB / 0.8508 GB, free: 277.5 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003788/1.808, allocations: 0.9493 MB / 0.8517 GB, free: 277.4 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 6.015e-05/1.808, allocations: 301.1 kB / 0.852 GB, free: 277.1 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007979/1.816, allocations: 3.317 MB / 0.8552 GB, free: 277.1 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009532/1.825, allocations: 9.925 MB / 0.8649 GB, free: 267.9 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01732/1.843, allocations: 14.41 MB / 0.879 GB, free: 255.4 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000439/1.843, allocations: 66.66 kB / 0.8791 GB, free: 255.4 MB / 0.6232 GB Notification: Performance of matching and sorting (n=1457) (initialization): time 0.03189/1.875, allocations: 12.93 MB / 0.8917 GB, free: 250.8 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002514/1.875, allocations: 104.3 kB / 0.8918 GB, free: 250.8 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005817/1.876, allocations: 237.1 kB / 0.892 GB, free: 250.8 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005826/1.877, allocations: 310.8 kB / 0.8923 GB, free: 250.8 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01019/1.887, allocations: 2.576 MB / 0.8948 GB, free: 250.5 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006372/1.887, allocations: 459.1 kB / 0.8953 GB, free: 250.4 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009536/1.897, allocations: 0.524 MB / 0.8958 GB, free: 250.2 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002463/1.899, allocations: 0.6647 MB / 0.8964 GB, free: 250.1 MB / 0.6232 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009232/1.909, allocations: 4.53 MB / 0.9009 GB, free: 248.2 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001188/1.91, allocations: 0.66 MB / 0.9015 GB, free: 248.2 MB / 0.6232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006343/1.916, allocations: 4.098 MB / 0.9055 GB, free: 246.6 MB / 0.6232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.552e-05/1.916, allocations: 41.8 kB / 0.9055 GB, free: 246.6 MB / 0.6232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.379e-05/1.916, allocations: 7.688 kB / 0.9056 GB, free: 246.6 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.496e-05/1.916, allocations: 13.78 kB / 0.9056 GB, free: 246.6 MB / 0.6232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05679/1.973, allocations: 49.26 MB / 0.9537 GB, free: 210.1 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.041e-05/1.973, allocations: 72 kB / 0.9537 GB, free: 210 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002378/1.976, allocations: 0.7454 MB / 0.9545 GB, free: 209.3 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.125e-05/1.976, allocations: 104.1 kB / 0.9546 GB, free: 209.2 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002525/1.976, allocations: 164 kB / 0.9547 GB, free: 209 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.194e-05/1.976, allocations: 147.4 kB / 0.9549 GB, free: 208.9 MB / 0.6232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-05/1.976, allocations: 115.5 kB / 0.955 GB, free: 208.8 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007589/1.984, allocations: 7.337 MB / 0.9621 GB, free: 200.6 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001831/1.986, allocations: 0.797 MB / 0.9629 GB, free: 199.8 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009777/1.986, allocations: 177.9 kB / 0.9631 GB, free: 199.6 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003138/1.99, allocations: 211.9 kB / 0.9633 GB, free: 199.4 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004644/1.99, allocations: 0.4899 MB / 0.9638 GB, free: 198.9 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002579/1.99, allocations: 208 kB / 0.964 GB, free: 198.7 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.007511/1.998, allocations: 4.615 MB / 0.9685 GB, free: 194.1 MB / 0.6232 GB Notification: Performance of sort global known variables: time 4.71e-07/1.998, allocations: 0 / 0.9685 GB, free: 194.1 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.01261/2.011, allocations: 1.89 MB / 0.9703 GB, free: 192.2 MB / 0.6232 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 (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.001024/2.012, allocations: 370.8 kB / 0.9707 GB, free: 191.9 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.01229/2.024, allocations: 7.772 MB / 0.9783 GB, free: 184.1 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 5.002e-05/2.024, allocations: 8 kB / 0.9783 GB, free: 184.1 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.003261/2.027, allocations: 2.148 MB / 0.9804 GB, free: 182 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07574/2.103, allocations: 1.105 MB / 0.9814 GB, free: 180.9 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04186/2.145, allocations: 27.12 MB / 1.008 GB, free: 152.7 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01183/2.157, allocations: 6.929 MB / 1.015 GB, free: 145.8 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.00969/2.167, allocations: 3.303 MB / 1.018 GB, free: 142.5 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001658/2.168, allocations: 499.3 kB / 1.018 GB, free: 142 MB / 0.6232 GB Notification: Performance of SimCode: time 1.252e-06/2.168, allocations: 0 / 1.018 GB, free: 142 MB / 0.6232 GB Notification: Performance of Templates: time 0.1024/2.271, allocations: 57.62 MB / 1.075 GB, free: 84.47 MB / 0.6232 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: