Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.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.CutForceAndTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 98.77 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.001111/0.001111, allocations: 177.3 kB / 15.94 MB, free: 228 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.756/1.756, allocations: 205.4 MB / 222.1 MB, free: 5.492 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.4339/0.4339, allocations: 38.03 MB / 308.4 MB, free: 10.46 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.0009362/0.0009366, allocations: 20.22 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1683, allocations: 57.52 MB / 433.9 MB, free: 5.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2): time 0.3644/0.5328, allocations: 114.2 MB / 0.5353 GB, free: 12.03 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.07444/0.6073, allocations: 24.84 MB / 0.5595 GB, free: 9.148 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.04146/0.6488, allocations: 0.5612 MB / 0.5601 GB, free: 8.586 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02976/0.6786, allocations: 5.8 MB / 0.5658 GB, free: 4.895 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.06522/0.7439, allocations: 16.18 MB / 0.5816 GB, free: 4.676 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01044/0.7543, allocations: 1.389 MB / 0.5829 GB, free: 3.289 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0143/0.7687, allocations: 5.336 MB / 0.5881 GB, free: 13.96 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02107/0.7898, allocations: 11.39 MB / 0.5992 GB, free: 2.508 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00708/0.7969, allocations: 2.476 MB / 0.6017 GB, free: 24 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006723/0.8037, allocations: 3.306 MB / 0.6049 GB, free: 12.7 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003008/0.8067, allocations: 376 kB / 0.6053 GB, free: 12.34 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005159/0.8119, allocations: 1.01 MB / 0.6062 GB, free: 11.33 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007555/0.8195, allocations: 3.92 MB / 0.6101 GB, free: 7.398 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005613/0.8251, allocations: 1.96 MB / 0.612 GB, free: 5.426 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02301/0.8482, allocations: 13.12 MB / 0.6248 GB, free: 8.273 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.8483, allocations: 4 kB / 0.6248 GB, free: 8.27 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.347e-06/0.8483, allocations: 0 / 0.6248 GB, free: 8.27 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0009863/0.8493, allocations: 4 kB / 0.6248 GB, free: 8.266 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.4915/1.341, allocations: 9.62 MB / 0.6342 GB, free: 143.7 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/1.341, allocations: 9.938 kB / 0.6342 GB, free: 143.7 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01484/1.356, allocations: 3.477 MB / 0.6376 GB, free: 143 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01526/1.371, allocations: 6.4 MB / 0.6439 GB, free: 141.7 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008175/1.372, allocations: 0.5918 MB / 0.6444 GB, free: 141.7 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003775/1.376, allocations: 0.7708 MB / 0.6452 GB, free: 141.5 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05283/1.428, allocations: 24.64 MB / 0.6692 GB, free: 131.2 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000367/1.429, allocations: 78.66 kB / 0.6693 GB, free: 131.1 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001801/1.431, allocations: 368.2 kB / 0.6697 GB, free: 131 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008501/1.439, allocations: 4.542 MB / 0.6741 GB, free: 130.1 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05552/1.495, allocations: 19.39 MB / 0.693 GB, free: 118.1 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.136/1.631, allocations: 86.04 MB / 0.7771 GB, free: 30.65 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02027/1.651, allocations: 7.844 MB / 0.7847 GB, free: 22.67 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02568/1.677, allocations: 13.28 MB / 0.7977 GB, free: 9.031 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.167e-05/1.677, allocations: 72.77 kB / 0.7978 GB, free: 8.949 MB / 494.1 MB Notification: Performance of pre-optimization done (n=336): time 7.244e-06/1.677, allocations: 0 / 0.7978 GB, free: 8.949 MB / 494.1 MB Notification: Performance of matching and sorting (n=360): time 0.0596/1.737, allocations: 21.1 MB / 0.8184 GB, free: 3.738 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002128/1.737, allocations: 162.9 kB / 0.8185 GB, free: 3.547 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.305/2.042, allocations: 7.857 MB / 0.8262 GB, free: 141.7 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0007805/2.043, allocations: 80.77 kB / 0.8263 GB, free: 141.7 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.004576/2.047, allocations: 6.781 MB / 0.8329 GB, free: 138.6 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001674/2.049, allocations: 1.361 MB / 0.8342 GB, free: 137.6 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005557/2.05, allocations: 220.8 kB / 0.8344 GB, free: 137.4 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0005093/2.05, allocations: 0.7685 MB / 0.8352 GB, free: 136.9 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004844/2.055, allocations: 3.238 MB / 0.8383 GB, free: 135.9 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008502/2.063, allocations: 9.796 MB / 0.8479 GB, free: 126 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009412/2.073, allocations: 5.436 MB / 0.8532 GB, free: 124.1 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002051/2.073, allocations: 65.28 kB / 0.8533 GB, free: 124.1 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1441) (initialization): time 0.03081/2.104, allocations: 12.76 MB / 0.8657 GB, free: 119.1 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002489/2.104, allocations: 106.3 kB / 0.8658 GB, free: 119.1 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000412/2.105, allocations: 232.5 kB / 0.8661 GB, free: 119.1 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004671/2.105, allocations: 344.8 kB / 0.8664 GB, free: 119.1 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01004/2.115, allocations: 2.554 MB / 0.8689 GB, free: 118.8 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004821/2.116, allocations: 459.6 kB / 0.8693 GB, free: 118.7 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008442/2.124, allocations: 0.5189 MB / 0.8698 GB, free: 118.5 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001915/2.126, allocations: 0.6585 MB / 0.8705 GB, free: 118.4 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 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[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.009023/2.135, allocations: 4.528 MB / 0.8749 GB, free: 116.4 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001522/2.137, allocations: 0.6667 MB / 0.8756 GB, free: 116 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007552/2.144, allocations: 4.089 MB / 0.8795 GB, free: 114.3 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.436e-05/2.144, allocations: 40.22 kB / 0.8796 GB, free: 114.3 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.688e-05/2.144, allocations: 2.109 kB / 0.8796 GB, free: 114.3 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.604e-05/2.144, allocations: 19.28 kB / 0.8796 GB, free: 114.3 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06161/2.206, allocations: 42.08 MB / 0.9207 GB, free: 87.18 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002352/2.206, allocations: 92 kB / 0.9208 GB, free: 87.09 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002928/2.209, allocations: 0.8644 MB / 0.9216 GB, free: 86.33 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.692e-05/2.209, allocations: 132 kB / 0.9218 GB, free: 86.2 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003405/2.21, allocations: 198.9 kB / 0.9219 GB, free: 86.02 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.09e-05/2.21, allocations: 174.7 kB / 0.9221 GB, free: 85.86 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.406e-05/2.21, allocations: 139.4 kB / 0.9222 GB, free: 85.73 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0143/2.224, allocations: 25.92 MB / 0.9476 GB, free: 56.11 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002944/2.227, allocations: 0.8627 MB / 0.9484 GB, free: 55.22 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001464/2.229, allocations: 215 kB / 0.9486 GB, free: 55.01 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003999/2.233, allocations: 215.9 kB / 0.9488 GB, free: 54.8 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006019/2.233, allocations: 0.5757 MB / 0.9494 GB, free: 54.22 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003086/2.234, allocations: 244 kB / 0.9496 GB, free: 53.98 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.00841/2.242, allocations: 4.948 MB / 0.9544 GB, free: 49.07 MB / 0.4982 GB Notification: Performance of sort global known variables: time 2.61e-07/2.242, allocations: 0 / 0.9544 GB, free: 49.07 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01244/2.255, allocations: 1.907 MB / 0.9563 GB, free: 47.18 MB / 0.4982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 413 * 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 (455): * Single equations (assignments): 452 * 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.001346/2.256, allocations: 436.2 kB / 0.9567 GB, free: 46.74 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01327/2.269, allocations: 7.65 MB / 0.9642 GB, free: 39.14 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 8.309e-05/2.269, allocations: 12.62 kB / 0.9642 GB, free: 39.13 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.003872/2.273, allocations: 2.21 MB / 0.9664 GB, free: 36.94 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008003/2.281, allocations: 1.082 MB / 0.9674 GB, free: 35.88 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03886/2.32, allocations: 26.49 MB / 0.9933 GB, free: 8.086 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01112/2.331, allocations: 7.18 MB / 1 GB, free: 0.8594 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.0105/2.342, allocations: 3.329 MB / 1.004 GB, free: 13.53 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001832/2.344, allocations: 0.5072 MB / 1.004 GB, free: 13.02 MB / 0.5138 GB Notification: Performance of SimCode: time 1.423e-06/2.344, allocations: 0 / 1.004 GB, free: 13.02 MB / 0.5138 GB Notification: Performance of Templates: time 0.4035/2.747, allocations: 58.48 MB / 1.061 GB, free: 125.8 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe 2>&1) Environment - environmentSimulation: