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.006235/0.006234, allocations: 102.2 kB / 15.73 MB, free: 6.035 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.001255/0.001256, allocations: 198.9 kB / 16.67 MB, free: 5.969 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.722/1.722, allocations: 205.1 MB / 222.6 MB, free: 4.516 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.3536/0.3536, allocations: 38 MB / 307.9 MB, free: 10.07 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.001476/0.001476, allocations: 71.84 kB / 433 MB, free: 5.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3446, allocations: 56.47 MB / 489.5 MB, free: 19.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2): time 0.02212/0.3668, allocations: 21.22 MB / 0.4987 GB, free: 4.793 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01944/0.3863, allocations: 6.075 MB / 0.5046 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007928/0.3943, allocations: 144.8 kB / 0.5048 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01711/0.4115, allocations: 7.667 MB / 0.5123 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01577/0.4273, allocations: 3.763 MB / 0.5159 GB, free: 9.172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006565/0.4339, allocations: 1.727 MB / 0.5176 GB, free: 8.016 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02304/0.457, allocations: 9.603 MB / 0.527 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01778/0.4748, allocations: 9.514 MB / 0.5363 GB, free: 7.629 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009465/0.4843, allocations: 3.895 MB / 0.5401 GB, free: 3.723 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01062/0.495, allocations: 5.308 MB / 0.5453 GB, free: 14.4 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004672/0.4997, allocations: 0.8711 MB / 0.5461 GB, free: 13.53 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007431/0.5071, allocations: 1.666 MB / 0.5478 GB, free: 11.86 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01059/0.5178, allocations: 4.953 MB / 0.5526 GB, free: 6.895 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01519/0.533, allocations: 5.504 MB / 0.558 GB, free: 1.359 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02908/0.5621, allocations: 17.01 MB / 0.5746 GB, free: 296 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.5622, allocations: 0 / 0.5746 GB, free: 296 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5622, allocations: 0 / 0.5746 GB, free: 296 kB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0009535/0.5631, allocations: 0 / 0.5746 GB, free: 296 kB / 446.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.039/0.6022, allocations: 11.37 MB / 0.5857 GB, free: 4.82 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.629e-05/0.6023, allocations: 15.89 kB / 0.5857 GB, free: 4.805 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01531/0.6176, allocations: 3.013 MB / 0.5887 GB, free: 1.773 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01659/0.6342, allocations: 5.827 MB / 0.5943 GB, free: 11.87 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00108/0.6353, allocations: 0.5928 MB / 0.5949 GB, free: 11.27 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00443/0.6398, allocations: 0.769 MB / 0.5957 GB, free: 10.5 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.059/0.6988, allocations: 24.46 MB / 0.6196 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006024/0.6995, allocations: 91.27 kB / 0.6196 GB, free: 0.668 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004049/0.7035, allocations: 367.6 kB / 0.62 GB, free: 316 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008552/0.7121, allocations: 4.527 MB / 0.6244 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5632/1.275, allocations: 19.21 MB / 0.6432 GB, free: 110.2 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1233/1.399, allocations: 85.3 MB / 0.7265 GB, free: 48.27 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02177/1.42, allocations: 7.797 MB / 0.7341 GB, free: 41.3 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005464/1.426, allocations: 3.122 MB / 0.7371 GB, free: 38.16 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02154/1.448, allocations: 13.11 MB / 0.7499 GB, free: 24.63 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.699e-05/1.448, allocations: 68.78 kB / 0.75 GB, free: 24.55 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=336): time 6.943e-06/1.448, allocations: 0 / 0.75 GB, free: 24.55 MB / 0.4982 GB Notification: Performance of matching and sorting (n=360): time 0.05602/1.504, allocations: 20.52 MB / 0.77 GB, free: 3.969 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.115e-05/1.504, allocations: 166.9 kB / 0.7702 GB, free: 3.773 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0132/1.517, allocations: 7.411 MB / 0.7774 GB, free: 12.39 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0008771/1.518, allocations: 81.7 kB / 0.7775 GB, free: 12.31 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.00632/1.524, allocations: 6.768 MB / 0.7841 GB, free: 5.453 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002462/1.527, allocations: 1.361 MB / 0.7855 GB, free: 4.074 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003943/1.531, allocations: 2.194 MB / 0.7876 GB, free: 1.871 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001283/1.531, allocations: 305.1 kB / 0.7879 GB, free: 1.57 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006194/1.537, allocations: 3.313 MB / 0.7911 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01247/1.55, allocations: 9.923 MB / 0.8008 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02248/1.572, allocations: 14.4 MB / 0.8149 GB, free: 15.36 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004255/1.573, allocations: 68 kB / 0.8149 GB, free: 15.29 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1457) (initialization): time 0.03538/1.608, allocations: 12.94 MB / 0.8276 GB, free: 2.301 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003992/1.609, allocations: 107.4 kB / 0.8277 GB, free: 2.199 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006225/1.609, allocations: 232 kB / 0.8279 GB, free: 1.973 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006818/1.61, allocations: 308 kB / 0.8282 GB, free: 1.672 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0101/1.62, allocations: 2.581 MB / 0.8307 GB, free: 15.09 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006268/1.621, allocations: 458.2 kB / 0.8312 GB, free: 14.64 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009961/1.631, allocations: 0.5192 MB / 0.8317 GB, free: 14.12 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002817/1.634, allocations: 0.6562 MB / 0.8323 GB, free: 13.46 MB / 0.5763 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 (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.01334/1.647, allocations: 4.533 MB / 0.8367 GB, free: 8.91 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002358/1.649, allocations: 0.6671 MB / 0.8374 GB, free: 8.234 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01165/1.661, allocations: 4.093 MB / 0.8414 GB, free: 4.094 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.877e-05/1.661, allocations: 40 kB / 0.8414 GB, free: 4.055 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.684e-05/1.661, allocations: 0 / 0.8414 GB, free: 4.055 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-05/1.661, allocations: 15.94 kB / 0.8414 GB, free: 4.039 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4231/2.084, allocations: 42.05 MB / 0.8825 GB, free: 180.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00024/2.085, allocations: 91.41 kB / 0.8826 GB, free: 180.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003171/2.088, allocations: 0.8644 MB / 0.8834 GB, free: 180.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001526/2.088, allocations: 117.2 kB / 0.8835 GB, free: 180.8 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003648/2.088, allocations: 202.1 kB / 0.8837 GB, free: 180.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001581/2.088, allocations: 183.8 kB / 0.8839 GB, free: 180.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001175/2.089, allocations: 146.1 kB / 0.884 GB, free: 180.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01072/2.099, allocations: 8.038 MB / 0.8919 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002658/2.102, allocations: 0.8291 MB / 0.8927 GB, free: 174.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001203/2.103, allocations: 211.6 kB / 0.8929 GB, free: 174.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003294/2.107, allocations: 207.6 kB / 0.8931 GB, free: 174.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007859/2.107, allocations: 0.5915 MB / 0.8937 GB, free: 173.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003025/2.108, allocations: 244 kB / 0.8939 GB, free: 173.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007884/2.116, allocations: 4.611 MB / 0.8984 GB, free: 172.4 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.5e-07/2.116, allocations: 0 / 0.8984 GB, free: 172.4 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01144/2.127, allocations: 1.894 MB / 0.9003 GB, free: 172.2 MB / 0.5919 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 (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.00109/2.128, allocations: 419.9 kB / 0.9007 GB, free: 171.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01144/2.14, allocations: 7.992 MB / 0.9085 GB, free: 169.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.839e-05/2.14, allocations: 11.78 kB / 0.9085 GB, free: 169.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003423/2.143, allocations: 2.218 MB / 0.9107 GB, free: 168.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009719/2.153, allocations: 1.179 MB / 0.9118 GB, free: 168 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03641/2.189, allocations: 22.34 MB / 0.9336 GB, free: 147 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009876/2.199, allocations: 6.967 MB / 0.9404 GB, free: 141.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007397/2.207, allocations: 3.312 MB / 0.9437 GB, free: 139.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001437/2.208, allocations: 0.5052 MB / 0.9441 GB, free: 139.1 MB / 0.5919 GB Notification: Performance of SimCode: time 1.232e-06/2.208, allocations: 0 / 0.9441 GB, free: 139.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.1071/2.315, allocations: 55.76 MB / 0.9986 GB, free: 83.59 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.makefile (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)