Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.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.CutForce2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009689/0.0009687, allocations: 167.8 kB / 7.638 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.235/1.235, allocations: 170.7 MB / 178.7 MB, free: 15.64 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.001611/0.001611, allocations: 117.1 kB / 218 MB, free: 8.41 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.1951/0.1951, allocations: 37.99 MB / 295.1 MB, free: 9.496 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.494e-05/1.496e-05, allocations: 2.469 kB / 350 MB, free: 37.03 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1154, allocations: 48.73 MB / 398.7 MB, free: 5.363 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4339/0.5494, allocations: 88.56 MB / 487.3 MB, free: 17.96 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/0.5498, allocations: 76.58 kB / 487.4 MB, free: 17.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1177/0.6675, allocations: 53.84 MB / 0.5285 GB, free: 12.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.6675, allocations: 0 / 0.5285 GB, free: 12.32 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.733e-05/0.6676, allocations: 52 kB / 0.5286 GB, free: 12.27 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1058 * Number of variables: 1058 Notification: Performance of Generate backend data structure: time 0.006553/0.6742, allocations: 2.605 MB / 0.5311 GB, free: 9.828 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.6742, allocations: 12.03 kB / 0.5311 GB, free: 9.816 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007666/0.6819, allocations: 1.821 MB / 0.5329 GB, free: 7.992 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004366/0.6863, allocations: 1.717 MB / 0.5346 GB, free: 6.617 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001397/0.6865, allocations: 96 kB / 0.5347 GB, free: 6.523 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008548/0.6873, allocations: 160 kB / 0.5348 GB, free: 6.367 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007961/0.6953, allocations: 4.377 MB / 0.5391 GB, free: 2.469 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01256/0.7079, allocations: 6.057 MB / 0.545 GB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.411e-05/0.708, allocations: 19.81 kB / 0.545 GB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003312/0.7084, allocations: 12 kB / 0.545 GB, free: 12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001062/0.7094, allocations: 0.6772 MB / 0.5457 GB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03193/0.7414, allocations: 22.35 MB / 0.5675 GB, free: 4.434 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00205/0.7435, allocations: 1.554 MB / 0.5691 GB, free: 2.754 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007827/0.7443, allocations: 0.5782 MB / 0.5696 GB, free: 2.176 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.251e-05/0.7444, allocations: 20.62 kB / 0.5696 GB, free: 2.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.7444, allocations: 39.34 kB / 0.5697 GB, free: 2.109 MB / 378.7 MB Notification: Performance of pre-optimization done (n=108): time 3.848e-06/0.7444, allocations: 4 kB / 0.5697 GB, free: 2.105 MB / 378.7 MB Notification: Performance of matching and sorting (n=108): time 0.003762/0.7482, allocations: 1.55 MB / 0.5712 GB, free: 0.5469 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.7483, allocations: 60.19 kB / 0.5713 GB, free: 488 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002239/0.7505, allocations: 1.576 MB / 0.5728 GB, free: 14.9 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.719e-05/0.7506, allocations: 25.7 kB / 0.5728 GB, free: 14.87 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001156/0.7517, allocations: 1.972 MB / 0.5747 GB, free: 12.86 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003428/0.7521, allocations: 406.7 kB / 0.5751 GB, free: 12.46 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.364e-05/0.7522, allocations: 0 / 0.5751 GB, free: 12.46 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002912/0.7525, allocations: 0.4902 MB / 0.5756 GB, free: 11.96 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/0.7537, allocations: 0.9046 MB / 0.5765 GB, free: 11.05 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002749/0.7565, allocations: 2.945 MB / 0.5794 GB, free: 7.082 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002338/0.7588, allocations: 1.663 MB / 0.581 GB, free: 5.414 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-05/0.7589, allocations: 24 kB / 0.581 GB, free: 5.391 MB / 394.7 MB Notification: Performance of matching and sorting (n=440) (initialization): time 0.005231/0.7641, allocations: 3.425 MB / 0.5844 GB, free: 1.965 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.914e-05/0.7642, allocations: 39.16 kB / 0.5844 GB, free: 1.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.873e-05/0.7643, allocations: 76 kB / 0.5845 GB, free: 1.855 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001163/0.7644, allocations: 112 kB / 0.5846 GB, free: 1.746 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002212/0.7666, allocations: 0.7564 MB / 0.5853 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.566e-05/0.7667, allocations: 143.4 kB / 0.5855 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002115/0.7689, allocations: 383.4 kB / 0.5858 GB, free: 480 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002796/0.7692, allocations: 204 kB / 0.586 GB, free: 276 kB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 334 * Number of states: 0 () * Number of discrete variables: 21 (WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (416): * Single equations (assignments): 413 * 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.0004269/0.7696, allocations: 297.4 kB / 0.5863 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002335/0.7698, allocations: 165.8 kB / 0.5865 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002161/0.772, allocations: 1.334 MB / 0.5878 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-05/0.772, allocations: 12 kB / 0.5878 GB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.7721, allocations: 0 / 0.5878 GB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.7721, allocations: 3.984 kB / 0.5878 GB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008332/0.7804, allocations: 4.906 MB / 0.5926 GB, free: 9.355 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/0.7805, allocations: 8 kB / 0.5926 GB, free: 9.348 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006355/0.7811, allocations: 159.7 kB / 0.5927 GB, free: 9.191 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.432e-05/0.7811, allocations: 16 kB / 0.5927 GB, free: 9.176 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.06e-05/0.7812, allocations: 20 kB / 0.5928 GB, free: 9.156 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.987e-05/0.7812, allocations: 23.92 kB / 0.5928 GB, free: 9.133 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.45e-05/0.7813, allocations: 15.94 kB / 0.5928 GB, free: 9.117 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002706/0.784, allocations: 2.397 MB / 0.5951 GB, free: 6.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004927/0.7845, allocations: 250.7 kB / 0.5954 GB, free: 6.004 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001757/0.7847, allocations: 15.98 kB / 0.5954 GB, free: 5.988 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005918/0.7853, allocations: 27.97 kB / 0.5954 GB, free: 5.961 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.7854, allocations: 95.41 kB / 0.5955 GB, free: 5.867 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-05/0.7855, allocations: 44 kB / 0.5955 GB, free: 5.824 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001641/0.7871, allocations: 1.054 MB / 0.5966 GB, free: 4.777 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.7872, allocations: 0 / 0.5966 GB, free: 4.777 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003118/0.7903, allocations: 0.6954 MB / 0.5973 GB, free: 4.082 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * 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.0003859/0.7907, allocations: 146.9 kB / 0.5974 GB, free: 3.926 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003513/0.7942, allocations: 2.149 MB / 0.5995 GB, free: 1.797 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.7942, allocations: 256 / 0.5995 GB, free: 1.797 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007804/0.795, allocations: 0.6 MB / 0.6001 GB, free: 1.199 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.796, allocations: 173.8 kB / 0.6002 GB, free: 1.027 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009194/0.8052, allocations: 4.68 MB / 0.6048 GB, free: 12.17 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002451/0.8077, allocations: 2.464 MB / 0.6072 GB, free: 9.68 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002821/0.8106, allocations: 1.128 MB / 0.6083 GB, free: 8.547 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003164/0.8109, allocations: 131.4 kB / 0.6085 GB, free: 8.418 MB / 426.7 MB Notification: Performance of SimCode: time 8.72e-07/0.8109, allocations: 0 / 0.6085 GB, free: 8.418 MB / 426.7 MB Notification: Performance of Templates: time 0.2629/1.074, allocations: 12.19 MB / 0.6204 GB, free: 111.6 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1)