Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce.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.CutForce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce") translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.006587/0.006587, allocations: 174.9 kB / 15.12 MB, free: 5.973 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.448/1.448, allocations: 194.5 MB / 210.3 MB, free: 7.539 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.001805/0.001805, allocations: 124.5 kB / 255.6 MB, free: 10.14 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1801/0.1801, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003704/0.0003705, allocations: 11.06 kB / 406.1 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.107, allocations: 54.88 MB / 461 MB, free: 3.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4146/0.5217, allocations: 98.78 MB / 0.5467 GB, free: 21.82 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/0.522, allocations: 83.62 kB / 0.5468 GB, free: 21.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4083/0.9302, allocations: 158.9 MB / 0.702 GB, free: 3.645 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.995e-06/0.9303, allocations: 0 / 0.702 GB, free: 3.645 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0006499/0.931, allocations: 156 kB / 0.7021 GB, free: 3.492 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: 2796 * Number of variables: 2796 Notification: Performance of Generate backend data structure: time 0.03189/0.9629, allocations: 8.292 MB / 0.7102 GB, free: 11.11 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/0.9629, allocations: 16.03 kB / 0.7102 GB, free: 11.09 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02078/0.9837, allocations: 3.616 MB / 0.7138 GB, free: 7.461 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3485/1.332, allocations: 9.586 MB / 0.7231 GB, free: 75.73 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001081/1.333, allocations: 0.6096 MB / 0.7237 GB, free: 75.71 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005412/1.339, allocations: 0.7953 MB / 0.7245 GB, free: 75.71 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05752/1.396, allocations: 18.94 MB / 0.743 GB, free: 71.65 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005268/1.397, allocations: 94.22 kB / 0.7431 GB, free: 71.65 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003697/1.401, allocations: 384.8 kB / 0.7435 GB, free: 71.65 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003138/1.404, allocations: 1.775 MB / 0.7452 GB, free: 71.63 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03622/1.44, allocations: 14.96 MB / 0.7598 GB, free: 71.57 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1105/1.551, allocations: 79.01 MB / 0.837 GB, free: 38.37 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01677/1.567, allocations: 6.09 MB / 0.8429 GB, free: 36.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02277/1.59, allocations: 11 MB / 0.8536 GB, free: 31.05 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.53e-05/1.59, allocations: 66.59 kB / 0.8537 GB, free: 30.99 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=238): time 5.941e-06/1.59, allocations: 0 / 0.8537 GB, free: 30.99 MB / 0.4948 GB Notification: Performance of matching and sorting (n=262): time 0.04708/1.637, allocations: 16.26 MB / 0.8696 GB, free: 24.41 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/1.638, allocations: 164 kB / 0.8697 GB, free: 24.25 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01506/1.653, allocations: 5.911 MB / 0.8755 GB, free: 19.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006419/1.653, allocations: 65.7 kB / 0.8756 GB, free: 19.73 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004864/1.658, allocations: 5.583 MB / 0.881 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001356/1.66, allocations: 1.007 MB / 0.882 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008074/1.66, allocations: 176 kB / 0.8822 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005764/1.661, allocations: 0.6792 MB / 0.8829 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004449/1.665, allocations: 2.563 MB / 0.8854 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008831/1.674, allocations: 8.164 MB / 0.8933 GB, free: 0.8711 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00891/1.683, allocations: 4.44 MB / 0.8977 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001731/1.683, allocations: 56 kB / 0.8977 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1152) (initialization): time 0.02567/1.709, allocations: 10.45 MB / 0.9079 GB, free: 3.719 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001821/1.709, allocations: 97.48 kB / 0.908 GB, free: 3.625 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003526/1.71, allocations: 200 kB / 0.9082 GB, free: 3.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003336/1.71, allocations: 295.4 kB / 0.9085 GB, free: 3.145 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008153/1.718, allocations: 2.171 MB / 0.9106 GB, free: 1.254 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003771/1.719, allocations: 391 kB / 0.911 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01158/1.73, allocations: 0.6094 MB / 0.9116 GB, free: 404 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00351/1.734, allocations: 0.5991 MB / 0.9122 GB, free: 0 / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 912 * Number of states: 0 () * Number of discrete variables: 57 (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.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.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.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.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 (1128): * Single equations (assignments): 1125 * 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.3099/2.044, allocations: 3.603 MB / 0.9157 GB, free: 94.68 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00184/2.046, allocations: 0.5762 MB / 0.9162 GB, free: 94.68 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006768/2.052, allocations: 2.804 MB / 0.919 GB, free: 94.54 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.019e-05/2.053, allocations: 28.09 kB / 0.919 GB, free: 94.54 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.548e-05/2.053, allocations: 1.031 kB / 0.919 GB, free: 94.54 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.68e-05/2.053, allocations: 18.03 kB / 0.919 GB, free: 94.54 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04794/2.101, allocations: 26.45 MB / 0.9449 GB, free: 92.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.066e-05/2.101, allocations: 57.22 kB / 0.9449 GB, free: 92.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001992/2.103, allocations: 0.5163 MB / 0.9454 GB, free: 92.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.999e-05/2.103, allocations: 75.3 kB / 0.9455 GB, free: 92.23 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002357/2.103, allocations: 116.1 kB / 0.9456 GB, free: 92.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.87e-05/2.103, allocations: 105.5 kB / 0.9457 GB, free: 92.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.818e-05/2.103, allocations: 93.02 kB / 0.9458 GB, free: 92.22 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01062/2.114, allocations: 14.59 MB / 0.96 GB, free: 79.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002716/2.117, allocations: 0.6809 MB / 0.9607 GB, free: 78.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001149/2.118, allocations: 123 kB / 0.9608 GB, free: 78.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002918/2.121, allocations: 205.7 kB / 0.961 GB, free: 78.99 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004438/2.121, allocations: 346.9 kB / 0.9613 GB, free: 78.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002538/2.121, allocations: 147 kB / 0.9615 GB, free: 78.95 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01036/2.132, allocations: 4.201 MB / 0.9656 GB, free: 78.73 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.52e-07/2.132, allocations: 0 / 0.9656 GB, free: 78.73 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01158/2.143, allocations: 1.494 MB / 0.967 GB, free: 78.73 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 240 * 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 (270): * Single equations (assignments): 267 * 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.001056/2.145, allocations: 290.8 kB / 0.9673 GB, free: 78.64 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01218/2.157, allocations: 5.971 MB / 0.9731 GB, free: 78.46 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.439e-05/2.157, allocations: 7.469 kB / 0.9732 GB, free: 78.46 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002905/2.16, allocations: 1.473 MB / 0.9746 GB, free: 78.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006357/2.166, allocations: 0.8607 MB / 0.9754 GB, free: 78.27 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03703/2.203, allocations: 20.01 MB / 0.995 GB, free: 68.65 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01198/2.215, allocations: 5.729 MB / 1.001 GB, free: 67.28 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01011/2.225, allocations: 2.797 MB / 1.003 GB, free: 67.14 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001536/2.227, allocations: 395.9 kB / 1.004 GB, free: 67.12 MB / 0.5105 GB Notification: Performance of SimCode: time 1.904e-06/2.227, allocations: 0 / 1.004 GB, free: 67.12 MB / 0.5105 GB Notification: Performance of Templates: time 0.1022/2.329, allocations: 45.73 MB / 1.048 GB, free: 53.48 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1)