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.0008423/0.0008425, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006153/0.006153, allocations: 169.5 kB / 16.26 MB, free: 6.652 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.452/1.452, allocations: 205.4 MB / 222.4 MB, free: 5.574 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.3199/0.3199, allocations: 38.03 MB / 308.8 MB, free: 10.4 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.0005578/0.0005578, allocations: 12.66 kB / 377 MB, free: 14.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.129, allocations: 57.52 MB / 434.6 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.3045/0.4336, allocations: 99.57 MB / 0.5216 GB, free: 5.609 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0569/0.4906, allocations: 19.2 MB / 0.5404 GB, free: 8.805 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02505/0.5157, allocations: 447.2 kB / 0.5408 GB, free: 8.738 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003621/0.5193, allocations: 0.7312 MB / 0.5415 GB, free: 8.441 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0115/0.5309, allocations: 3.007 MB / 0.5444 GB, free: 7.066 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004172/0.5351, allocations: 1.264 MB / 0.5457 GB, free: 6.559 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01952/0.5546, allocations: 12.18 MB / 0.5576 GB, free: 14.17 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01661/0.5713, allocations: 10.69 MB / 0.568 GB, free: 3.383 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005438/0.5768, allocations: 2.463 MB / 0.5704 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006666/0.5835, allocations: 4.006 MB / 0.5743 GB, free: 12.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001753/0.5853, allocations: 296 kB / 0.5746 GB, free: 12.6 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003668/0.5889, allocations: 1.178 MB / 0.5758 GB, free: 11.42 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004614/0.5936, allocations: 3.56 MB / 0.5792 GB, free: 7.852 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007189/0.6008, allocations: 3.941 MB / 0.5831 GB, free: 3.879 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01681/0.6176, allocations: 12.58 MB / 0.5954 GB, free: 7.25 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.6177, allocations: 0 / 0.5954 GB, free: 7.25 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.376e-06/0.6177, allocations: 3.938 kB / 0.5954 GB, free: 7.246 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005196/0.6182, allocations: 0 / 0.5954 GB, free: 7.246 MB / 462.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.01886/0.6371, allocations: 7.816 MB / 0.603 GB, free: 15.34 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.6372, allocations: 8.031 kB / 0.603 GB, free: 15.33 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01193/0.6491, allocations: 2.778 MB / 0.6057 GB, free: 12.54 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01075/0.6599, allocations: 5.028 MB / 0.6106 GB, free: 7.43 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005632/0.6605, allocations: 484.3 kB / 0.6111 GB, free: 6.953 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0026/0.6631, allocations: 0.6167 MB / 0.6117 GB, free: 6.336 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04044/0.7036, allocations: 19.53 MB / 0.6308 GB, free: 1.594 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003429/0.7039, allocations: 75.25 kB / 0.6308 GB, free: 1.52 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001927/0.7059, allocations: 295.7 kB / 0.6311 GB, free: 1.23 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.522/1.228, allocations: 3.642 MB / 0.6347 GB, free: 62.02 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03076/1.259, allocations: 15.21 MB / 0.6495 GB, free: 61.95 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08571/1.344, allocations: 73 MB / 0.7208 GB, free: 8.816 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01486/1.359, allocations: 6.132 MB / 0.7268 GB, free: 2.559 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003804/1.363, allocations: 2.535 MB / 0.7293 GB, free: 12 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02169/1.385, allocations: 11.17 MB / 0.7402 GB, free: 4.484 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.853e-05/1.385, allocations: 63.09 kB / 0.7403 GB, free: 4.418 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=250): time 5.14e-06/1.385, allocations: 0 / 0.7403 GB, free: 4.418 MB / 0.4982 GB Notification: Performance of matching and sorting (n=274): time 0.04344/1.428, allocations: 16.4 MB / 0.7563 GB, free: 4.094 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/1.429, allocations: 165.5 kB / 0.7564 GB, free: 3.906 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01153/1.44, allocations: 6.77 MB / 0.763 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005104/1.441, allocations: 61.7 kB / 0.7631 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004718/1.445, allocations: 5.734 MB / 0.7687 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001277/1.447, allocations: 1.058 MB / 0.7697 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001051/1.448, allocations: 0.825 MB / 0.7705 GB, free: 5.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.797e-05/1.448, allocations: 306.1 kB / 0.7708 GB, free: 5.199 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004439/1.452, allocations: 2.767 MB / 0.7735 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008181/1.461, allocations: 8.663 MB / 0.782 GB, free: 6.941 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01437/1.475, allocations: 12.44 MB / 0.7941 GB, free: 8.445 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001253/1.475, allocations: 60 kB / 0.7942 GB, free: 8.387 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.01785/1.493, allocations: 11.11 MB / 0.8051 GB, free: 14.51 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001198/1.493, allocations: 94.62 kB / 0.8051 GB, free: 14.42 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002232/1.493, allocations: 208 kB / 0.8053 GB, free: 14.22 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002635/1.494, allocations: 276 kB / 0.8056 GB, free: 13.95 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007183/1.501, allocations: 2.215 MB / 0.8078 GB, free: 11.93 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003304/1.501, allocations: 412.9 kB / 0.8082 GB, free: 11.61 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007985/1.509, allocations: 470.2 kB / 0.8086 GB, free: 11.16 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001604/1.511, allocations: 0.5742 MB / 0.8092 GB, free: 10.58 MB / 0.5763 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.00624/1.517, allocations: 3.762 MB / 0.8128 GB, free: 7.004 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00101/1.518, allocations: 0.5784 MB / 0.8134 GB, free: 6.418 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004854/1.523, allocations: 2.982 MB / 0.8163 GB, free: 3.418 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-05/1.523, allocations: 28 kB / 0.8164 GB, free: 3.391 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/1.523, allocations: 11.12 kB / 0.8164 GB, free: 3.383 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.1e-05/1.523, allocations: 11.95 kB / 0.8164 GB, free: 3.371 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03376/1.557, allocations: 25.14 MB / 0.8409 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001077/1.557, allocations: 65 kB / 0.841 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002073/1.559, allocations: 0.6138 MB / 0.8416 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.83e-05/1.559, allocations: 88 kB / 0.8417 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002265/1.559, allocations: 136 kB / 0.8418 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.588e-05/1.559, allocations: 122.8 kB / 0.8419 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.833e-05/1.56, allocations: 99.75 kB / 0.842 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007575/1.567, allocations: 5.881 MB / 0.8478 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001758/1.569, allocations: 0.7195 MB / 0.8485 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000775/1.57, allocations: 147.9 kB / 0.8486 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002524/1.572, allocations: 154.5 kB / 0.8487 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004451/1.573, allocations: 424.9 kB / 0.8491 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002408/1.573, allocations: 176 kB / 0.8493 GB, free: 328 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.2485/1.821, allocations: 4.236 MB / 0.8535 GB, free: 242.9 MB / 0.6075 GB Notification: Performance of sort global known variables: time 6.81e-07/1.821, allocations: 0 / 0.8535 GB, free: 242.9 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.008919/1.83, allocations: 1.561 MB / 0.855 GB, free: 242.9 MB / 0.6075 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.0009703/1.831, allocations: 333.3 kB / 0.8553 GB, free: 242.8 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01168/1.843, allocations: 6.442 MB / 0.8616 GB, free: 242.2 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.744e-05/1.843, allocations: 8.844 kB / 0.8616 GB, free: 242.2 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002769/1.846, allocations: 1.658 MB / 0.8632 GB, free: 241.6 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06007/1.906, allocations: 0.9756 MB / 0.8642 GB, free: 241.3 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03339/1.939, allocations: 22.27 MB / 0.8859 GB, free: 228 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01124/1.951, allocations: 5.798 MB / 0.8916 GB, free: 226.1 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00864/1.959, allocations: 2.891 MB / 0.8944 GB, free: 225.8 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001348/1.961, allocations: 418.9 kB / 0.8948 GB, free: 225.8 MB / 0.6075 GB Notification: Performance of SimCode: time 1.112e-06/1.961, allocations: 0 / 0.8948 GB, free: 225.8 MB / 0.6075 GB Notification: Performance of Templates: time 0.09506/2.056, allocations: 49.06 MB / 0.9427 GB, free: 200.4 MB / 0.6075 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: