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.006563/0.006563, allocations: 106.3 kB / 15.74 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.001553/0.001553, allocations: 196.5 kB / 16.68 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.522/1.522, allocations: 205.1 MB / 222.5 MB, free: 4.484 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.3355/0.3355, allocations: 38 MB / 307.9 MB, free: 10.02 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.001727/0.001727, allocations: 71.83 kB / 433 MB, free: 5.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3899, allocations: 56.48 MB / 489.5 MB, free: 19.85 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01197/0.4019, allocations: 11.02 MB / 0.4887 GB, free: 12.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008381/0.4103, allocations: 3.059 MB / 0.4917 GB, free: 10 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002052/0.4124, allocations: 54.5 kB / 0.4918 GB, free: 10 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004302/0.4168, allocations: 2.024 MB / 0.4938 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004172/0.421, allocations: 1.229 MB / 0.495 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.4222, allocations: 290.7 kB / 0.4952 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005073/0.4273, allocations: 2.493 MB / 0.4977 GB, free: 7.453 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003315/0.4306, allocations: 2.399 MB / 0.5 GB, free: 6.449 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001776/0.4324, allocations: 0.9661 MB / 0.501 GB, free: 5.922 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001579/0.434, allocations: 1.299 MB / 0.5022 GB, free: 5.129 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004397/0.4344, allocations: 219 kB / 0.5024 GB, free: 5.129 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00155/0.436, allocations: 0.708 MB / 0.5031 GB, free: 4.852 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001243/0.4373, allocations: 1.251 MB / 0.5043 GB, free: 4.141 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001366/0.4386, allocations: 1.465 MB / 0.5058 GB, free: 3.012 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005603/0.4442, allocations: 4.838 MB / 0.5105 GB, free: 15.62 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.4443, allocations: 0 / 0.5105 GB, free: 15.62 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4443, allocations: 0 / 0.5105 GB, free: 15.62 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001181/0.4444, allocations: 3.938 kB / 0.5105 GB, free: 15.62 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.007091/0.4515, allocations: 3.153 MB / 0.5136 GB, free: 13.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.4516, allocations: 12.95 kB / 0.5136 GB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005582/0.4572, allocations: 1.626 MB / 0.5152 GB, free: 12.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003124/0.4603, allocations: 1.426 MB / 0.5166 GB, free: 11.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001394/0.4605, allocations: 155.5 kB / 0.5167 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004271/0.4609, allocations: 208.7 kB / 0.5169 GB, free: 11.33 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01089/0.4718, allocations: 6.968 MB / 0.5237 GB, free: 4.145 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.918e-05/0.4719, allocations: 11.88 kB / 0.5237 GB, free: 4.133 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000256/0.4721, allocations: 103.9 kB / 0.5238 GB, free: 4.031 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002189/0.4743, allocations: 1.524 MB / 0.5253 GB, free: 2.504 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01078/0.4851, allocations: 5.948 MB / 0.5311 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03501/0.5202, allocations: 22.08 MB / 0.5527 GB, free: 5.855 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004855/0.5251, allocations: 2.195 MB / 0.5548 GB, free: 3.535 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001248/0.5263, allocations: 0.8125 MB / 0.5556 GB, free: 2.719 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00752/0.5339, allocations: 3.957 MB / 0.5595 GB, free: 14.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.943e-05/0.5339, allocations: 39.22 kB / 0.5595 GB, free: 14.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=96): time 3.717e-06/0.534, allocations: 0 / 0.5595 GB, free: 14.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.005996/0.54, allocations: 2.264 MB / 0.5618 GB, free: 12.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.54, allocations: 60.06 kB / 0.5618 GB, free: 12.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003474/0.5435, allocations: 2.053 MB / 0.5638 GB, free: 10.13 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.643e-05/0.5436, allocations: 41.7 kB / 0.5639 GB, free: 10.08 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001491/0.5451, allocations: 2.011 MB / 0.5658 GB, free: 8.039 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004378/0.5455, allocations: 379.2 kB / 0.5662 GB, free: 7.664 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001064/0.5466, allocations: 0.6707 MB / 0.5668 GB, free: 6.984 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.5468, allocations: 369.8 kB / 0.5672 GB, free: 6.617 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001601/0.5484, allocations: 0.9863 MB / 0.5681 GB, free: 5.629 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003016/0.5514, allocations: 3.003 MB / 0.5711 GB, free: 1.633 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005121/0.5566, allocations: 4.364 MB / 0.5753 GB, free: 12.28 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.056e-05/0.5567, allocations: 20 kB / 0.5754 GB, free: 12.26 MB / 462.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.006596/0.5633, allocations: 3.878 MB / 0.5791 GB, free: 8.375 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.032e-05/0.5634, allocations: 36 kB / 0.5792 GB, free: 8.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001337/0.5635, allocations: 76.16 kB / 0.5793 GB, free: 8.266 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001093/0.5636, allocations: 95.98 kB / 0.5793 GB, free: 8.172 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002197/0.5658, allocations: 0.7291 MB / 0.5801 GB, free: 7.441 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001205/0.566, allocations: 139.4 kB / 0.5802 GB, free: 7.305 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002399/0.5684, allocations: 447.2 kB / 0.5806 GB, free: 6.863 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002906/0.5687, allocations: 208 kB / 0.5808 GB, free: 6.66 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.002472/0.5712, allocations: 1.462 MB / 0.5822 GB, free: 5.184 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003889/0.5716, allocations: 169.8 kB / 0.5824 GB, free: 5.016 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00218/0.5737, allocations: 1.241 MB / 0.5836 GB, free: 3.77 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.216e-05/0.5738, allocations: 12 kB / 0.5836 GB, free: 3.758 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.5738, allocations: 4 kB / 0.5836 GB, free: 3.754 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.5738, allocations: 3.984 kB / 0.5836 GB, free: 3.75 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0114/0.5852, allocations: 5.03 MB / 0.5886 GB, free: 14.52 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.764e-05/0.5853, allocations: 12 kB / 0.5886 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005783/0.5859, allocations: 143.7 kB / 0.5887 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.248e-05/0.5859, allocations: 16 kB / 0.5887 GB, free: 14.35 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.987e-05/0.586, allocations: 24 kB / 0.5887 GB, free: 14.32 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.116e-05/0.586, allocations: 19.92 kB / 0.5888 GB, free: 14.3 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.087e-05/0.586, allocations: 15.94 kB / 0.5888 GB, free: 14.29 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002021/0.5881, allocations: 1.582 MB / 0.5903 GB, free: 12.55 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005658/0.5886, allocations: 270.5 kB / 0.5906 GB, free: 12.26 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003227/0.589, allocations: 31.98 kB / 0.5906 GB, free: 12.23 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007039/0.5897, allocations: 39.88 kB / 0.5906 GB, free: 12.19 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.5898, allocations: 83.59 kB / 0.5907 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-05/0.5899, allocations: 36 kB / 0.5908 GB, free: 12.08 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002294/0.5922, allocations: 1.344 MB / 0.5921 GB, free: 10.71 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.763e-06/0.5922, allocations: 0 / 0.5921 GB, free: 10.71 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003643/0.5959, allocations: 0.7737 MB / 0.5928 GB, free: 9.934 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.0004562/0.5963, allocations: 162.8 kB / 0.593 GB, free: 9.762 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004153/0.6005, allocations: 2.319 MB / 0.5952 GB, free: 7.469 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.757e-06/0.6005, allocations: 4 kB / 0.5952 GB, free: 7.465 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007716/0.6013, allocations: 0.5565 MB / 0.5958 GB, free: 6.91 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00159/0.6029, allocations: 273.4 kB / 0.5961 GB, free: 6.645 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/0.6149, allocations: 5.739 MB / 0.6017 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003748/0.6187, allocations: 2.454 MB / 0.6041 GB, free: 14.26 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002656/0.6214, allocations: 1.047 MB / 0.6051 GB, free: 13.21 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000496/0.6219, allocations: 139.4 kB / 0.6052 GB, free: 13.07 MB / 494.1 MB Notification: Performance of SimCode: time 1.533e-06/0.6219, allocations: 0 / 0.6052 GB, free: 13.07 MB / 494.1 MB Notification: Performance of Templates: time 0.03798/0.6599, allocations: 16.95 MB / 0.6218 GB, free: 12.12 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)