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.004781/0.004781, allocations: 100.3 kB / 15.73 MB, free: 6 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.001243/0.001243, allocations: 195.4 kB / 16.67 MB, free: 5.918 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.576/1.576, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.4403/0.4403, allocations: 39.94 MB / 309.8 MB, free: 9.418 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.002223/0.002223, allocations: 75.89 kB / 435.8 MB, free: 2.461 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4465/0.4487, allocations: 56.88 MB / 492.7 MB, free: 19.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01795/0.4667, allocations: 18.01 MB / 0.4987 GB, free: 6.648 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01436/0.4811, allocations: 5.42 MB / 0.504 GB, free: 2.727 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005468/0.4866, allocations: 136.7 kB / 0.5041 GB, free: 2.699 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01163/0.4983, allocations: 6.089 MB / 0.5101 GB, free: 14.63 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01201/0.5104, allocations: 3.17 MB / 0.5132 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004866/0.5153, allocations: 1.591 MB / 0.5147 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01636/0.5317, allocations: 8.392 MB / 0.5229 GB, free: 5.465 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0123/0.544, allocations: 7.727 MB / 0.5305 GB, free: 13.65 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008728/0.5528, allocations: 3.252 MB / 0.5336 GB, free: 10.39 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008608/0.5615, allocations: 4.338 MB / 0.5379 GB, free: 6.035 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002876/0.5644, allocations: 0.668 MB / 0.5385 GB, free: 5.367 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00599/0.5704, allocations: 1.483 MB / 0.54 GB, free: 3.883 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006017/0.5764, allocations: 4.037 MB / 0.5439 GB, free: 15.84 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0115/0.5879, allocations: 4.447 MB / 0.5483 GB, free: 11.36 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02383/0.6118, allocations: 13.61 MB / 0.5616 GB, free: 13.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.6118, allocations: 0 / 0.5616 GB, free: 13.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.6119, allocations: 0 / 0.5616 GB, free: 13.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006445/0.6125, allocations: 0 / 0.5616 GB, free: 13.7 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.02927/0.6418, allocations: 9.528 MB / 0.5709 GB, free: 4.082 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.811e-05/0.6419, allocations: 15.89 kB / 0.5709 GB, free: 4.066 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01367/0.6556, allocations: 2.704 MB / 0.5735 GB, free: 1.348 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01291/0.6685, allocations: 5.149 MB / 0.5785 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000444/0.669, allocations: 487.9 kB / 0.579 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002425/0.6714, allocations: 0.6206 MB / 0.5796 GB, free: 11.02 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04032/0.7117, allocations: 19.48 MB / 0.5986 GB, free: 6.32 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002291/0.712, allocations: 71.34 kB / 0.5987 GB, free: 6.25 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008724/0.7129, allocations: 299.7 kB / 0.599 GB, free: 5.957 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005563/0.7185, allocations: 3.644 MB / 0.6026 GB, free: 2.305 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03434/0.7528, allocations: 15.17 MB / 0.6174 GB, free: 3.109 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7193/1.472, allocations: 72.7 MB / 0.6884 GB, free: 68.28 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01733/1.49, allocations: 6.105 MB / 0.6943 GB, free: 66.27 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004329/1.494, allocations: 2.553 MB / 0.6968 GB, free: 64.97 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01855/1.512, allocations: 11.16 MB / 0.7077 GB, free: 57.53 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.106e-05/1.513, allocations: 64.34 kB / 0.7078 GB, free: 57.47 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=250): time 5.931e-06/1.513, allocations: 0 / 0.7078 GB, free: 57.47 MB / 0.4982 GB Notification: Performance of matching and sorting (n=274): time 0.04106/1.554, allocations: 16.35 MB / 0.7237 GB, free: 48.18 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.646e-05/1.554, allocations: 157.7 kB / 0.7239 GB, free: 48.02 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009482/1.563, allocations: 6.767 MB / 0.7305 GB, free: 42.33 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0006266/1.564, allocations: 79.25 kB / 0.7306 GB, free: 42.25 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003373/1.567, allocations: 5.728 MB / 0.7362 GB, free: 36.52 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001427/1.569, allocations: 1.063 MB / 0.7372 GB, free: 35.47 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002214/1.571, allocations: 1.886 MB / 0.739 GB, free: 33.57 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 5.799e-05/1.571, allocations: 309.1 kB / 0.7393 GB, free: 33.27 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003637/1.575, allocations: 2.771 MB / 0.742 GB, free: 30.49 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006552/1.581, allocations: 8.659 MB / 0.7505 GB, free: 19 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0114/1.593, allocations: 12.43 MB / 0.7626 GB, free: 3.672 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001312/1.593, allocations: 63.94 kB / 0.7627 GB, free: 3.609 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.02207/1.615, allocations: 11.12 MB / 0.7736 GB, free: 8.488 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001364/1.615, allocations: 92 kB / 0.7737 GB, free: 8.398 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002669/1.615, allocations: 212.8 kB / 0.7739 GB, free: 8.191 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003644/1.616, allocations: 276 kB / 0.7741 GB, free: 7.922 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009756/1.625, allocations: 2.207 MB / 0.7763 GB, free: 5.711 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009706/1.626, allocations: 410.4 kB / 0.7767 GB, free: 5.309 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009829/1.636, allocations: 471.5 kB / 0.7771 GB, free: 4.848 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002098/1.638, allocations: 0.5781 MB / 0.7777 GB, free: 4.27 MB / 0.5138 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.01013/1.649, allocations: 3.756 MB / 0.7813 GB, free: 0.4961 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001947/1.651, allocations: 0.5941 MB / 0.7819 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007821/1.658, allocations: 2.976 MB / 0.7848 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-05/1.659, allocations: 35.98 kB / 0.7849 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-05/1.659, allocations: 4 kB / 0.7849 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.595e-05/1.659, allocations: 11.95 kB / 0.7849 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04798/1.707, allocations: 25.13 MB / 0.8094 GB, free: 2.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.147e-05/1.707, allocations: 68.03 kB / 0.8095 GB, free: 2.703 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002021/1.709, allocations: 0.6082 MB / 0.8101 GB, free: 2.094 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-05/1.709, allocations: 84 kB / 0.8102 GB, free: 2.012 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002274/1.709, allocations: 136 kB / 0.8103 GB, free: 1.879 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.901e-05/1.709, allocations: 123.5 kB / 0.8104 GB, free: 1.758 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001192/1.709, allocations: 99.56 kB / 0.8105 GB, free: 1.66 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007894/1.717, allocations: 5.879 MB / 0.8162 GB, free: 10.73 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002308/1.72, allocations: 0.7195 MB / 0.8169 GB, free: 9.98 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000853/1.72, allocations: 144 kB / 0.8171 GB, free: 9.84 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002647/1.723, allocations: 155.7 kB / 0.8172 GB, free: 9.691 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004971/1.724, allocations: 425.9 kB / 0.8176 GB, free: 9.273 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002448/1.724, allocations: 172 kB / 0.8178 GB, free: 9.105 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.007932/1.732, allocations: 4.239 MB / 0.8219 GB, free: 4.887 MB / 0.5607 GB Notification: Performance of sort global known variables: time 4.71e-07/1.732, allocations: 0 / 0.8219 GB, free: 4.887 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01207/1.744, allocations: 1.565 MB / 0.8235 GB, free: 3.324 MB / 0.5607 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.001033/1.745, allocations: 336.2 kB / 0.8238 GB, free: 2.988 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01463/1.76, allocations: 6.591 MB / 0.8302 GB, free: 12.47 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 9.333e-05/1.76, allocations: 8.562 kB / 0.8302 GB, free: 12.46 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.004519/1.764, allocations: 1.65 MB / 0.8319 GB, free: 10.82 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01293/1.777, allocations: 0.9815 MB / 0.8328 GB, free: 9.855 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04847/1.826, allocations: 18 MB / 0.8504 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01306/1.839, allocations: 5.792 MB / 0.856 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.3486/2.188, allocations: 2.891 MB / 0.8589 GB, free: 186.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001985/2.19, allocations: 420.4 kB / 0.8593 GB, free: 186.8 MB / 0.5919 GB Notification: Performance of SimCode: time 1.162e-06/2.19, allocations: 2.094 kB / 0.8593 GB, free: 186.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.1133/2.303, allocations: 45.45 MB / 0.9036 GB, free: 171.2 MB / 0.5919 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)