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.001026/0.001026, allocations: 97.72 kB / 15.36 MB, free: 0.7305 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.002066/0.002066, allocations: 174.6 kB / 16.27 MB, free: 6.66 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.7/1.7, allocations: 205.4 MB / 222.4 MB, free: 5.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.3671/0.3671, allocations: 40 MB / 310.7 MB, free: 9.906 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.0006224/0.0006225, allocations: 19.98 kB / 379.5 MB, free: 12.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1458, allocations: 57.95 MB / 437.4 MB, free: 2.199 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1): time 0.3988/0.5447, allocations: 130.2 MB / 0.5543 GB, free: 12.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.08248/0.6272, allocations: 24.61 MB / 0.5783 GB, free: 7.25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.04065/0.6679, allocations: 0.5573 MB / 0.5788 GB, free: 6.691 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004524/0.6725, allocations: 0.8627 MB / 0.5797 GB, free: 5.824 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01308/0.6856, allocations: 3.472 MB / 0.5831 GB, free: 2.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00416/0.6898, allocations: 1.373 MB / 0.5844 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02138/0.7112, allocations: 14.22 MB / 0.5983 GB, free: 2.734 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02393/0.7352, allocations: 12.95 MB / 0.6109 GB, free: 5.688 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008554/0.7438, allocations: 2.871 MB / 0.6138 GB, free: 2.805 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009458/0.7533, allocations: 4.808 MB / 0.6184 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002616/0.756, allocations: 376 kB / 0.6188 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005236/0.7612, allocations: 1.236 MB / 0.62 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006354/0.7676, allocations: 4.316 MB / 0.6242 GB, free: 8.047 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00807/0.7757, allocations: 4.818 MB / 0.6289 GB, free: 3.191 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.6748/1.451, allocations: 15.67 MB / 0.6442 GB, free: 24.37 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/1.451, allocations: 0 / 0.6442 GB, free: 24.37 MB / 494.1 MB Notification: Performance of FrontEnd: time 5.239e-06/1.451, allocations: 0.5 kB / 0.6442 GB, free: 24.37 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001116/1.452, allocations: 0.9688 kB / 0.6442 GB, free: 24.37 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.03378/1.486, allocations: 9.243 MB / 0.6533 GB, free: 20.38 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.377e-05/1.486, allocations: 10.25 kB / 0.6533 GB, free: 20.38 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01756/1.503, allocations: 3.081 MB / 0.6563 GB, free: 19.7 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01946/1.523, allocations: 5.694 MB / 0.6618 GB, free: 18.6 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00105/1.524, allocations: 0.5954 MB / 0.6624 GB, free: 18.58 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005411/1.529, allocations: 0.7665 MB / 0.6632 GB, free: 18.57 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06592/1.595, allocations: 24.52 MB / 0.6871 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004764/1.596, allocations: 74.19 kB / 0.6872 GB, free: 11.69 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004067/1.6, allocations: 366.9 kB / 0.6875 GB, free: 11.69 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007774/1.608, allocations: 4.546 MB / 0.692 GB, free: 10.79 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04607/1.654, allocations: 19.25 MB / 0.7108 GB, free: 15.57 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.139/1.793, allocations: 85.72 MB / 0.7945 GB, free: 9.137 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02263/1.815, allocations: 7.783 MB / 0.8021 GB, free: 1.227 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005899/1.821, allocations: 3.127 MB / 0.8051 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03214/1.854, allocations: 13.11 MB / 0.818 GB, free: 0.6484 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.145e-05/1.854, allocations: 68.78 kB / 0.818 GB, free: 0.5703 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=336): time 6.653e-06/1.854, allocations: 0 / 0.818 GB, free: 0.5703 MB / 0.5919 GB Notification: Performance of matching and sorting (n=360): time 0.06947/1.923, allocations: 20.63 MB / 0.8382 GB, free: 11.93 MB / 0.6232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001987/1.923, allocations: 166.9 kB / 0.8383 GB, free: 11.74 MB / 0.6232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02203/1.945, allocations: 7.414 MB / 0.8456 GB, free: 4.363 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.001036/1.947, allocations: 77.7 kB / 0.8456 GB, free: 4.281 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.3204/2.267, allocations: 6.761 MB / 0.8522 GB, free: 276.5 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.001978/2.269, allocations: 1.357 MB / 0.8536 GB, free: 275.7 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001896/2.271, allocations: 0.9536 MB / 0.8545 GB, free: 275.7 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 4.838e-05/2.271, allocations: 302.9 kB / 0.8548 GB, free: 275.4 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006461/2.277, allocations: 3.314 MB / 0.858 GB, free: 275.4 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009616/2.287, allocations: 9.929 MB / 0.8677 GB, free: 265.6 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01769/2.305, allocations: 14.41 MB / 0.8818 GB, free: 253.1 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003511/2.305, allocations: 66.66 kB / 0.8819 GB, free: 253.1 MB / 0.6232 GB Notification: Performance of matching and sorting (n=1457) (initialization): time 0.03148/2.337, allocations: 12.93 MB / 0.8945 GB, free: 248.1 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002693/2.337, allocations: 104.6 kB / 0.8946 GB, free: 248.1 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004969/2.338, allocations: 233.2 kB / 0.8948 GB, free: 248.1 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005331/2.338, allocations: 310.7 kB / 0.8951 GB, free: 248.1 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009985/2.348, allocations: 2.58 MB / 0.8976 GB, free: 247.8 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007558/2.349, allocations: 461.4 kB / 0.8981 GB, free: 247.7 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00936/2.358, allocations: 0.5234 MB / 0.8986 GB, free: 247.5 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002728/2.361, allocations: 0.6665 MB / 0.8992 GB, free: 247.4 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.01434/2.375, allocations: 4.529 MB / 0.9036 GB, free: 245.4 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001942/2.377, allocations: 0.6553 MB / 0.9043 GB, free: 245 MB / 0.6232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00959/2.387, allocations: 4.101 MB / 0.9083 GB, free: 243.4 MB / 0.6232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.963e-05/2.387, allocations: 35.31 kB / 0.9083 GB, free: 243.4 MB / 0.6232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.159e-05/2.387, allocations: 11.53 kB / 0.9083 GB, free: 243.4 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.164e-05/2.387, allocations: 14.72 kB / 0.9083 GB, free: 243.4 MB / 0.6232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06835/2.455, allocations: 49.25 MB / 0.9564 GB, free: 204.4 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001416/2.456, allocations: 72 kB / 0.9565 GB, free: 204.3 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002729/2.458, allocations: 0.7446 MB / 0.9572 GB, free: 203.6 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.731e-05/2.458, allocations: 99.94 kB / 0.9573 GB, free: 203.5 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002793/2.459, allocations: 168 kB / 0.9575 GB, free: 203.3 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.449e-05/2.459, allocations: 141.5 kB / 0.9576 GB, free: 203.2 MB / 0.6232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.897e-05/2.459, allocations: 115.9 kB / 0.9577 GB, free: 203.1 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008036/2.467, allocations: 7.339 MB / 0.9649 GB, free: 194.5 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002781/2.47, allocations: 0.8006 MB / 0.9657 GB, free: 193.7 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001149/2.471, allocations: 177 kB / 0.9659 GB, free: 193.5 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003391/2.474, allocations: 215.9 kB / 0.9661 GB, free: 193.3 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005942/2.475, allocations: 497.6 kB / 0.9665 GB, free: 192.8 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003189/2.475, allocations: 212.3 kB / 0.9667 GB, free: 192.6 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.009424/2.485, allocations: 4.611 MB / 0.9712 GB, free: 188 MB / 0.6232 GB Notification: Performance of sort global known variables: time 6.11e-07/2.485, allocations: 3.938 kB / 0.9713 GB, free: 188 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.01281/2.497, allocations: 1.886 MB / 0.9731 GB, free: 186.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.001206/2.499, allocations: 375 kB / 0.9735 GB, free: 185.8 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.01629/2.515, allocations: 7.773 MB / 0.981 GB, free: 178.1 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 7.089e-05/2.515, allocations: 12 kB / 0.9811 GB, free: 178 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.0039/2.519, allocations: 2.141 MB / 0.9831 GB, free: 175.9 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07983/2.599, allocations: 1.11 MB / 0.9842 GB, free: 174.8 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0513/2.65, allocations: 27.11 MB / 1.011 GB, free: 146.7 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01515/2.666, allocations: 6.931 MB / 1.017 GB, free: 139.7 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.01073/2.676, allocations: 3.299 MB / 1.021 GB, free: 136.4 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001786/2.678, allocations: 499.3 kB / 1.021 GB, free: 135.9 MB / 0.6232 GB Notification: Performance of SimCode: time 1.663e-06/2.678, allocations: 0 / 1.021 GB, free: 135.9 MB / 0.6232 GB Notification: Performance of Templates: time 0.1228/2.801, allocations: 57.62 MB / 1.077 GB, free: 78.4 MB / 0.6232 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: