Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.CutTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.000962/0.0009619, allocations: 99.7 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.001044/0.001044, allocations: 177.3 kB / 15.95 MB, free: 216 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.705/1.705, 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.1+maint.om/package.mo): time 0.4207/0.4207, allocations: 38.03 MB / 308.4 MB, free: 10.42 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.0005871/0.0005871, allocations: 12 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1584, allocations: 57.52 MB / 433.9 MB, free: 5.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.3548/0.5133, allocations: 87.38 MB / 0.5091 GB, free: 14.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05964/0.573, allocations: 19.31 MB / 0.5279 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02543/0.5985, allocations: 446.2 kB / 0.5284 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01874/0.6172, allocations: 4.416 MB / 0.5327 GB, free: 332 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05736/0.6746, allocations: 12.49 MB / 0.5449 GB, free: 9.656 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007788/0.6824, allocations: 1.239 MB / 0.5461 GB, free: 8.883 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01292/0.6954, allocations: 4.681 MB / 0.5507 GB, free: 4.418 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01916/0.7146, allocations: 9.23 MB / 0.5597 GB, free: 11.12 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008233/0.7229, allocations: 2.134 MB / 0.5618 GB, free: 8.984 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007942/0.7309, allocations: 2.761 MB / 0.5645 GB, free: 6.215 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002946/0.7339, allocations: 300 kB / 0.5647 GB, free: 5.922 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007104/0.741, allocations: 0.9519 MB / 0.5657 GB, free: 4.969 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007787/0.7489, allocations: 3.23 MB / 0.5688 GB, free: 1.73 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004699/0.7536, allocations: 1.606 MB / 0.5704 GB, free: 116 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02217/0.7759, allocations: 10.46 MB / 0.5806 GB, free: 5.629 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.7759, allocations: 0 / 0.5806 GB, free: 5.629 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.777e-06/0.776, allocations: 0 / 0.5806 GB, free: 5.629 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006423/0.7766, allocations: 0 / 0.5806 GB, free: 5.629 MB / 446.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.04046/0.8171, allocations: 8.171 MB / 0.5886 GB, free: 13.37 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.787e-05/0.8172, allocations: 8.031 kB / 0.5886 GB, free: 13.36 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02801/0.8452, allocations: 3.132 MB / 0.5917 GB, free: 10.21 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02444/0.8697, allocations: 5.741 MB / 0.5973 GB, free: 4.391 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009467/0.8707, allocations: 490.7 kB / 0.5977 GB, free: 3.91 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004011/0.8747, allocations: 0.6051 MB / 0.5983 GB, free: 3.305 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07572/0.9505, allocations: 19.63 MB / 0.6175 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006666/0.9512, allocations: 79.25 kB / 0.6176 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00399/0.9553, allocations: 295.7 kB / 0.6178 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01062/0.9659, allocations: 3.64 MB / 0.6214 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.572/1.538, allocations: 15.32 MB / 0.6364 GB, free: 135.1 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1087/1.647, allocations: 73.3 MB / 0.7079 GB, free: 87.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01749/1.664, allocations: 6.116 MB / 0.7139 GB, free: 85.12 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02094/1.685, allocations: 11.33 MB / 0.725 GB, free: 77.42 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.253e-05/1.685, allocations: 62.84 kB / 0.725 GB, free: 77.36 MB / 494.1 MB Notification: Performance of pre-optimization done (n=250): time 6.823e-06/1.685, allocations: 0 / 0.725 GB, free: 77.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=274): time 0.04025/1.726, allocations: 16.88 MB / 0.7415 GB, free: 65.17 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.995e-05/1.726, allocations: 158.5 kB / 0.7417 GB, free: 64.99 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008702/1.734, allocations: 7.224 MB / 0.7487 GB, free: 57.78 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005364/1.735, allocations: 65.7 kB / 0.7488 GB, free: 57.71 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002941/1.738, allocations: 5.745 MB / 0.7544 GB, free: 51.96 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001036/1.739, allocations: 1.055 MB / 0.7554 GB, free: 50.92 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003107/1.739, allocations: 188 kB / 0.7556 GB, free: 50.73 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003622/1.74, allocations: 0.707 MB / 0.7563 GB, free: 50.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00366/1.743, allocations: 2.704 MB / 0.759 GB, free: 47.31 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006105/1.749, allocations: 8.547 MB / 0.7673 GB, free: 35.84 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005993/1.756, allocations: 4.652 MB / 0.7718 GB, free: 31.19 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.303e-05/1.756, allocations: 60 kB / 0.7719 GB, free: 31.13 MB / 494.1 MB Notification: Performance of matching and sorting (n=1243) (initialization): time 0.01517/1.771, allocations: 10.94 MB / 0.7826 GB, free: 20.18 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.102e-05/1.771, allocations: 96.09 kB / 0.7827 GB, free: 20.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001868/1.771, allocations: 211.9 kB / 0.7829 GB, free: 19.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002183/1.771, allocations: 304 kB / 0.7832 GB, free: 19.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006031/1.777, allocations: 2.192 MB / 0.7853 GB, free: 17.39 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002145/1.778, allocations: 410.4 kB / 0.7857 GB, free: 16.99 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005955/1.784, allocations: 467.4 kB / 0.7861 GB, free: 16.53 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006888/1.784, allocations: 0.5766 MB / 0.7867 GB, free: 15.96 MB / 494.1 MB 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 (1179): * Single equations (assignments): 1168 * 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.005191/1.789, allocations: 3.757 MB / 0.7904 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009335/1.79, allocations: 0.5822 MB / 0.7909 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004408/1.795, allocations: 2.988 MB / 0.7939 GB, free: 8.594 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-05/1.795, allocations: 32 kB / 0.7939 GB, free: 8.562 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/1.795, allocations: 4 kB / 0.7939 GB, free: 8.559 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.956e-05/1.795, allocations: 11.95 kB / 0.7939 GB, free: 8.547 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.332/2.127, allocations: 25.16 MB / 0.8185 GB, free: 136.8 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001018/2.127, allocations: 68.73 kB / 0.8185 GB, free: 136.8 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002108/2.129, allocations: 0.61 MB / 0.8191 GB, free: 136.8 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.019e-05/2.129, allocations: 89.84 kB / 0.8192 GB, free: 136.8 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002284/2.13, allocations: 143 kB / 0.8194 GB, free: 136.8 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.661e-05/2.13, allocations: 117.5 kB / 0.8195 GB, free: 136.8 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.897e-05/2.13, allocations: 101 kB / 0.8196 GB, free: 136.8 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01092/2.141, allocations: 17.41 MB / 0.8366 GB, free: 121 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00243/2.143, allocations: 0.7418 MB / 0.8373 GB, free: 120.9 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00154/2.145, allocations: 149.7 kB / 0.8374 GB, free: 120.9 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003645/2.148, allocations: 157.8 kB / 0.8376 GB, free: 120.9 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005727/2.149, allocations: 416.9 kB / 0.838 GB, free: 120.8 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002639/2.149, allocations: 176 kB / 0.8382 GB, free: 120.8 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.008444/2.158, allocations: 4.575 MB / 0.8426 GB, free: 120.6 MB / 0.4982 GB Notification: Performance of sort global known variables: time 3.7e-07/2.158, allocations: 0 / 0.8426 GB, free: 120.6 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01251/2.17, allocations: 1.575 MB / 0.8442 GB, free: 120.6 MB / 0.4982 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.00147/2.172, allocations: 344.4 kB / 0.8445 GB, free: 120.4 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01175/2.183, allocations: 6.358 MB / 0.8507 GB, free: 118.3 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 5.251e-05/2.184, allocations: 7.844 kB / 0.8507 GB, free: 118.3 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.002788/2.186, allocations: 1.639 MB / 0.8523 GB, free: 117.8 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007887/2.194, allocations: 0.9102 MB / 0.8532 GB, free: 117.5 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04697/2.241, allocations: 21.27 MB / 0.874 GB, free: 104.8 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01864/2.26, allocations: 5.973 MB / 0.8798 GB, free: 102.9 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.01294/2.273, allocations: 2.895 MB / 0.8826 GB, free: 102.6 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002608/2.276, allocations: 427.2 kB / 0.883 GB, free: 102.6 MB / 0.4982 GB Notification: Performance of SimCode: time 2.364e-06/2.276, allocations: 0 / 0.883 GB, free: 102.6 MB / 0.4982 GB Notification: Performance of Templates: time 0.09988/2.375, allocations: 48.73 MB / 0.9306 GB, free: 65.65 MB / 0.4982 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) Environment - environmentSimulation: