Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009511/0.00951, allocations: 165 kB / 15.11 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.487/1.487, allocations: 170.8 MB / 186.6 MB, free: 1.109 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001711/0.001711, allocations: 99.41 kB / 226.2 MB, free: 8.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3532/0.3532, allocations: 38.05 MB / 303.7 MB, free: 25.07 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004517/0.0004517, allocations: 12 kB / 362.9 MB, free: 13.81 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3216, allocations: 48.69 MB / 411.6 MB, free: 37.91 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1589/0.4806, allocations: 94.19 MB / 0.4939 GB, free: 0.6836 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/0.4809, allocations: 79.97 kB / 0.494 GB, free: 0.6055 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6901/1.171, allocations: 199.2 MB / 0.6885 GB, free: 15.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.756e-06/1.171, allocations: 0 / 0.6885 GB, free: 15.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005351/1.172, allocations: 196 kB / 0.6887 GB, free: 15.33 MB / 410.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.03602/1.208, allocations: 9.992 MB / 0.6985 GB, free: 5.234 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/1.208, allocations: 8.031 kB / 0.6985 GB, free: 5.227 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02119/1.229, allocations: 4.039 MB / 0.7024 GB, free: 1.168 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02782/1.257, allocations: 10.6 MB / 0.7128 GB, free: 6.484 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001061/1.258, allocations: 0.7981 MB / 0.7135 GB, free: 5.684 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006179/1.264, allocations: 1.035 MB / 0.7146 GB, free: 4.648 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3158/1.58, allocations: 24.39 MB / 0.7384 GB, free: 41.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005789/1.581, allocations: 97.42 kB / 0.7385 GB, free: 41.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003923/1.584, allocations: 494.1 kB / 0.7389 GB, free: 41.23 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003534/1.588, allocations: 2.27 MB / 0.7412 GB, free: 41.21 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04738/1.635, allocations: 19.52 MB / 0.7602 GB, free: 41.12 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1402/1.776, allocations: 94.2 MB / 0.8522 GB, free: 14.2 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02183/1.798, allocations: 7.743 MB / 0.8598 GB, free: 11.86 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02757/1.825, allocations: 13.3 MB / 0.8728 GB, free: 3.938 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.736e-05/1.825, allocations: 71.75 kB / 0.8728 GB, free: 3.859 MB / 458.7 MB Notification: Performance of pre-optimization done (n=336): time 5.911e-06/1.825, allocations: 0 / 0.8728 GB, free: 3.859 MB / 458.7 MB Notification: Performance of matching and sorting (n=360): time 0.05877/1.884, allocations: 20.85 MB / 0.8932 GB, free: 2.121 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/1.884, allocations: 166.2 kB / 0.8934 GB, free: 1.93 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2813/2.165, allocations: 7.27 MB / 0.9005 GB, free: 91.25 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006735/2.166, allocations: 80.36 kB / 0.9005 GB, free: 91.21 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004818/2.171, allocations: 6.807 MB / 0.9072 GB, free: 89 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001558/2.173, allocations: 1.359 MB / 0.9085 GB, free: 88.22 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009158/2.174, allocations: 212.8 kB / 0.9087 GB, free: 88.22 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005062/2.174, allocations: 0.7584 MB / 0.9095 GB, free: 87.9 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005615/2.18, allocations: 3.211 MB / 0.9126 GB, free: 87.88 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009096/2.189, allocations: 9.704 MB / 0.9221 GB, free: 79.5 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009163/2.198, allocations: 5.391 MB / 0.9273 GB, free: 79.45 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000176/2.198, allocations: 65.78 kB / 0.9274 GB, free: 79.45 MB / 474.7 MB Notification: Performance of matching and sorting (n=1390) (initialization): time 0.02705/2.225, allocations: 12.65 MB / 0.9397 GB, free: 78.45 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000464/2.226, allocations: 101.5 kB / 0.9398 GB, free: 78.45 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008581/2.227, allocations: 230.8 kB / 0.9401 GB, free: 78.45 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006264/2.227, allocations: 342.3 kB / 0.9404 GB, free: 78.45 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01064/2.238, allocations: 2.612 MB / 0.9429 GB, free: 78.23 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005173/2.238, allocations: 455.6 kB / 0.9434 GB, free: 78.13 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01045/2.249, allocations: 0.6834 MB / 0.944 GB, free: 78.12 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003117/2.252, allocations: 0.6425 MB / 0.9447 GB, free: 78.12 MB / 474.7 MB 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 () * Number of clocked 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.01251/2.265, allocations: 4.514 MB / 0.9491 GB, free: 77.62 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00199/2.267, allocations: 0.6745 MB / 0.9497 GB, free: 77.25 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008853/2.276, allocations: 4.096 MB / 0.9537 GB, free: 77.04 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.529e-05/2.276, allocations: 43.66 kB / 0.9538 GB, free: 77.03 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.969e-05/2.276, allocations: 0 / 0.9538 GB, free: 77.03 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.003e-05/2.276, allocations: 15.23 kB / 0.9538 GB, free: 77.03 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05809/2.334, allocations: 41.71 MB / 0.9945 GB, free: 63.84 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.275e-05/2.334, allocations: 91.66 kB / 0.9946 GB, free: 63.83 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002443/2.336, allocations: 0.8399 MB / 0.9954 GB, free: 63.73 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.683e-05/2.336, allocations: 126.1 kB / 0.9955 GB, free: 63.73 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002781/2.337, allocations: 193.2 kB / 0.9957 GB, free: 63.67 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.29e-05/2.337, allocations: 175.3 kB / 0.9959 GB, free: 63.63 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.781e-05/2.337, allocations: 137.8 kB / 0.996 GB, free: 63.6 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0111/2.348, allocations: 25.18 MB / 1.021 GB, free: 36.85 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002221/2.35, allocations: 0.8351 MB / 1.021 GB, free: 36.03 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001115/2.351, allocations: 213.5 kB / 1.022 GB, free: 35.84 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003827/2.355, allocations: 263.4 kB / 1.022 GB, free: 35.63 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005316/2.356, allocations: 0.5639 MB / 1.022 GB, free: 35.17 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002895/2.356, allocations: 245 kB / 1.023 GB, free: 34.94 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.008106/2.364, allocations: 4.651 MB / 1.027 GB, free: 31.19 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.61e-07/2.364, allocations: 0 / 1.027 GB, free: 31.19 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01262/2.377, allocations: 1.868 MB / 1.029 GB, free: 29.32 MB / 474.7 MB 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 () * Number of clocked 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.001374/2.378, allocations: 417.6 kB / 1.029 GB, free: 28.92 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01196/2.39, allocations: 7.551 MB / 1.037 GB, free: 22.33 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.464e-05/2.39, allocations: 12 kB / 1.037 GB, free: 22.32 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003015/2.393, allocations: 2.165 MB / 1.039 GB, free: 20.44 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005434/2.399, allocations: 1.076 MB / 1.04 GB, free: 19.54 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04401/2.443, allocations: 26.31 MB / 1.066 GB, free: 9.867 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2768/2.72, allocations: 7.267 MB / 1.073 GB, free: 84.19 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0116/2.731, allocations: 3.316 MB / 1.076 GB, free: 84.12 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002229/2.734, allocations: 0.4982 MB / 1.077 GB, free: 84.12 MB / 490.7 MB Notification: Performance of SimCode: time 1.502e-06/2.734, allocations: 0 / 1.077 GB, free: 84.12 MB / 490.7 MB Notification: Performance of Templates: time 0.1328/2.866, allocations: 57.52 MB / 1.133 GB, free: 81.24 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe 2>&1)