Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001142/0.001142, allocations: 181.8 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.604/1.604, allocations: 194.3 MB / 207.5 MB, free: 3.457 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001605/0.001605, allocations: 112 kB / 252.6 MB, free: 4.777 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2098/0.2098, allocations: 39.94 MB / 337.5 MB, free: 496 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.917e-05/4.919e-05, allocations: 0 / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1228, allocations: 54.87 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4537/0.5767, allocations: 100.8 MB / 0.5429 GB, free: 7.023 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003264/0.5771, allocations: 74.72 kB / 0.543 GB, free: 6.988 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7873/1.364, allocations: 200.7 MB / 0.739 GB, free: 79.43 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.856e-06/1.364, allocations: 0 / 0.739 GB, free: 79.43 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004686/1.365, allocations: 197.2 kB / 0.7392 GB, free: 79.43 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3662 * Number of variables: 3662 Notification: Performance of Generate backend data structure: time 0.03125/1.396, allocations: 9.422 MB / 0.7484 GB, free: 75.73 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/1.396, allocations: 9.156 kB / 0.7484 GB, free: 75.73 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02247/1.419, allocations: 4.027 MB / 0.7523 GB, free: 75.02 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02418/1.443, allocations: 10.56 MB / 0.7626 GB, free: 73.09 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008769/1.444, allocations: 0.7947 MB / 0.7634 GB, free: 72.88 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005663/1.45, allocations: 1.042 MB / 0.7644 GB, free: 72.18 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05848/1.508, allocations: 24.08 MB / 0.7879 GB, free: 46.68 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005801/1.509, allocations: 95.16 kB / 0.788 GB, free: 46.58 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005793/1.515, allocations: 492.4 kB / 0.7885 GB, free: 46.17 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003974/1.519, allocations: 2.27 MB / 0.7907 GB, free: 43.9 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04046/1.559, allocations: 18.98 MB / 0.8092 GB, free: 24.9 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.45/2.009, allocations: 94.14 MB / 0.9012 GB, free: 42.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02131/2.031, allocations: 7.535 MB / 0.9085 GB, free: 41.52 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004683/2.035, allocations: 3.032 MB / 0.9115 GB, free: 41.46 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.021/2.056, allocations: 13.3 MB / 0.9245 GB, free: 38.19 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.23e-05/2.056, allocations: 74.03 kB / 0.9245 GB, free: 38.15 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=336): time 6.472e-06/2.056, allocations: 0 / 0.9245 GB, free: 38.15 MB / 0.4948 GB Notification: Performance of matching and sorting (n=360): time 0.05028/2.107, allocations: 18.77 MB / 0.9429 GB, free: 32.44 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.26e-05/2.107, allocations: 165.4 kB / 0.943 GB, free: 32.28 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01228/2.119, allocations: 6.391 MB / 0.9493 GB, free: 31.72 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007073/2.12, allocations: 88.52 kB / 0.9494 GB, free: 31.69 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004329/2.124, allocations: 6.81 MB / 0.956 GB, free: 27.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001517/2.126, allocations: 1.356 MB / 0.9573 GB, free: 27.12 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006621/2.126, allocations: 215.4 kB / 0.9575 GB, free: 27.12 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005554/2.127, allocations: 0.7534 MB / 0.9583 GB, free: 26.79 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004255/2.131, allocations: 2.983 MB / 0.9612 GB, free: 26.77 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008414/2.14, allocations: 9.469 MB / 0.9704 GB, free: 17.19 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008157/2.148, allocations: 5.234 MB / 0.9756 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002237/2.148, allocations: 65.31 kB / 0.9756 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1390) (initialization): time 0.0217/2.17, allocations: 12.19 MB / 0.9875 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001293/2.17, allocations: 103.9 kB / 0.9876 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000239/2.17, allocations: 231.6 kB / 0.9878 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002865/2.171, allocations: 342.5 kB / 0.9882 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008678/2.179, allocations: 2.62 MB / 0.9907 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003607/2.18, allocations: 449.8 kB / 0.9912 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009549/2.189, allocations: 0.6806 MB / 0.9918 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00245/2.192, allocations: 0.6399 MB / 0.9924 GB, free: 10.95 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1052 * Number of states: 0 () * Number of discrete variables: 69 (body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1366): * Single equations (assignments): 1363 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003285/2.195, allocations: 0.9456 MB / 0.9934 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001699/2.197, allocations: 0.6728 MB / 0.994 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007563/2.204, allocations: 3.985 MB / 0.9979 GB, free: 8.258 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-05/2.204, allocations: 43.23 kB / 0.998 GB, free: 8.254 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/2.204, allocations: 3.625 kB / 0.998 GB, free: 8.254 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.841e-05/2.204, allocations: 13.45 kB / 0.998 GB, free: 8.254 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3742/2.579, allocations: 50.13 MB / 1.047 GB, free: 118 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001605/2.579, allocations: 72.06 kB / 1.047 GB, free: 118 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00301/2.582, allocations: 0.7395 MB / 1.048 GB, free: 118 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.713e-05/2.582, allocations: 104.1 kB / 1.048 GB, free: 118 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003738/2.582, allocations: 165.3 kB / 1.048 GB, free: 118 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.696e-05/2.582, allocations: 144.8 kB / 1.048 GB, free: 118 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.248e-05/2.583, allocations: 114.9 kB / 1.048 GB, free: 118 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01138/2.594, allocations: 21.37 MB / 1.069 GB, free: 98.62 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002692/2.597, allocations: 0.793 MB / 1.07 GB, free: 98.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0017/2.598, allocations: 171.4 kB / 1.07 GB, free: 98.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00552/2.604, allocations: 278.1 kB / 1.07 GB, free: 98.53 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001297/2.605, allocations: 484.1 kB / 1.071 GB, free: 98.47 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008098/2.606, allocations: 203.7 kB / 1.071 GB, free: 98.47 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01193/2.618, allocations: 4.458 MB / 1.075 GB, free: 98.23 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.42e-07/2.618, allocations: 5.562 kB / 1.075 GB, free: 98.23 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01434/2.632, allocations: 1.875 MB / 1.077 GB, free: 98.23 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 330 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (376): * Single equations (assignments): 373 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001689/2.634, allocations: 338.2 kB / 1.077 GB, free: 98.14 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01196/2.646, allocations: 7.304 MB / 1.085 GB, free: 98.09 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-05/2.646, allocations: 13.97 kB / 1.085 GB, free: 98.09 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003512/2.65, allocations: 2.075 MB / 1.087 GB, free: 97.87 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008686/2.658, allocations: 1.037 MB / 1.088 GB, free: 97.83 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04028/2.699, allocations: 18.04 MB / 1.105 GB, free: 91.84 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01628/2.715, allocations: 7.129 MB / 1.112 GB, free: 90.89 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01144/2.727, allocations: 3.318 MB / 1.115 GB, free: 90.61 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00204/2.729, allocations: 490 kB / 1.116 GB, free: 90.6 MB / 0.5261 GB Notification: Performance of SimCode: time 1.422e-06/2.729, allocations: 0 / 1.116 GB, free: 90.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.1333/2.862, allocations: 56.25 MB / 1.171 GB, free: 69.23 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe 2>&1)