Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2.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.CutForce2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001033/0.001033, allocations: 182.1 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.484/1.484, allocations: 194.3 MB / 207.5 MB, free: 3.457 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.001609/0.00161, allocations: 120 kB / 252.6 MB, free: 4.836 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.2141/0.2141, allocations: 39.95 MB / 337.5 MB, free: 476 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.102e-05/3.106e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1174, allocations: 54.85 MB / 455.1 MB, free: 15 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4197/0.5372, allocations: 95.83 MB / 0.5381 GB, free: 11.92 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003201/0.5376, allocations: 78.39 kB / 0.5381 GB, free: 11.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1378/0.6754, allocations: 55.13 MB / 0.592 GB, free: 12.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.6755, allocations: 0 / 0.592 GB, free: 12.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.831e-05/0.6756, allocations: 52 kB / 0.592 GB, free: 12.09 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: 1058 * Number of variables: 1058 Notification: Performance of Generate backend data structure: time 0.006823/0.6824, allocations: 2.613 MB / 0.5946 GB, free: 9.629 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.6825, allocations: 8.031 kB / 0.5946 GB, free: 9.621 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008112/0.6906, allocations: 1.816 MB / 0.5964 GB, free: 7.801 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004858/0.6955, allocations: 1.719 MB / 0.598 GB, free: 6.363 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001828/0.6957, allocations: 217.7 kB / 0.5982 GB, free: 6.148 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007217/0.6964, allocations: 279.9 kB / 0.5985 GB, free: 5.875 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01152/0.708, allocations: 6.577 MB / 0.6049 GB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.282e-05/0.7081, allocations: 19.81 kB / 0.6049 GB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003818/0.7085, allocations: 127.9 kB / 0.6051 GB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008822/0.7094, allocations: 0.6804 MB / 0.6057 GB, free: 14.08 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01021/0.7196, allocations: 5.708 MB / 0.6113 GB, free: 8.359 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03335/0.753, allocations: 23.03 MB / 0.6338 GB, free: 0.6562 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004638/0.7577, allocations: 2.218 MB / 0.636 GB, free: 14.31 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00109/0.7588, allocations: 0.7619 MB / 0.6367 GB, free: 13.54 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006807/0.7656, allocations: 3.761 MB / 0.6404 GB, free: 9.637 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.093e-05/0.7657, allocations: 51.06 kB / 0.6404 GB, free: 9.578 MB / 458.7 MB Notification: Performance of pre-optimization done (n=93): time 2.925e-06/0.7657, allocations: 0 / 0.6404 GB, free: 9.578 MB / 458.7 MB Notification: Performance of matching and sorting (n=93): time 0.005074/0.7708, allocations: 1.707 MB / 0.6421 GB, free: 7.863 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.017e-05/0.7709, allocations: 67.95 kB / 0.6422 GB, free: 7.785 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002976/0.7739, allocations: 1.751 MB / 0.6439 GB, free: 6.035 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.571e-05/0.774, allocations: 33.7 kB / 0.6439 GB, free: 5.996 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001436/0.7754, allocations: 1.949 MB / 0.6458 GB, free: 4.016 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003497/0.7758, allocations: 363.3 kB / 0.6462 GB, free: 3.656 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.7759, allocations: 60 kB / 0.6462 GB, free: 3.598 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003297/0.7762, allocations: 0.4936 MB / 0.6467 GB, free: 3.094 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00138/0.7776, allocations: 0.8925 MB / 0.6476 GB, free: 2.199 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002522/0.7802, allocations: 2.819 MB / 0.6503 GB, free: 14.42 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002112/0.7823, allocations: 1.617 MB / 0.6519 GB, free: 12.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.91e-05/0.7823, allocations: 20 kB / 0.6519 GB, free: 12.78 MB / 474.7 MB Notification: Performance of matching and sorting (n=409) (initialization): time 0.005689/0.788, allocations: 3.611 MB / 0.6554 GB, free: 9.164 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.411e-05/0.7881, allocations: 32 kB / 0.6555 GB, free: 9.133 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-05/0.7882, allocations: 68 kB / 0.6555 GB, free: 9.066 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001154/0.7883, allocations: 104 kB / 0.6556 GB, free: 8.965 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002066/0.7904, allocations: 0.7057 MB / 0.6563 GB, free: 8.258 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-05/0.7905, allocations: 128 kB / 0.6565 GB, free: 8.133 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00225/0.7928, allocations: 439.4 kB / 0.6569 GB, free: 7.699 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003007/0.7931, allocations: 192 kB / 0.6571 GB, free: 7.512 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 310 * 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 (385): * Single equations (assignments): 382 * 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.0004819/0.7936, allocations: 345.5 kB / 0.6574 GB, free: 7.168 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002485/0.7938, allocations: 169.8 kB / 0.6575 GB, free: 7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001933/0.7958, allocations: 1.161 MB / 0.6587 GB, free: 5.824 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.617e-05/0.7958, allocations: 15.98 kB / 0.6587 GB, free: 5.809 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.7958, allocations: 3.953 kB / 0.6587 GB, free: 5.805 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.7958, allocations: 3.984 kB / 0.6587 GB, free: 5.801 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008628/0.8045, allocations: 4.955 MB / 0.6635 GB, free: 0.6602 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/0.8045, allocations: 8 kB / 0.6635 GB, free: 0.6523 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005464/0.8051, allocations: 139.8 kB / 0.6637 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.911e-05/0.8051, allocations: 12 kB / 0.6637 GB, free: 0.5039 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.643e-05/0.8052, allocations: 27.98 kB / 0.6637 GB, free: 488 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-05/0.8052, allocations: 19.94 kB / 0.6637 GB, free: 468 kB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.527e-06/0.8052, allocations: 11.94 kB / 0.6638 GB, free: 456 kB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002125/0.8073, allocations: 2.168 MB / 0.6659 GB, free: 13.82 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005143/0.8079, allocations: 274.6 kB / 0.6661 GB, free: 13.53 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001685/0.8081, allocations: 27.98 kB / 0.6662 GB, free: 13.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005707/0.8086, allocations: 39.88 kB / 0.6662 GB, free: 13.46 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.8087, allocations: 75.72 kB / 0.6663 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-05/0.8088, allocations: 39.98 kB / 0.6663 GB, free: 13.35 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002061/0.8109, allocations: 1.28 MB / 0.6676 GB, free: 12.04 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.8109, allocations: 0 / 0.6676 GB, free: 12.04 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002975/0.8139, allocations: 0.7427 MB / 0.6683 GB, free: 11.29 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 67 * 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.0003148/0.8142, allocations: 150.9 kB / 0.6684 GB, free: 11.13 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003319/0.8176, allocations: 2.126 MB / 0.6705 GB, free: 9.016 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.8176, allocations: 4 kB / 0.6705 GB, free: 9.012 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006686/0.8183, allocations: 0.5383 MB / 0.671 GB, free: 8.473 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/0.8195, allocations: 239.3 kB / 0.6713 GB, free: 8.234 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009004/0.8285, allocations: 4.489 MB / 0.6756 GB, free: 3.59 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003007/0.8316, allocations: 2.453 MB / 0.678 GB, free: 1.109 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002618/0.8342, allocations: 1.016 MB / 0.679 GB, free: 92 kB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2944/1.129, allocations: 130.1 kB / 0.6792 GB, free: 140.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.382e-06/1.129, allocations: 0.9375 kB / 0.6792 GB, free: 140.2 MB / 490.7 MB Notification: Performance of Templates: time 0.04199/1.171, allocations: 14.68 MB / 0.6935 GB, free: 139.8 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1)