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.006785/0.006785, allocations: 100.5 kB / 15.73 MB, free: 6.047 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.001518/0.001518, allocations: 197.8 kB / 16.67 MB, free: 5.977 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.426/1.426, allocations: 205.1 MB / 222.6 MB, free: 4.395 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.3838/0.3838, allocations: 37.99 MB / 307.9 MB, free: 10.36 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.001472/0.001472, allocations: 71.89 kB / 433 MB, free: 5.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3895/0.391, allocations: 56.46 MB / 489.5 MB, free: 20.11 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01853/0.4096, allocations: 18 MB / 0.4956 GB, free: 7.281 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01617/0.4258, allocations: 5.422 MB / 0.5009 GB, free: 3.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005806/0.4317, allocations: 128.2 kB / 0.501 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01272/0.4445, allocations: 6.113 MB / 0.507 GB, free: 240 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01319/0.4577, allocations: 3.159 MB / 0.51 GB, free: 13.92 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004948/0.4627, allocations: 1.584 MB / 0.5116 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02471/0.4874, allocations: 8.394 MB / 0.5198 GB, free: 8.496 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01269/0.5002, allocations: 7.728 MB / 0.5273 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008402/0.5087, allocations: 3.295 MB / 0.5305 GB, free: 13.69 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008495/0.5172, allocations: 4.319 MB / 0.5348 GB, free: 9.355 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003493/0.5207, allocations: 0.6641 MB / 0.5354 GB, free: 8.691 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005886/0.5267, allocations: 1.475 MB / 0.5369 GB, free: 7.215 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006452/0.5331, allocations: 3.959 MB / 0.5407 GB, free: 3.246 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009908/0.5431, allocations: 4.455 MB / 0.5451 GB, free: 14.76 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0237/0.5668, allocations: 13.61 MB / 0.5584 GB, free: 1.109 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.392e-05/0.5669, allocations: 4 kB / 0.5584 GB, free: 1.105 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.5669, allocations: 0 / 0.5584 GB, free: 1.105 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006427/0.5675, allocations: 0 / 0.5584 GB, free: 1.105 MB / 430.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.03816/0.6057, allocations: 9.531 MB / 0.5677 GB, free: 7.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.927e-05/0.6058, allocations: 11.89 kB / 0.5677 GB, free: 7.469 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01494/0.6208, allocations: 2.723 MB / 0.5703 GB, free: 4.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01626/0.6371, allocations: 5.142 MB / 0.5754 GB, free: 15.5 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007893/0.638, allocations: 495.8 kB / 0.5758 GB, free: 15.02 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004049/0.642, allocations: 0.6051 MB / 0.5764 GB, free: 14.41 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04634/0.6884, allocations: 19.48 MB / 0.5955 GB, free: 9.719 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003138/0.6888, allocations: 83.23 kB / 0.5955 GB, free: 9.637 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001595/0.6904, allocations: 295.7 kB / 0.5958 GB, free: 9.348 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006264/0.6966, allocations: 3.652 MB / 0.5994 GB, free: 5.688 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04239/0.7391, allocations: 15.17 MB / 0.6142 GB, free: 6.492 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7871/1.526, allocations: 72.69 MB / 0.6852 GB, free: 68.28 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01981/1.546, allocations: 6.11 MB / 0.6911 GB, free: 66.29 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005312/1.551, allocations: 2.547 MB / 0.6936 GB, free: 65.36 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02364/1.575, allocations: 11.15 MB / 0.7045 GB, free: 59.67 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.843e-05/1.575, allocations: 59.97 kB / 0.7046 GB, free: 59.61 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=250): time 6.983e-06/1.575, allocations: 0 / 0.7046 GB, free: 59.61 MB / 0.4982 GB Notification: Performance of matching and sorting (n=274): time 0.0444/1.62, allocations: 16.35 MB / 0.7205 GB, free: 50.42 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.38e-05/1.62, allocations: 156.8 kB / 0.7207 GB, free: 50.26 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01057/1.63, allocations: 6.772 MB / 0.7273 GB, free: 46.81 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0006672/1.631, allocations: 72.84 kB / 0.7274 GB, free: 46.75 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.00343/1.634, allocations: 5.732 MB / 0.733 GB, free: 41.75 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001432/1.636, allocations: 1.057 MB / 0.734 GB, free: 40.87 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002263/1.638, allocations: 1.895 MB / 0.7359 GB, free: 39.8 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 5.519e-05/1.638, allocations: 305.1 kB / 0.7362 GB, free: 39.5 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0038/1.642, allocations: 2.77 MB / 0.7389 GB, free: 37.43 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00619/1.648, allocations: 8.659 MB / 0.7473 GB, free: 25.88 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01358/1.662, allocations: 12.44 MB / 0.7595 GB, free: 10.51 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002012/1.662, allocations: 60 kB / 0.7595 GB, free: 10.45 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.0235/1.686, allocations: 11.11 MB / 0.7704 GB, free: 15.34 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001579/1.686, allocations: 96 kB / 0.7705 GB, free: 15.25 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003737/1.686, allocations: 212 kB / 0.7707 GB, free: 15.04 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003257/1.687, allocations: 279.9 kB / 0.7709 GB, free: 14.77 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00916/1.696, allocations: 2.211 MB / 0.7731 GB, free: 12.55 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000408/1.696, allocations: 413.4 kB / 0.7735 GB, free: 12.15 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01007/1.706, allocations: 463.5 kB / 0.7739 GB, free: 11.7 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002114/1.708, allocations: 0.578 MB / 0.7745 GB, free: 11.12 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.009592/1.718, allocations: 3.756 MB / 0.7782 GB, free: 7.352 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00183/1.72, allocations: 0.5884 MB / 0.7787 GB, free: 6.758 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005832/1.726, allocations: 2.983 MB / 0.7816 GB, free: 3.758 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-05/1.726, allocations: 31.94 kB / 0.7817 GB, free: 3.727 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.745e-05/1.726, allocations: 0 / 0.7817 GB, free: 3.727 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.623e-05/1.726, allocations: 15.95 kB / 0.7817 GB, free: 3.711 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04732/1.773, allocations: 25.14 MB / 0.8062 GB, free: 9.633 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.175e-05/1.773, allocations: 64 kB / 0.8063 GB, free: 9.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002078/1.775, allocations: 0.6168 MB / 0.8069 GB, free: 8.953 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.361e-05/1.776, allocations: 84 kB / 0.807 GB, free: 8.871 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000229/1.776, allocations: 140 kB / 0.8071 GB, free: 8.734 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.037e-05/1.776, allocations: 123.5 kB / 0.8072 GB, free: 8.613 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-05/1.776, allocations: 99.56 kB / 0.8073 GB, free: 8.516 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007889/1.784, allocations: 5.875 MB / 0.8131 GB, free: 1.594 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002061/1.786, allocations: 0.7118 MB / 0.8138 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009999/1.787, allocations: 144 kB / 0.8139 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003008/1.79, allocations: 151.9 kB / 0.8141 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005732/1.791, allocations: 433.9 kB / 0.8145 GB, free: 144 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003023/1.791, allocations: 168 kB / 0.8146 GB, free: 15.97 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.008824/1.8, allocations: 4.231 MB / 0.8188 GB, free: 11.76 MB / 0.5607 GB Notification: Performance of sort global known variables: time 7.82e-07/1.8, allocations: 0 / 0.8188 GB, free: 11.76 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01423/1.814, allocations: 1.569 MB / 0.8203 GB, free: 10.2 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.001704/1.816, allocations: 340.1 kB / 0.8206 GB, free: 9.855 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01341/1.829, allocations: 6.593 MB / 0.8271 GB, free: 3.336 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 6.931e-05/1.829, allocations: 13.81 kB / 0.8271 GB, free: 3.324 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.002983/1.832, allocations: 1.649 MB / 0.8287 GB, free: 1.688 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00737/1.84, allocations: 0.9811 MB / 0.8296 GB, free: 0.7148 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03723/1.877, allocations: 17.97 MB / 0.8472 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0116/1.889, allocations: 5.799 MB / 0.8529 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0088/1.897, allocations: 2.888 MB / 0.8557 GB, free: 5.078 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001599/1.899, allocations: 423.4 kB / 0.8561 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of SimCode: time 1.723e-06/1.899, allocations: 3.938 kB / 0.8561 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of Templates: time 0.4461/2.345, allocations: 45.94 MB / 0.9009 GB, free: 176 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque.makefile (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)