Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.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.CutForceAndTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001043/0.001043, allocations: 182.5 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.642/1.642, allocations: 194.3 MB / 207.5 MB, free: 3.395 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.001751/0.001751, allocations: 109.7 kB / 252.6 MB, free: 4.809 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.21/0.21, allocations: 39.94 MB / 337.5 MB, free: 460 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.493e-05/3.493e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1123, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4593/0.5716, allocations: 100.8 MB / 0.5429 GB, free: 7.023 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/0.5719, allocations: 78.33 kB / 0.543 GB, free: 6.984 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7723/1.344, allocations: 199.5 MB / 0.7378 GB, free: 81.79 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.835e-06/1.344, allocations: 7.438 kB / 0.7378 GB, free: 81.79 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004463/1.345, allocations: 191.1 kB / 0.738 GB, free: 81.79 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.03402/1.379, allocations: 9.418 MB / 0.7472 GB, free: 78.09 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/1.379, allocations: 9.625 kB / 0.7472 GB, free: 78.09 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02246/1.401, allocations: 4.032 MB / 0.7511 GB, free: 77.38 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02597/1.427, allocations: 10.57 MB / 0.7614 GB, free: 75.21 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001282/1.429, allocations: 0.7883 MB / 0.7622 GB, free: 74.9 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007645/1.436, allocations: 1.044 MB / 0.7632 GB, free: 74.49 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06528/1.502, allocations: 24.08 MB / 0.7867 GB, free: 49.97 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006304/1.502, allocations: 99 kB / 0.7868 GB, free: 49.87 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005214/1.508, allocations: 496 kB / 0.7873 GB, free: 49.45 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003582/1.511, allocations: 2.267 MB / 0.7895 GB, free: 47.19 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04101/1.552, allocations: 18.99 MB / 0.8081 GB, free: 28.19 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4605/2.013, allocations: 94.14 MB / 0.9 GB, free: 45.26 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02142/2.034, allocations: 7.604 MB / 0.9074 GB, free: 44.58 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004937/2.039, allocations: 3.031 MB / 0.9104 GB, free: 44.53 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.027/2.066, allocations: 13.31 MB / 0.9234 GB, free: 41.25 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.107e-05/2.066, allocations: 67.47 kB / 0.9235 GB, free: 41.21 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=336): time 6.563e-06/2.066, allocations: 2.938 kB / 0.9235 GB, free: 41.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=360): time 0.05981/2.126, allocations: 18.77 MB / 0.9418 GB, free: 35.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/2.126, allocations: 161.5 kB / 0.9419 GB, free: 35.34 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01403/2.14, allocations: 6.396 MB / 0.9482 GB, free: 34.68 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007908/2.141, allocations: 80.88 kB / 0.9483 GB, free: 34.65 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004765/2.146, allocations: 6.81 MB / 0.9549 GB, free: 30.86 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001708/2.148, allocations: 1.36 MB / 0.9562 GB, free: 30.08 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001469/2.149, allocations: 214.4 kB / 0.9564 GB, free: 30.08 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001021/2.15, allocations: 0.7521 MB / 0.9572 GB, free: 29.75 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00528/2.156, allocations: 2.985 MB / 0.9601 GB, free: 28.78 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009666/2.165, allocations: 9.473 MB / 0.9693 GB, free: 19.07 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008705/2.174, allocations: 5.237 MB / 0.9745 GB, free: 17.53 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00031/2.174, allocations: 72.12 kB / 0.9745 GB, free: 17.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1390) (initialization): time 0.02508/2.199, allocations: 12.18 MB / 0.9864 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001385/2.2, allocations: 105.6 kB / 0.9865 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002824/2.2, allocations: 235.3 kB / 0.9868 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002853/2.2, allocations: 335.7 kB / 0.9871 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008972/2.209, allocations: 2.621 MB / 0.9896 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003546/2.21, allocations: 455.8 kB / 0.9901 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009957/2.22, allocations: 0.6781 MB / 0.9907 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002301/2.222, allocations: 0.639 MB / 0.9914 GB, free: 12.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 (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],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[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],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[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],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[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.002213/2.224, allocations: 0.945 MB / 0.9923 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001523/2.226, allocations: 0.6618 MB / 0.9929 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007585/2.233, allocations: 3.985 MB / 0.9968 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.748e-05/2.233, allocations: 40.39 kB / 0.9968 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.032e-05/2.233, allocations: 3.938 kB / 0.9969 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.089e-05/2.233, allocations: 20.45 kB / 0.9969 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07077/2.304, allocations: 41.68 MB / 1.038 GB, free: 6.371 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001949/2.305, allocations: 88 kB / 1.038 GB, free: 6.285 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003035/2.308, allocations: 0.8404 MB / 1.038 GB, free: 5.547 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001239/2.308, allocations: 128 kB / 1.039 GB, free: 5.422 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004089/2.308, allocations: 195.3 kB / 1.039 GB, free: 5.238 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001191/2.308, allocations: 170.3 kB / 1.039 GB, free: 5.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.403e-05/2.308, allocations: 139.4 kB / 1.039 GB, free: 4.953 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3393/2.648, allocations: 25.09 MB / 1.064 GB, free: 129.9 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002365/2.65, allocations: 0.8362 MB / 1.064 GB, free: 129.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007518/2.651, allocations: 204.4 kB / 1.065 GB, free: 129.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003213/2.654, allocations: 267.9 kB / 1.065 GB, free: 129.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000589/2.655, allocations: 0.5685 MB / 1.065 GB, free: 129.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000292/2.655, allocations: 243.9 kB / 1.066 GB, free: 129.8 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.008613/2.664, allocations: 4.453 MB / 1.07 GB, free: 129.5 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.01e-07/2.664, allocations: 0 / 1.07 GB, free: 129.5 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01167/2.675, allocations: 1.879 MB / 1.072 GB, free: 129.5 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 402 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (444): * Single equations (assignments): 441 * 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.0009671/2.676, allocations: 386.9 kB / 1.072 GB, free: 129.4 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01179/2.688, allocations: 7.274 MB / 1.079 GB, free: 129.3 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.811e-05/2.688, allocations: 13.72 kB / 1.079 GB, free: 129.3 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00301/2.691, allocations: 2.116 MB / 1.081 GB, free: 129.1 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007616/2.699, allocations: 1.077 MB / 1.082 GB, free: 129 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03672/2.735, allocations: 18.54 MB / 1.101 GB, free: 122.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0115/2.747, allocations: 7.158 MB / 1.108 GB, free: 121.5 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.009606/2.757, allocations: 3.319 MB / 1.111 GB, free: 121.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001626/2.758, allocations: 0.494 MB / 1.111 GB, free: 121.4 MB / 0.5417 GB Notification: Performance of SimCode: time 1.633e-06/2.758, allocations: 2 kB / 1.111 GB, free: 121.4 MB / 0.5417 GB Notification: Performance of Templates: time 0.1148/2.873, allocations: 57.55 MB / 1.167 GB, free: 100.3 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe 2>&1)