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.001608/0.001608, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001942/0.001942, allocations: 188.8 kB / 16.25 MB, free: 6.621 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.639/1.639, allocations: 205.1 MB / 222.1 MB, free: 4.676 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.4357/0.4357, allocations: 39.93 MB / 309.4 MB, free: 9.379 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.001577/0.001577, allocations: 71.91 kB / 377.1 MB, free: 13.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1588, allocations: 56.88 MB / 434 MB, free: 4.023 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.399/0.5579, allocations: 101.9 MB / 0.5233 GB, free: 2.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.07038/0.6283, allocations: 19.16 MB / 0.5421 GB, free: 5.965 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03691/0.6653, allocations: 448 kB / 0.5425 GB, free: 5.898 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01478/0.6802, allocations: 5.887 MB / 0.5482 GB, free: 3.207 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01345/0.6937, allocations: 2.97 MB / 0.5511 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00536/0.6991, allocations: 1.506 MB / 0.5526 GB, free: 15.26 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01556/0.7147, allocations: 8.424 MB / 0.5608 GB, free: 6.828 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01613/0.7309, allocations: 8.136 MB / 0.5688 GB, free: 14.64 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008315/0.7392, allocations: 3.361 MB / 0.5721 GB, free: 11.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008953/0.7482, allocations: 4.795 MB / 0.5767 GB, free: 6.465 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004078/0.7523, allocations: 0.6641 MB / 0.5774 GB, free: 5.801 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006745/0.7591, allocations: 1.494 MB / 0.5788 GB, free: 4.305 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008512/0.7677, allocations: 4.025 MB / 0.5828 GB, free: 276 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01207/0.7798, allocations: 4.494 MB / 0.5872 GB, free: 11.75 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02149/0.8013, allocations: 13.22 MB / 0.6001 GB, free: 14.49 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.8014, allocations: 0 / 0.6001 GB, free: 14.49 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.8014, allocations: 0 / 0.6001 GB, free: 14.49 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0007219/0.8021, allocations: 0 / 0.6001 GB, free: 14.49 MB / 478.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.03473/0.8368, allocations: 9.528 MB / 0.6094 GB, free: 4.867 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.789e-05/0.8369, allocations: 15.89 kB / 0.6094 GB, free: 4.852 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01366/0.8506, allocations: 2.715 MB / 0.612 GB, free: 2.121 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0145/0.8651, allocations: 5.032 MB / 0.617 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007689/0.8659, allocations: 484.4 kB / 0.6174 GB, free: 12.53 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003602/0.8696, allocations: 0.6166 MB / 0.618 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7424/1.612, allocations: 19.48 MB / 0.637 GB, free: 54.95 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004041/1.612, allocations: 76.64 kB / 0.6371 GB, free: 54.95 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002274/1.615, allocations: 301.4 kB / 0.6374 GB, free: 54.94 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006376/1.621, allocations: 3.637 MB / 0.641 GB, free: 54.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04087/1.662, allocations: 15.17 MB / 0.6558 GB, free: 54.82 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1181/1.78, allocations: 73.13 MB / 0.7272 GB, free: 13.11 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01803/1.798, allocations: 6.104 MB / 0.7332 GB, free: 6.875 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004955/1.803, allocations: 2.545 MB / 0.7356 GB, free: 4.316 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02733/1.831, allocations: 11.16 MB / 0.7465 GB, free: 8.805 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.986e-05/1.831, allocations: 64.59 kB / 0.7466 GB, free: 8.738 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=250): time 7.334e-06/1.831, allocations: 0 / 0.7466 GB, free: 8.738 MB / 0.5138 GB Notification: Performance of matching and sorting (n=274): time 0.05851/1.889, allocations: 16.33 MB / 0.7626 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/1.89, allocations: 157.6 kB / 0.7627 GB, free: 8.297 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02143/1.911, allocations: 6.774 MB / 0.7693 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007867/1.912, allocations: 73.25 kB / 0.7694 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.007723/1.92, allocations: 5.735 MB / 0.775 GB, free: 11.75 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002227/1.922, allocations: 1.058 MB / 0.776 GB, free: 10.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007388/1.929, allocations: 1.882 MB / 0.7779 GB, free: 8.809 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001492/1.929, allocations: 305.1 kB / 0.7782 GB, free: 8.508 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008072/1.938, allocations: 2.771 MB / 0.7809 GB, free: 5.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01286/1.95, allocations: 8.665 MB / 0.7893 GB, free: 10.24 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01799/1.968, allocations: 12.45 MB / 0.8015 GB, free: 11.75 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002678/1.969, allocations: 60 kB / 0.8015 GB, free: 11.7 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.02342/1.992, allocations: 11.12 MB / 0.8124 GB, free: 1.809 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.000327/1.993, allocations: 92 kB / 0.8125 GB, free: 1.719 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004999/1.993, allocations: 208 kB / 0.8127 GB, free: 1.516 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003967/1.994, allocations: 276 kB / 0.8129 GB, free: 1.246 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00782/2.001, allocations: 2.208 MB / 0.8151 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005621/2.002, allocations: 408.5 kB / 0.8155 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008347/2.01, allocations: 470.3 kB / 0.8159 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002219/2.013, allocations: 0.5771 MB / 0.8165 GB, free: 13.89 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009794/2.022, allocations: 3.763 MB / 0.8202 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001738/2.024, allocations: 0.5861 MB / 0.8207 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007458/2.032, allocations: 2.985 MB / 0.8237 GB, free: 6.715 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.339e-05/2.032, allocations: 28 kB / 0.8237 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.063e-05/2.032, allocations: 6.344 kB / 0.8237 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.021e-05/2.032, allocations: 15.95 kB / 0.8237 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2864/2.318, allocations: 25.13 MB / 0.8483 GB, free: 241.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001407/2.318, allocations: 60.66 kB / 0.8483 GB, free: 241.4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002159/2.321, allocations: 0.6125 MB / 0.8489 GB, free: 241.3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-05/2.321, allocations: 82.25 kB / 0.849 GB, free: 241.3 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000375/2.321, allocations: 138.9 kB / 0.8491 GB, free: 241.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.744e-05/2.321, allocations: 124.4 kB / 0.8492 GB, free: 241.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-05/2.321, allocations: 99.12 kB / 0.8493 GB, free: 241.3 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007886/2.329, allocations: 5.887 MB / 0.8551 GB, free: 238 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002611/2.332, allocations: 0.7122 MB / 0.8558 GB, free: 237.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001831/2.334, allocations: 150.7 kB / 0.8559 GB, free: 237.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004318/2.338, allocations: 151 kB / 0.8561 GB, free: 237.9 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006432/2.339, allocations: 421.4 kB / 0.8565 GB, free: 237.8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002836/2.339, allocations: 180.8 kB / 0.8566 GB, free: 237.7 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.008322/2.347, allocations: 4.236 MB / 0.8608 GB, free: 236.4 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.112e-06/2.347, allocations: 0 / 0.8608 GB, free: 236.4 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01025/2.358, allocations: 1.559 MB / 0.8623 GB, free: 236.2 MB / 0.6075 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 (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.001061/2.359, allocations: 336.4 kB / 0.8626 GB, free: 236 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01057/2.369, allocations: 6.679 MB / 0.8691 GB, free: 233.8 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.132e-05/2.369, allocations: 10.06 kB / 0.8692 GB, free: 233.8 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003023/2.372, allocations: 1.65 MB / 0.8708 GB, free: 233.3 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009182/2.382, allocations: 0.9887 MB / 0.8717 GB, free: 232.9 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0543/2.436, allocations: 22.23 MB / 0.8934 GB, free: 219.4 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01662/2.453, allocations: 5.798 MB / 0.8991 GB, free: 217.6 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.01264/2.465, allocations: 2.889 MB / 0.9019 GB, free: 217.3 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00229/2.468, allocations: 420.8 kB / 0.9023 GB, free: 217.2 MB / 0.6075 GB Notification: Performance of SimCode: time 1.633e-06/2.468, allocations: 0 / 0.9023 GB, free: 217.2 MB / 0.6075 GB Notification: Performance of Templates: time 0.1111/2.579, allocations: 51.15 MB / 0.9523 GB, free: 184.9 MB / 0.6075 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque.makefile (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)