Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.CutTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.007494/0.007494, allocations: 102.6 kB / 15.73 MB, free: 6.027 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.0014/0.0014, allocations: 192.5 kB / 16.67 MB, free: 5.969 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.562/1.562, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.3671/0.3671, allocations: 38 MB / 307.9 MB, free: 10.12 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.001739/0.001739, allocations: 71.89 kB / 433 MB, free: 5.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4272/0.429, allocations: 56.46 MB / 489.5 MB, free: 19.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.02076/0.4498, allocations: 11.03 MB / 0.4887 GB, free: 12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01224/0.462, allocations: 3.058 MB / 0.4917 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004027/0.4661, allocations: 58.72 kB / 0.4918 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006803/0.473, allocations: 2.012 MB / 0.4938 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007312/0.4804, allocations: 1.209 MB / 0.4949 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00179/0.4822, allocations: 290.7 kB / 0.4952 GB, free: 8.359 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007056/0.4893, allocations: 2.489 MB / 0.4976 GB, free: 7.438 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005802/0.4952, allocations: 2.402 MB / 0.5 GB, free: 6.348 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00226/0.4974, allocations: 0.9631 MB / 0.5009 GB, free: 5.801 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002266/0.4997, allocations: 1.299 MB / 0.5022 GB, free: 5.008 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007029/0.5005, allocations: 219.3 kB / 0.5024 GB, free: 5.008 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00228/0.5028, allocations: 0.7078 MB / 0.5031 GB, free: 4.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001798/0.5046, allocations: 1.243 MB / 0.5043 GB, free: 4.027 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001929/0.5065, allocations: 1.468 MB / 0.5057 GB, free: 2.895 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007224/0.5138, allocations: 4.839 MB / 0.5105 GB, free: 15.51 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.5138, allocations: 0 / 0.5105 GB, free: 15.51 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.5138, allocations: 0 / 0.5105 GB, free: 15.51 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001703/0.514, allocations: 0 / 0.5105 GB, free: 15.51 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.01363/0.5277, allocations: 3.148 MB / 0.5135 GB, free: 13.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.19e-05/0.5277, allocations: 12.67 kB / 0.5136 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0113/0.5391, allocations: 1.629 MB / 0.5151 GB, free: 12.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006648/0.5458, allocations: 1.427 MB / 0.5165 GB, free: 11.37 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002796/0.5461, allocations: 160 kB / 0.5167 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009633/0.547, allocations: 208.2 kB / 0.5169 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01446/0.5615, allocations: 6.968 MB / 0.5237 GB, free: 4.043 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.606e-05/0.5616, allocations: 15.88 kB / 0.5237 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002848/0.5619, allocations: 99.89 kB / 0.5238 GB, free: 3.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002437/0.5644, allocations: 1.521 MB / 0.5253 GB, free: 2.406 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01182/0.5762, allocations: 5.949 MB / 0.5311 GB, free: 12.44 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03393/0.6102, allocations: 22.09 MB / 0.5527 GB, free: 5.75 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004679/0.6149, allocations: 2.191 MB / 0.5548 GB, free: 3.434 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001116/0.616, allocations: 0.8125 MB / 0.5556 GB, free: 2.617 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008192/0.6242, allocations: 3.953 MB / 0.5595 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.6243, allocations: 43.16 kB / 0.5595 GB, free: 14.47 MB / 446.1 MB Notification: Performance of pre-optimization done (n=96): time 5.56e-06/0.6243, allocations: 3.984 kB / 0.5595 GB, free: 14.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.005801/0.6301, allocations: 2.256 MB / 0.5617 GB, free: 12.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.6302, allocations: 60.06 kB / 0.5618 GB, free: 12.13 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003445/0.6337, allocations: 2.064 MB / 0.5638 GB, free: 10.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.684e-05/0.6338, allocations: 37.7 kB / 0.5638 GB, free: 9.977 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001505/0.6353, allocations: 2.011 MB / 0.5658 GB, free: 7.934 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003557/0.6356, allocations: 379.2 kB / 0.5662 GB, free: 7.559 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009355/0.6366, allocations: 0.6668 MB / 0.5668 GB, free: 6.883 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002215/0.6368, allocations: 365.9 kB / 0.5672 GB, free: 6.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00152/0.6384, allocations: 0.9941 MB / 0.5681 GB, free: 5.523 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003309/0.6417, allocations: 2.999 MB / 0.5711 GB, free: 1.531 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004903/0.6466, allocations: 4.36 MB / 0.5753 GB, free: 12.18 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.673e-05/0.6466, allocations: 20 kB / 0.5753 GB, free: 12.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.005856/0.6525, allocations: 3.878 MB / 0.5791 GB, free: 8.273 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.634e-05/0.6526, allocations: 36.22 kB / 0.5792 GB, free: 8.238 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.96e-05/0.6527, allocations: 79.94 kB / 0.5792 GB, free: 8.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.098e-05/0.6528, allocations: 92 kB / 0.5793 GB, free: 8.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001984/0.6547, allocations: 0.7252 MB / 0.58 GB, free: 7.344 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000107/0.6549, allocations: 143.4 kB / 0.5802 GB, free: 7.203 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002191/0.6571, allocations: 451.2 kB / 0.5806 GB, free: 6.758 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002504/0.6573, allocations: 200 kB / 0.5808 GB, free: 6.562 MB / 462.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.002544/0.6599, allocations: 1.462 MB / 0.5822 GB, free: 5.086 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003181/0.6602, allocations: 169.8 kB / 0.5824 GB, free: 4.918 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002024/0.6622, allocations: 1.248 MB / 0.5836 GB, free: 3.664 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.006e-05/0.6623, allocations: 12 kB / 0.5836 GB, free: 3.652 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.6623, allocations: 4 kB / 0.5836 GB, free: 3.648 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.6623, allocations: 3.984 kB / 0.5836 GB, free: 3.645 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008812/0.6711, allocations: 5.03 MB / 0.5885 GB, free: 14.41 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.509e-05/0.6712, allocations: 12 kB / 0.5885 GB, free: 14.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005444/0.6717, allocations: 135.8 kB / 0.5887 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.582e-05/0.6717, allocations: 19.94 kB / 0.5887 GB, free: 14.25 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.138e-05/0.6718, allocations: 24 kB / 0.5887 GB, free: 14.22 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-05/0.6718, allocations: 27.86 kB / 0.5887 GB, free: 14.2 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.251e-05/0.6718, allocations: 16.41 kB / 0.5887 GB, free: 14.18 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001905/0.6738, allocations: 1.582 MB / 0.5903 GB, free: 12.44 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005334/0.6743, allocations: 270.5 kB / 0.5905 GB, free: 12.15 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00017/0.6745, allocations: 27.98 kB / 0.5906 GB, free: 12.12 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005616/0.6751, allocations: 43.8 kB / 0.5906 GB, free: 12.09 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.6752, allocations: 83.61 kB / 0.5907 GB, free: 12.01 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.837e-05/0.6753, allocations: 39.94 kB / 0.5907 GB, free: 11.97 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001813/0.6771, allocations: 1.348 MB / 0.5921 GB, free: 10.6 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6771, allocations: 0 / 0.5921 GB, free: 10.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003228/0.6803, allocations: 0.766 MB / 0.5928 GB, free: 9.828 MB / 478.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.0003929/0.6807, allocations: 170.8 kB / 0.593 GB, free: 9.648 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00366/0.6844, allocations: 2.319 MB / 0.5952 GB, free: 7.355 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/0.6844, allocations: 4.375 kB / 0.5952 GB, free: 7.352 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007536/0.6852, allocations: 0.5601 MB / 0.5958 GB, free: 6.793 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/0.6867, allocations: 258.6 kB / 0.596 GB, free: 6.539 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01013/0.6968, allocations: 5.743 MB / 0.6016 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002441/0.6993, allocations: 2.466 MB / 0.604 GB, free: 14.14 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002387/0.7017, allocations: 1.039 MB / 0.6051 GB, free: 13.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003297/0.702, allocations: 135.4 kB / 0.6052 GB, free: 12.96 MB / 494.1 MB Notification: Performance of SimCode: time 1.372e-06/0.7021, allocations: 0 / 0.6052 GB, free: 12.96 MB / 494.1 MB Notification: Performance of Templates: time 0.03286/0.7349, allocations: 16.65 MB / 0.6214 GB, free: 12.31 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1)