Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque.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.CutTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 91.61 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.001458/0.001458, 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.752/1.752, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.4177/0.4177, allocations: 40 MB / 310.4 MB, free: 9.633 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.0005535/0.0005536, allocations: 19.98 kB / 378.8 MB, free: 12.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1427, allocations: 57.97 MB / 436.8 MB, free: 2.273 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.3578/0.5006, allocations: 92.54 MB / 0.5169 GB, free: 8.656 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.06021/0.5609, allocations: 18.4 MB / 0.5349 GB, free: 12.13 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02944/0.5904, allocations: 451 kB / 0.5353 GB, free: 12.06 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02317/0.6136, allocations: 4.916 MB / 0.5401 GB, free: 10.31 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0601/0.6737, allocations: 14.45 MB / 0.5542 GB, free: 15.48 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008359/0.6821, allocations: 1.249 MB / 0.5555 GB, free: 14.23 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01629/0.6985, allocations: 9.711 MB / 0.5649 GB, free: 4.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01615/0.7147, allocations: 9.298 MB / 0.574 GB, free: 11.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007941/0.7227, allocations: 2.663 MB / 0.5766 GB, free: 8.488 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00848/0.7312, allocations: 3.98 MB / 0.5805 GB, free: 4.496 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002204/0.7334, allocations: 296 kB / 0.5808 GB, free: 4.207 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004299/0.7377, allocations: 0.983 MB / 0.5818 GB, free: 3.223 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005994/0.7438, allocations: 3.483 MB / 0.5852 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004277/0.7481, allocations: 1.602 MB / 0.5867 GB, free: 14.12 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01722/0.7653, allocations: 10.42 MB / 0.5969 GB, free: 3.672 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.7653, allocations: 0 / 0.5969 GB, free: 3.672 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.7654, allocations: 0 / 0.5969 GB, free: 3.672 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0007379/0.7661, allocations: 7.938 kB / 0.5969 GB, free: 3.664 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2935 * Number of variables: 2935 Notification: Performance of Generate backend data structure: time 0.02247/0.7886, allocations: 7.917 MB / 0.6046 GB, free: 11.66 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/0.7887, allocations: 12.03 kB / 0.6046 GB, free: 11.64 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01367/0.8023, allocations: 2.773 MB / 0.6074 GB, free: 8.855 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01384/0.8162, allocations: 4.938 MB / 0.6122 GB, free: 3.84 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009532/0.8173, allocations: 484 kB / 0.6126 GB, free: 3.363 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004106/0.8214, allocations: 0.609 MB / 0.6132 GB, free: 2.754 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5264/1.348, allocations: 19.48 MB / 0.6323 GB, free: 136 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003666/1.348, allocations: 75.88 kB / 0.6323 GB, free: 136 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001654/1.35, allocations: 296.7 kB / 0.6326 GB, free: 136 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00524/1.355, allocations: 3.651 MB / 0.6362 GB, free: 135.9 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03498/1.39, allocations: 15.13 MB / 0.651 GB, free: 132.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1094/1.5, allocations: 72.96 MB / 0.7222 GB, free: 80.98 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01545/1.515, allocations: 6.102 MB / 0.7282 GB, free: 76.84 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003991/1.519, allocations: 2.538 MB / 0.7306 GB, free: 74.29 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.022/1.541, allocations: 11.17 MB / 0.7416 GB, free: 62.73 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.951e-05/1.541, allocations: 64.55 kB / 0.7416 GB, free: 62.66 MB / 494.1 MB Notification: Performance of pre-optimization done (n=250): time 7.053e-06/1.541, allocations: 0 / 0.7416 GB, free: 62.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=274): time 0.04419/1.586, allocations: 16.36 MB / 0.7576 GB, free: 46.32 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.232e-05/1.586, allocations: 158.5 kB / 0.7577 GB, free: 46.14 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01355/1.599, allocations: 6.732 MB / 0.7643 GB, free: 39.42 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007386/1.6, allocations: 67.42 kB / 0.7644 GB, free: 39.35 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004819/1.605, allocations: 5.741 MB / 0.77 GB, free: 33.61 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001707/1.607, allocations: 1.051 MB / 0.771 GB, free: 32.57 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001267/1.608, allocations: 189.3 kB / 0.7712 GB, free: 32.38 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0009056/1.609, allocations: 0.7182 MB / 0.7719 GB, free: 31.66 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006181/1.615, allocations: 2.732 MB / 0.7746 GB, free: 28.92 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009578/1.625, allocations: 8.631 MB / 0.783 GB, free: 17.37 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007894/1.633, allocations: 4.677 MB / 0.7876 GB, free: 12.69 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002463/1.633, allocations: 64 kB / 0.7876 GB, free: 12.63 MB / 494.1 MB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.02371/1.657, allocations: 11.04 MB / 0.7984 GB, free: 1.59 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005248/1.657, allocations: 99.45 kB / 0.7985 GB, free: 1.496 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005567/1.658, allocations: 212 kB / 0.7987 GB, free: 1.289 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004902/1.658, allocations: 308 kB / 0.799 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008107/1.666, allocations: 2.211 MB / 0.8011 GB, free: 14.77 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006073/1.667, allocations: 414.2 kB / 0.8015 GB, free: 14.37 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008238/1.675, allocations: 463.5 kB / 0.802 GB, free: 13.92 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002922/1.678, allocations: 0.5817 MB / 0.8026 GB, free: 13.34 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 951 * Number of states: 0 () * Number of discrete variables: 60 (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],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[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],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[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],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[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 (1195): * Single equations (assignments): 1184 * 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.01155/1.69, allocations: 3.758 MB / 0.8062 GB, free: 9.566 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002233/1.692, allocations: 0.5822 MB / 0.8068 GB, free: 8.977 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008191/1.7, allocations: 2.976 MB / 0.8097 GB, free: 5.98 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.399e-05/1.7, allocations: 28 kB / 0.8097 GB, free: 5.953 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.899e-05/1.7, allocations: 0 / 0.8097 GB, free: 5.953 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.606e-05/1.701, allocations: 15.95 kB / 0.8097 GB, free: 5.938 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3482/2.049, allocations: 25.11 MB / 0.8343 GB, free: 149.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.821e-05/2.049, allocations: 64.44 kB / 0.8343 GB, free: 149.3 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001875/2.051, allocations: 0.6091 MB / 0.8349 GB, free: 149.2 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.229e-05/2.051, allocations: 91.41 kB / 0.835 GB, free: 149.2 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001983/2.051, allocations: 141.2 kB / 0.8351 GB, free: 149.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.235e-05/2.051, allocations: 126.8 kB / 0.8353 GB, free: 149.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.891e-05/2.051, allocations: 103.2 kB / 0.8354 GB, free: 149.2 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006226/2.057, allocations: 5.86 MB / 0.8411 GB, free: 145.9 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001845/2.059, allocations: 0.7201 MB / 0.8418 GB, free: 145.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006659/2.06, allocations: 145.8 kB / 0.8419 GB, free: 145.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002338/2.062, allocations: 158.2 kB / 0.8421 GB, free: 145.8 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003842/2.063, allocations: 420.4 kB / 0.8425 GB, free: 145.7 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002018/2.063, allocations: 169.4 kB / 0.8426 GB, free: 145.7 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.007756/2.071, allocations: 4.199 MB / 0.8467 GB, free: 145.1 MB / 0.5138 GB Notification: Performance of sort global known variables: time 5.21e-07/2.071, allocations: 0 / 0.8467 GB, free: 145.1 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01059/2.081, allocations: 1.567 MB / 0.8483 GB, free: 145 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 288 * 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 (326): * Single equations (assignments): 323 * 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.0009529/2.082, allocations: 326.9 kB / 0.8486 GB, free: 144.8 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01103/2.093, allocations: 6.403 MB / 0.8548 GB, free: 142.6 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 5.177e-05/2.093, allocations: 9.281 kB / 0.8548 GB, free: 142.6 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.003086/2.097, allocations: 1.636 MB / 0.8564 GB, free: 142.1 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008867/2.105, allocations: 0.9563 MB / 0.8574 GB, free: 141.7 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04222/2.148, allocations: 21.37 MB / 0.8782 GB, free: 129.2 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009901/2.158, allocations: 5.797 MB / 0.8839 GB, free: 127.4 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.008479/2.166, allocations: 2.887 MB / 0.8867 GB, free: 127.1 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001313/2.167, allocations: 425.4 kB / 0.8871 GB, free: 127 MB / 0.5138 GB Notification: Performance of SimCode: time 1.523e-06/2.167, allocations: 3.828 kB / 0.8871 GB, free: 127 MB / 0.5138 GB Notification: Performance of Templates: time 0.09126/2.259, allocations: 47.95 MB / 0.934 GB, free: 91.29 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) Environment - environmentSimulation: