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.001128/0.001128, 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.001227/0.001227, allocations: 195.1 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.487/1.487, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.3897/0.3897, allocations: 37.99 MB / 307.8 MB, free: 10.07 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.0028/0.0028, allocations: 76.53 kB / 375.2 MB, free: 15.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.1909, allocations: 56.46 MB / 431.7 MB, free: 6.668 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.02208/0.2131, allocations: 18.02 MB / 449.7 MB, free: 4.566 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3538/0.5669, allocations: 5.404 MB / 455.1 MB, free: 35.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006067/0.5731, allocations: 129.3 kB / 455.2 MB, free: 35.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01188/0.585, allocations: 6.106 MB / 461.4 MB, free: 35.06 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01125/0.5964, allocations: 3.174 MB / 464.5 MB, free: 34.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003616/0.6, allocations: 1.581 MB / 466.1 MB, free: 34.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01332/0.6133, allocations: 8.389 MB / 474.5 MB, free: 32.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01097/0.6244, allocations: 7.736 MB / 482.2 MB, free: 29.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008046/0.6324, allocations: 3.288 MB / 485.5 MB, free: 28.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01205/0.6445, allocations: 4.314 MB / 489.8 MB, free: 27.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005178/0.6498, allocations: 0.6695 MB / 490.5 MB, free: 27.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008677/0.6585, allocations: 1.475 MB / 492 MB, free: 27.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01022/0.6687, allocations: 3.965 MB / 495.9 MB, free: 25.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0169/0.6857, allocations: 4.442 MB / 0.4887 GB, free: 22.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03421/0.7199, allocations: 13.16 MB / 0.5015 GB, free: 15.26 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.263e-05/0.72, allocations: 0 / 0.5015 GB, free: 15.26 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.098e-06/0.72, allocations: 3.938 kB / 0.5015 GB, free: 15.26 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001035/0.7211, allocations: 0 / 0.5015 GB, free: 15.26 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.04137/0.7625, allocations: 9.532 MB / 0.5108 GB, free: 8.555 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.882e-05/0.7626, allocations: 11.89 kB / 0.5108 GB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01418/0.7768, allocations: 2.713 MB / 0.5135 GB, free: 5.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01469/0.7915, allocations: 5.045 MB / 0.5184 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005598/0.7921, allocations: 482.4 kB / 0.5189 GB, free: 368 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003646/0.7958, allocations: 0.6144 MB / 0.5195 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05376/0.8496, allocations: 19.49 MB / 0.5385 GB, free: 11.33 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005584/0.8502, allocations: 79.25 kB / 0.5386 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003081/0.8533, allocations: 294.5 kB / 0.5389 GB, free: 11.03 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006255/0.8595, allocations: 3.639 MB / 0.5424 GB, free: 7.41 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04476/0.9043, allocations: 15.18 MB / 0.5572 GB, free: 8.207 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4726/1.377, allocations: 73.12 MB / 0.6286 GB, free: 122.9 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01851/1.396, allocations: 6.098 MB / 0.6346 GB, free: 122.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004923/1.401, allocations: 2.542 MB / 0.6371 GB, free: 122.2 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02399/1.425, allocations: 11.15 MB / 0.648 GB, free: 118.2 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.093e-05/1.425, allocations: 65 kB / 0.648 GB, free: 118.1 MB / 494.1 MB Notification: Performance of pre-optimization done (n=250): time 7.213e-06/1.425, allocations: 0 / 0.648 GB, free: 118.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=274): time 0.05004/1.475, allocations: 16.34 MB / 0.664 GB, free: 111.4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/1.475, allocations: 161.4 kB / 0.6641 GB, free: 111.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01967/1.495, allocations: 6.77 MB / 0.6708 GB, free: 108.9 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008332/1.496, allocations: 69.95 kB / 0.6708 GB, free: 108.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.006059/1.502, allocations: 5.737 MB / 0.6764 GB, free: 104.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002246/1.504, allocations: 1.061 MB / 0.6775 GB, free: 103.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003742/1.508, allocations: 1.892 MB / 0.6793 GB, free: 102.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.891e-05/1.508, allocations: 303.1 kB / 0.6796 GB, free: 102.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005349/1.513, allocations: 2.772 MB / 0.6823 GB, free: 101.7 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009416/1.523, allocations: 8.666 MB / 0.6908 GB, free: 92.94 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01527/1.538, allocations: 12.44 MB / 0.7029 GB, free: 82.15 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000324/1.538, allocations: 60.28 kB / 0.703 GB, free: 82.15 MB / 494.1 MB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.02487/1.563, allocations: 11.13 MB / 0.7138 GB, free: 77.86 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003109/1.563, allocations: 96.62 kB / 0.7139 GB, free: 77.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004998/1.564, allocations: 206.6 kB / 0.7141 GB, free: 77.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004548/1.564, allocations: 277.5 kB / 0.7144 GB, free: 77.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008008/1.572, allocations: 2.212 MB / 0.7166 GB, free: 77.58 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004631/1.573, allocations: 407.4 kB / 0.7169 GB, free: 77.49 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01042/1.583, allocations: 469.5 kB / 0.7174 GB, free: 77.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002326/1.586, allocations: 0.5754 MB / 0.718 GB, free: 77.25 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.01348/1.599, allocations: 3.756 MB / 0.7216 GB, free: 74.15 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002308/1.602, allocations: 0.5861 MB / 0.7222 GB, free: 73.55 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008671/1.61, allocations: 2.991 MB / 0.7251 GB, free: 71 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.306e-05/1.61, allocations: 28 kB / 0.7251 GB, free: 70.98 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.005e-05/1.61, allocations: 0 / 0.7251 GB, free: 70.98 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.196e-05/1.61, allocations: 15.39 kB / 0.7252 GB, free: 70.97 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05071/1.661, allocations: 25.14 MB / 0.7497 GB, free: 46.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002185/1.661, allocations: 64 kB / 0.7498 GB, free: 46.85 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002297/1.664, allocations: 0.616 MB / 0.7504 GB, free: 46.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.862e-05/1.664, allocations: 84 kB / 0.7504 GB, free: 46.15 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005045/1.664, allocations: 136 kB / 0.7506 GB, free: 46.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-05/1.664, allocations: 123.5 kB / 0.7507 GB, free: 45.89 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.466e-05/1.665, allocations: 95.62 kB / 0.7508 GB, free: 45.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007245/1.672, allocations: 5.88 MB / 0.7565 GB, free: 38.89 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003031/1.675, allocations: 0.7118 MB / 0.7572 GB, free: 38.15 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002189/1.677, allocations: 147.9 kB / 0.7574 GB, free: 38.01 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004172/1.681, allocations: 151.9 kB / 0.7575 GB, free: 37.86 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004321/1.682, allocations: 433.9 kB / 0.7579 GB, free: 37.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002316/1.682, allocations: 170.5 kB / 0.7581 GB, free: 37.27 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.008203/1.69, allocations: 4.228 MB / 0.7622 GB, free: 33.06 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.71e-07/1.69, allocations: 0 / 0.7622 GB, free: 33.06 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0139/1.704, allocations: 1.577 MB / 0.7638 GB, free: 31.49 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.001182/1.705, allocations: 325.3 kB / 0.7641 GB, free: 31.16 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01156/1.717, allocations: 6.686 MB / 0.7706 GB, free: 24.54 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.062e-05/1.717, allocations: 16 kB / 0.7706 GB, free: 24.53 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002679/1.72, allocations: 1.645 MB / 0.7722 GB, free: 22.89 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007909/1.728, allocations: 0.9757 MB / 0.7732 GB, free: 21.95 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03256/1.76, allocations: 18.2 MB / 0.7909 GB, free: 2.828 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01066/1.771, allocations: 5.799 MB / 0.7966 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.01051/1.781, allocations: 2.892 MB / 0.7994 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002023/1.783, allocations: 427.4 kB / 0.7998 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of SimCode: time 2.505e-06/1.783, allocations: 0 / 0.7998 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of Templates: time 0.4012/2.185, allocations: 51.24 MB / 0.8499 GB, free: 140.8 MB / 0.5138 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)