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.001233/0.001233, allocations: 181.1 kB / 7.651 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.411/1.411, allocations: 194.3 MB / 202.4 MB, free: 8.543 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.001686/0.001686, allocations: 114.3 kB / 247.4 MB, free: 6.215 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.2375/0.2375, allocations: 39.93 MB / 332.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.639e-05/1.691e-05, allocations: 3.984 kB / 393.3 MB, free: 75.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1199, allocations: 54.87 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4416/0.5616, allocations: 100.2 MB / 0.5355 GB, free: 116 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002934/0.5619, allocations: 74.53 kB / 0.5356 GB, free: 80 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6936/1.256, allocations: 194.7 MB / 0.7257 GB, free: 80.64 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.814e-06/1.256, allocations: 4 kB / 0.7257 GB, free: 80.64 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004137/1.256, allocations: 198 kB / 0.7259 GB, free: 80.63 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.03087/1.287, allocations: 9.414 MB / 0.7351 GB, free: 76.95 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/1.287, allocations: 10.78 kB / 0.7351 GB, free: 76.95 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0224/1.309, allocations: 4.025 MB / 0.739 GB, free: 76.23 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02646/1.336, allocations: 10.56 MB / 0.7493 GB, free: 75.07 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008705/1.337, allocations: 347.4 kB / 0.7496 GB, free: 75.07 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005268/1.342, allocations: 0.6068 MB / 0.7502 GB, free: 75.06 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02805/1.37, allocations: 14.54 MB / 0.7644 GB, free: 71.85 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05315/1.423, allocations: 20.74 MB / 0.7847 GB, free: 52.45 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006356/1.424, allocations: 102.1 kB / 0.7848 GB, free: 52.35 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00549/1.43, allocations: 48 kB / 0.7848 GB, free: 52.3 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00394/1.434, allocations: 2.271 MB / 0.7871 GB, free: 50.43 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4369/1.87, allocations: 93.78 MB / 0.8786 GB, free: 40.83 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007126/1.878, allocations: 4.135 MB / 0.8827 GB, free: 40.16 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003263/1.881, allocations: 1.939 MB / 0.8846 GB, free: 40.11 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002257/1.881, allocations: 60.27 kB / 0.8846 GB, free: 40.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.392e-05/1.881, allocations: 74.73 kB / 0.8847 GB, free: 40.06 MB / 490.7 MB Notification: Performance of pre-optimization done (n=330): time 6.983e-06/1.881, allocations: 0 / 0.8847 GB, free: 40.06 MB / 490.7 MB Notification: Performance of matching and sorting (n=342): time 0.03146/1.913, allocations: 14.88 MB / 0.8992 GB, free: 34.52 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.707e-05/1.913, allocations: 167.6 kB / 0.8994 GB, free: 34.36 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009374/1.922, allocations: 5.658 MB / 0.9049 GB, free: 33.82 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009547/1.923, allocations: 29.67 kB / 0.9049 GB, free: 33.79 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005704/1.929, allocations: 6.96 MB / 0.9117 GB, free: 30 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001797/1.931, allocations: 1.259 MB / 0.913 GB, free: 29.27 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007477/1.932, allocations: 0 / 0.913 GB, free: 29.27 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005161/1.932, allocations: 0.7727 MB / 0.9137 GB, free: 28.94 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003938/1.936, allocations: 2.863 MB / 0.9165 GB, free: 28.92 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007355/1.943, allocations: 9.629 MB / 0.9259 GB, free: 20.09 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008094/1.951, allocations: 5.162 MB / 0.931 GB, free: 20.03 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00024/1.952, allocations: 68.44 kB / 0.931 GB, free: 20.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=1444) (initialization): time 0.02385/1.976, allocations: 11.06 MB / 0.9418 GB, free: 18.29 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002123/1.976, allocations: 112.1 kB / 0.9419 GB, free: 18.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004095/1.976, allocations: 243.7 kB / 0.9422 GB, free: 18.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003595/1.977, allocations: 357.2 kB / 0.9425 GB, free: 18.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01132/1.988, allocations: 2.708 MB / 0.9452 GB, free: 17.97 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004857/1.989, allocations: 483.6 kB / 0.9456 GB, free: 17.87 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01046/1.999, allocations: 0.4927 MB / 0.9461 GB, free: 17.85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002437/2.001, allocations: 0.6625 MB / 0.9467 GB, free: 17.76 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1112 * 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 (1420): * Single equations (assignments): 1417 * 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.003395/2.005, allocations: 0.7034 MB / 0.9474 GB, free: 17.19 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001765/2.007, allocations: 0.6177 MB / 0.948 GB, free: 16.85 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007693/2.014, allocations: 3.569 MB / 0.9515 GB, free: 15.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.145e-05/2.014, allocations: 34.17 kB / 0.9516 GB, free: 15.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.987e-05/2.014, allocations: 3.594 kB / 0.9516 GB, free: 15.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.15e-05/2.015, allocations: 14.62 kB / 0.9516 GB, free: 15.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05723/2.072, allocations: 36.92 MB / 0.9876 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001056/2.072, allocations: 80 kB / 0.9877 GB, free: 9.258 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002696/2.075, allocations: 0.8139 MB / 0.9885 GB, free: 8.547 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001085/2.075, allocations: 116.6 kB / 0.9886 GB, free: 8.434 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002697/2.075, allocations: 125.8 kB / 0.9887 GB, free: 8.316 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001048/2.075, allocations: 165.2 kB / 0.9889 GB, free: 8.172 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.623e-05/2.075, allocations: 136.3 kB / 0.989 GB, free: 8.043 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0186/2.094, allocations: 22.58 MB / 1.011 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002468/2.096, allocations: 0.7638 MB / 1.012 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001375/2.098, allocations: 126.5 kB / 1.012 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004296/2.102, allocations: 191.9 kB / 1.012 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009052/2.103, allocations: 0.5397 MB / 1.013 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004412/2.103, allocations: 239.7 kB / 1.013 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.009065/2.113, allocations: 3.774 MB / 1.017 GB, free: 8.871 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.21e-07/2.113, allocations: 0 / 1.017 GB, free: 8.871 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01542/2.128, allocations: 1.589 MB / 1.018 GB, free: 7.285 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 378 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (426): * Single equations (assignments): 423 * 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.001669/2.13, allocations: 306.4 kB / 1.018 GB, free: 6.984 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01459/2.144, allocations: 6.745 MB / 1.025 GB, free: 0.8867 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 0.0001035/2.144, allocations: 12 kB / 1.025 GB, free: 0.875 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004303/2.149, allocations: 1.933 MB / 1.027 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007451/2.156, allocations: 0.8543 MB / 1.028 GB, free: 14.58 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0481/2.204, allocations: 18.02 MB / 1.045 GB, free: 13.11 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02346/2.228, allocations: 7.124 MB / 1.052 GB, free: 7.934 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01374/2.242, allocations: 3.392 MB / 1.056 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00301/2.245, allocations: 477.8 kB / 1.056 GB, free: 5.367 MB / 0.5573 GB Notification: Performance of SimCode: time 8.72e-07/2.245, allocations: 0 / 1.056 GB, free: 5.367 MB / 0.5573 GB Notification: Performance of Templates: time 0.4187/2.664, allocations: 48.62 MB / 1.104 GB, free: 145.3 MB / 0.5573 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)