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.001444/0.001444, allocations: 108 kB / 15.6 MB, free: 132 kB / 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: 192.8 kB / 16.53 MB, free: 6.391 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.566/1.566, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.3452/0.3452, allocations: 39.94 MB / 309.7 MB, free: 9.309 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.00172/0.001721, allocations: 70.39 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1586, allocations: 56.88 MB / 434.5 MB, free: 3.684 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.02132/0.18, allocations: 18.01 MB / 452.5 MB, free: 1.598 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3466/0.5267, allocations: 5.404 MB / 457.9 MB, free: 36.1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005345/0.5322, allocations: 134.5 kB / 458 MB, free: 36.1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01137/0.5436, allocations: 6.109 MB / 464.1 MB, free: 35.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01199/0.5556, allocations: 3.16 MB / 467.3 MB, free: 34.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005048/0.5607, allocations: 1.59 MB / 468.9 MB, free: 34.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01735/0.5781, allocations: 8.387 MB / 477.3 MB, free: 31.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01643/0.5946, allocations: 7.733 MB / 485 MB, free: 28.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01026/0.6049, allocations: 3.282 MB / 488.3 MB, free: 27.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01106/0.6161, allocations: 4.325 MB / 492.6 MB, free: 26.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004346/0.6205, allocations: 0.6646 MB / 493.3 MB, free: 26.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007866/0.6283, allocations: 1.483 MB / 494.8 MB, free: 26.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009584/0.638, allocations: 3.954 MB / 498.7 MB, free: 24.72 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01752/0.6555, allocations: 4.453 MB / 0.4914 GB, free: 21.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02521/0.6808, allocations: 13.15 MB / 0.5042 GB, free: 13.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.6809, allocations: 0 / 0.5042 GB, free: 13.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.6809, allocations: 0 / 0.5042 GB, free: 13.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006546/0.6815, allocations: 4 kB / 0.5042 GB, free: 13.62 MB / 382.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.03253/0.7141, allocations: 9.532 MB / 0.5135 GB, free: 5.441 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.7141, allocations: 11.89 kB / 0.5135 GB, free: 5.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01297/0.7271, allocations: 2.716 MB / 0.5162 GB, free: 2.703 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01301/0.7402, allocations: 5.034 MB / 0.5211 GB, free: 13.65 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007239/0.741, allocations: 488.6 kB / 0.5216 GB, free: 13.24 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003635/0.7446, allocations: 0.6186 MB / 0.5222 GB, free: 12.7 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05615/0.8008, allocations: 19.48 MB / 0.5412 GB, free: 8.215 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005123/0.8014, allocations: 75.33 kB / 0.5413 GB, free: 8.141 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003315/0.8047, allocations: 297.8 kB / 0.5416 GB, free: 7.922 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007059/0.8118, allocations: 3.645 MB / 0.5451 GB, free: 4.293 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04146/0.8533, allocations: 15.17 MB / 0.5599 GB, free: 5.094 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4735/1.327, allocations: 73.13 MB / 0.6314 GB, free: 119.4 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01887/1.346, allocations: 6.106 MB / 0.6373 GB, free: 118.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004899/1.351, allocations: 2.545 MB / 0.6398 GB, free: 118.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02442/1.375, allocations: 11.16 MB / 0.6507 GB, free: 115.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.609e-05/1.375, allocations: 64.77 kB / 0.6508 GB, free: 115.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=250): time 7.023e-06/1.375, allocations: 0 / 0.6508 GB, free: 115.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=274): time 0.05214/1.427, allocations: 16.32 MB / 0.6667 GB, free: 108.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/1.428, allocations: 155.8 kB / 0.6669 GB, free: 108.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01324/1.441, allocations: 6.771 MB / 0.6735 GB, free: 106 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007616/1.442, allocations: 70.86 kB / 0.6735 GB, free: 105.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004401/1.446, allocations: 5.737 MB / 0.6791 GB, free: 101.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001715/1.448, allocations: 1.056 MB / 0.6802 GB, free: 100.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00306/1.451, allocations: 1.89 MB / 0.682 GB, free: 99.84 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.617e-05/1.451, allocations: 305.1 kB / 0.6823 GB, free: 99.54 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005043/1.456, allocations: 2.773 MB / 0.685 GB, free: 98.69 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007686/1.464, allocations: 8.674 MB / 0.6935 GB, free: 89.96 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01815/1.482, allocations: 12.44 MB / 0.7056 GB, free: 79.23 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004029/1.482, allocations: 58.12 kB / 0.7057 GB, free: 79.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.02959/1.512, allocations: 11.12 MB / 0.7165 GB, free: 74.94 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004095/1.512, allocations: 98.06 kB / 0.7166 GB, free: 74.94 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006384/1.513, allocations: 208.3 kB / 0.7168 GB, free: 74.94 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005271/1.514, allocations: 275 kB / 0.7171 GB, free: 74.94 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008355/1.522, allocations: 2.217 MB / 0.7193 GB, free: 73.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005423/1.523, allocations: 408.1 kB / 0.7197 GB, free: 73.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01043/1.533, allocations: 464.2 kB / 0.7201 GB, free: 73.15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002545/1.536, allocations: 0.5776 MB / 0.7207 GB, free: 72.58 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 (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.01177/1.547, allocations: 3.764 MB / 0.7243 GB, free: 69.28 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002193/1.55, allocations: 0.5784 MB / 0.7249 GB, free: 68.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0071/1.557, allocations: 2.986 MB / 0.7278 GB, free: 66.15 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.229e-05/1.557, allocations: 32 kB / 0.7278 GB, free: 66.12 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.926e-05/1.557, allocations: 0 / 0.7278 GB, free: 66.12 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.26e-05/1.557, allocations: 14.95 kB / 0.7279 GB, free: 66.12 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04068/1.598, allocations: 25.13 MB / 0.7524 GB, free: 41.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.124e-05/1.598, allocations: 60 kB / 0.7525 GB, free: 41.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001827/1.6, allocations: 0.616 MB / 0.7531 GB, free: 40.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-05/1.6, allocations: 80 kB / 0.7531 GB, free: 40.46 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002042/1.6, allocations: 144 kB / 0.7533 GB, free: 40.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.049e-05/1.6, allocations: 119.5 kB / 0.7534 GB, free: 40.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.843e-05/1.6, allocations: 103.5 kB / 0.7535 GB, free: 40.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006037/1.606, allocations: 5.879 MB / 0.7592 GB, free: 33.19 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002263/1.608, allocations: 0.7117 MB / 0.7599 GB, free: 32.45 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009863/1.609, allocations: 151.5 kB / 0.7601 GB, free: 32.31 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002748/1.612, allocations: 151.9 kB / 0.7602 GB, free: 32.16 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004172/1.613, allocations: 429.9 kB / 0.7606 GB, free: 31.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000208/1.613, allocations: 176 kB / 0.7608 GB, free: 31.57 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.008241/1.621, allocations: 4.228 MB / 0.7649 GB, free: 27.36 MB / 494.1 MB Notification: Performance of sort global known variables: time 8.12e-07/1.621, allocations: 0 / 0.7649 GB, free: 27.36 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01362/1.635, allocations: 1.567 MB / 0.7665 GB, free: 25.8 MB / 494.1 MB 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.00118/1.636, allocations: 332.5 kB / 0.7668 GB, free: 25.46 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0113/1.647, allocations: 6.688 MB / 0.7733 GB, free: 18.84 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.087e-05/1.647, allocations: 12.06 kB / 0.7733 GB, free: 18.83 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002747/1.65, allocations: 1.646 MB / 0.7749 GB, free: 17.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009868/1.66, allocations: 0.9778 MB / 0.7759 GB, free: 16.26 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0363/1.696, allocations: 18.21 MB / 0.7937 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01108/1.707, allocations: 5.799 MB / 0.7993 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.008883/1.716, allocations: 2.89 MB / 0.8021 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001341/1.718, allocations: 423.4 kB / 0.8025 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of SimCode: time 9.21e-07/1.718, allocations: 0 / 0.8025 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of Templates: time 0.4223/2.14, allocations: 51.23 MB / 0.8526 GB, free: 138.7 MB / 0.5137 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)