Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.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.CutTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007589/0.007589, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001714/0.001714, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.548/1.548, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2082/0.2082, allocations: 39.96 MB / 309.9 MB, free: 4.008 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.001421/0.001421, allocations: 71.89 kB / 435.8 MB, free: 11.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1276, allocations: 56.88 MB / 492.6 MB, free: 2.77 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.012/0.1397, allocations: 11.04 MB / 0.4919 GB, free: 7.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007964/0.1477, allocations: 3.057 MB / 0.4949 GB, free: 4.613 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002487/0.1502, allocations: 51.94 kB / 0.4949 GB, free: 4.562 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004176/0.1545, allocations: 2.013 MB / 0.4969 GB, free: 2.543 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004926/0.1594, allocations: 1.206 MB / 0.4981 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.1607, allocations: 287.4 kB / 0.4983 GB, free: 1.051 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006244/0.167, allocations: 2.508 MB / 0.5008 GB, free: 14.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003986/0.171, allocations: 2.407 MB / 0.5031 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001994/0.1731, allocations: 0.9656 MB / 0.5041 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002216/0.1753, allocations: 1.285 MB / 0.5053 GB, free: 9.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007689/0.1761, allocations: 224 kB / 0.5055 GB, free: 9.602 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001476/0.1776, allocations: 0.7099 MB / 0.5062 GB, free: 8.891 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001087/0.1787, allocations: 1.235 MB / 0.5074 GB, free: 7.652 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001396/0.1801, allocations: 1.468 MB / 0.5089 GB, free: 6.176 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005028/0.1851, allocations: 4.839 MB / 0.5136 GB, free: 1.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.1852, allocations: 0 / 0.5136 GB, free: 1.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1852, allocations: 0 / 0.5136 GB, free: 1.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.047e-05/0.1853, allocations: 0 / 0.5136 GB, free: 1.32 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1095 * Number of variables: 1095 Notification: Performance of Generate backend data structure: time 0.2634/0.4487, allocations: 3.143 MB / 0.5167 GB, free: 31.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/0.4488, allocations: 13.89 kB / 0.5167 GB, free: 31.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006312/0.4551, allocations: 1.62 MB / 0.5183 GB, free: 30.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003878/0.459, allocations: 1.426 MB / 0.5197 GB, free: 30.26 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00019/0.4592, allocations: 164.4 kB / 0.5198 GB, free: 30.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006403/0.4599, allocations: 206.7 kB / 0.52 GB, free: 30.17 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01393/0.4738, allocations: 6.963 MB / 0.5268 GB, free: 27.28 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.683e-05/0.4739, allocations: 17.47 kB / 0.5268 GB, free: 27.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002955/0.4742, allocations: 103.3 kB / 0.5269 GB, free: 27.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002799/0.477, allocations: 1.516 MB / 0.5284 GB, free: 26.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0152/0.4922, allocations: 5.952 MB / 0.5342 GB, free: 24.88 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03131/0.5236, allocations: 22.09 MB / 0.5558 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004084/0.5277, allocations: 2.191 MB / 0.5579 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009718/0.5287, allocations: 0.8121 MB / 0.5587 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007665/0.5364, allocations: 3.963 MB / 0.5626 GB, free: 12.44 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.988e-05/0.5365, allocations: 45.09 kB / 0.5626 GB, free: 12.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 5.04e-06/0.5365, allocations: 0 / 0.5626 GB, free: 12.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.006145/0.5427, allocations: 2.252 MB / 0.5648 GB, free: 10.13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.5428, allocations: 64 kB / 0.5649 GB, free: 10.06 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003518/0.5463, allocations: 2.06 MB / 0.5669 GB, free: 7.949 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.96e-05/0.5464, allocations: 37.7 kB / 0.5669 GB, free: 7.906 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00146/0.5478, allocations: 2.011 MB / 0.5689 GB, free: 5.863 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004008/0.5483, allocations: 379.1 kB / 0.5693 GB, free: 5.488 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001058/0.5493, allocations: 0.6746 MB / 0.5699 GB, free: 4.805 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002048/0.5496, allocations: 357.9 kB / 0.5703 GB, free: 4.449 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001631/0.5512, allocations: 0.9956 MB / 0.5712 GB, free: 3.453 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003477/0.5547, allocations: 2.993 MB / 0.5742 GB, free: 15.46 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005941/0.5606, allocations: 4.358 MB / 0.5784 GB, free: 10.12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.964e-05/0.5608, allocations: 20 kB / 0.5784 GB, free: 10.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.008227/0.569, allocations: 3.883 MB / 0.5822 GB, free: 6.207 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.87e-05/0.5692, allocations: 35.66 kB / 0.5823 GB, free: 6.176 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001536/0.5694, allocations: 75.98 kB / 0.5823 GB, free: 6.102 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001558/0.5696, allocations: 96 kB / 0.5824 GB, free: 6.008 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002545/0.5721, allocations: 0.729 MB / 0.5831 GB, free: 5.277 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001816/0.5723, allocations: 135.5 kB / 0.5833 GB, free: 5.145 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002917/0.5753, allocations: 451.2 kB / 0.5837 GB, free: 4.699 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004603/0.5757, allocations: 208 kB / 0.5839 GB, free: 4.496 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 322 * Number of states: 0 () * Number of discrete variables: 24 (worldTorque.color[3],worldTorque.color[2],worldTorque.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (401): * Single equations (assignments): 396 * Array equations: 5 * 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.002846/0.5786, allocations: 1.466 MB / 0.5853 GB, free: 3.016 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004439/0.579, allocations: 177.6 kB / 0.5855 GB, free: 2.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002428/0.5815, allocations: 1.241 MB / 0.5867 GB, free: 1.586 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.582e-05/0.5815, allocations: 19.94 kB / 0.5867 GB, free: 1.566 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/0.5815, allocations: 0 / 0.5867 GB, free: 1.566 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.5816, allocations: 11.97 kB / 0.5867 GB, free: 1.555 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0109/0.5925, allocations: 5.037 MB / 0.5917 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.499e-05/0.5925, allocations: 8 kB / 0.5917 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005806/0.5931, allocations: 143.7 kB / 0.5918 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-05/0.5932, allocations: 12 kB / 0.5918 GB, free: 12.15 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.025e-05/0.5932, allocations: 24 kB / 0.5918 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.917e-05/0.5933, allocations: 23.92 kB / 0.5919 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.013e-05/0.5933, allocations: 11.94 kB / 0.5919 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002344/0.5956, allocations: 1.581 MB / 0.5934 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007537/0.5964, allocations: 270.5 kB / 0.5937 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004441/0.5969, allocations: 27.98 kB / 0.5937 GB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009471/0.5978, allocations: 43.95 kB / 0.5937 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/0.598, allocations: 83.56 kB / 0.5938 GB, free: 9.934 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-05/0.5981, allocations: 44 kB / 0.5939 GB, free: 9.891 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002365/0.6004, allocations: 1.34 MB / 0.5952 GB, free: 8.527 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.6005, allocations: 0 / 0.5952 GB, free: 8.527 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003295/0.6038, allocations: 0.7726 MB / 0.5959 GB, free: 7.754 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (76): * Single equations (assignments): 73 * 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.000395/0.6042, allocations: 160.2 kB / 0.5961 GB, free: 7.594 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004047/0.6082, allocations: 2.324 MB / 0.5984 GB, free: 5.285 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.497e-06/0.6082, allocations: 0 / 0.5984 GB, free: 5.285 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008167/0.6091, allocations: 0.5612 MB / 0.5989 GB, free: 4.727 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001637/0.6107, allocations: 264 kB / 0.5992 GB, free: 4.473 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01077/0.6215, allocations: 5.732 MB / 0.6047 GB, free: 14.59 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003344/0.6249, allocations: 2.458 MB / 0.6072 GB, free: 12.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002615/0.6275, allocations: 1.038 MB / 0.6082 GB, free: 11.06 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004453/0.628, allocations: 139.4 kB / 0.6083 GB, free: 10.92 MB / 462.1 MB Notification: Performance of SimCode: time 9.02e-07/0.628, allocations: 0 / 0.6083 GB, free: 10.92 MB / 462.1 MB Notification: Performance of Templates: time 0.03394/0.662, allocations: 16.95 MB / 0.6248 GB, free: 9.988 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1)