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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002341/0.002341, allocations: 182.7 kB / 7.458 MB, free: 2.504 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.225/1.225, allocations: 194.2 MB / 202.1 MB, free: 8.664 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.001772/0.001771, allocations: 122.3 kB / 247.1 MB, free: 6.332 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.1744/0.1744, allocations: 39.94 MB / 331.9 MB, free: 4.898 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.019e-05/1.021e-05, allocations: 4 kB / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1004, allocations: 54.86 MB / 447.6 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2821/0.3826, allocations: 97.96 MB / 0.5328 GB, free: 2.453 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000194/0.3828, allocations: 76.52 kB / 0.5329 GB, free: 2.414 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.6096/0.9924, allocations: 153.5 MB / 0.6828 GB, free: 82.02 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0006663/0.9931, allocations: 152.2 kB / 0.6829 GB, free: 82.02 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.02705/1.02, allocations: 7.617 MB / 0.6903 GB, free: 79.06 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/1.02, allocations: 10.22 kB / 0.6903 GB, free: 79.06 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01798/1.038, allocations: 2.996 MB / 0.6933 GB, free: 78.51 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02404/1.062, allocations: 9.661 MB / 0.7027 GB, free: 77.55 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005821/1.063, allocations: 266.5 kB / 0.703 GB, free: 77.55 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004188/1.067, allocations: 477.8 kB / 0.7034 GB, free: 77.55 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02408/1.091, allocations: 11.6 MB / 0.7147 GB, free: 77.5 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04026/1.132, allocations: 16.73 MB / 0.7311 GB, free: 73.47 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006512/1.132, allocations: 87.28 kB / 0.7312 GB, free: 73.46 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003907/1.136, allocations: 45.62 kB / 0.7312 GB, free: 73.46 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003039/1.139, allocations: 1.893 MB / 0.7331 GB, free: 73.43 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1061/1.245, allocations: 81.12 MB / 0.8123 GB, free: 12.87 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004467/1.25, allocations: 3.017 MB / 0.8152 GB, free: 10 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002298/1.252, allocations: 1.613 MB / 0.8168 GB, free: 8.547 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01422/1.267, allocations: 7.778 MB / 0.8244 GB, free: 1.836 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/1.267, allocations: 51.81 kB / 0.8244 GB, free: 1.773 MB / 474.7 MB Notification: Performance of pre-optimization done (n=190): time 5.47e-06/1.267, allocations: 0 / 0.8244 GB, free: 1.773 MB / 474.7 MB Notification: Performance of matching and sorting (n=190): time 0.01437/1.281, allocations: 4.678 MB / 0.829 GB, free: 14.29 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.32e-05/1.281, allocations: 153.1 kB / 0.8292 GB, free: 14.11 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01152/1.293, allocations: 5.222 MB / 0.8343 GB, free: 9.527 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005798/1.293, allocations: 25.7 kB / 0.8343 GB, free: 9.496 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006448/1.3, allocations: 5.264 MB / 0.8394 GB, free: 4.781 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001395/1.301, allocations: 0.7666 MB / 0.8402 GB, free: 4.105 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009498/1.302, allocations: 3.938 kB / 0.8402 GB, free: 4.102 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0009506/1.303, allocations: 0.6747 MB / 0.8408 GB, free: 3.523 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004407/1.308, allocations: 2.253 MB / 0.843 GB, free: 1.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1951/1.503, allocations: 8.279 MB / 0.8511 GB, free: 133.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005413/1.508, allocations: 4.23 MB / 0.8553 GB, free: 133.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.955e-05/1.508, allocations: 61.66 kB / 0.8553 GB, free: 133.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=1164) (initialization): time 0.01521/1.523, allocations: 8.904 MB / 0.864 GB, free: 133.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/1.524, allocations: 3.25 kB / 0.864 GB, free: 133.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002447/1.524, allocations: 214.2 kB / 0.8642 GB, free: 133.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00027/1.524, allocations: 304.7 kB / 0.8645 GB, free: 133.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007446/1.532, allocations: 2.186 MB / 0.8666 GB, free: 133.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000253/1.532, allocations: 408.8 kB / 0.867 GB, free: 133.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008535/1.54, allocations: 1.158 MB / 0.8682 GB, free: 133.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001349/1.542, allocations: 0.5563 MB / 0.8687 GB, free: 133.1 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 960 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1140): * Single equations (assignments): 1137 * 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.001166/1.543, allocations: 0.61 MB / 0.8693 GB, free: 132.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008315/1.544, allocations: 0.5204 MB / 0.8698 GB, free: 132.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003132/1.547, allocations: 2.195 MB / 0.872 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.519e-05/1.547, allocations: 16.25 kB / 0.872 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/1.547, allocations: 5.5 kB / 0.872 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/1.547, allocations: 10.5 kB / 0.872 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0281/1.575, allocations: 24.44 MB / 0.8958 GB, free: 130.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.821e-05/1.575, allocations: 33.72 kB / 0.8959 GB, free: 130.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001455/1.577, allocations: 342.9 kB / 0.8962 GB, free: 130.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.448e-05/1.577, allocations: 43.97 kB / 0.8963 GB, free: 130.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001345/1.577, allocations: 58.3 kB / 0.8963 GB, free: 130.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.751e-05/1.577, allocations: 62.83 kB / 0.8964 GB, free: 130.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-05/1.577, allocations: 49.81 kB / 0.8964 GB, free: 130.5 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004492/1.581, allocations: 9.19 MB / 0.9054 GB, free: 122.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/1.582, allocations: 0.5987 MB / 0.906 GB, free: 122 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006288/1.583, allocations: 53.52 kB / 0.906 GB, free: 122 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002276/1.585, allocations: 139.4 kB / 0.9062 GB, free: 122 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002141/1.586, allocations: 190.2 kB / 0.9063 GB, free: 122 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001376/1.586, allocations: 96.78 kB / 0.9064 GB, free: 122 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.004663/1.59, allocations: 3.523 MB / 0.9099 GB, free: 121.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007774/1.598, allocations: 1.877 MB / 0.9117 GB, free: 121.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 143 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (170): * Single equations (assignments): 167 * 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.0004813/1.599, allocations: 189.8 kB / 0.9119 GB, free: 121.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006906/1.606, allocations: 5.294 MB / 0.9171 GB, free: 120.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.274e-05/1.606, allocations: 11.03 kB / 0.9171 GB, free: 120.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001273/1.607, allocations: 1.172 MB / 0.9182 GB, free: 120.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003289/1.61, allocations: 0.6527 MB / 0.9188 GB, free: 120.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02527/1.635, allocations: 12.94 MB / 0.9315 GB, free: 115.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008191/1.644, allocations: 6.074 MB / 0.9374 GB, free: 114.1 MB / 490.7 MB Notification: Performance of SimCode: time 1.392e-06/1.644, allocations: 0 / 0.9374 GB, free: 114.1 MB / 490.7 MB Notification: Performance of Templates: time 0.08875/1.732, allocations: 44.33 MB / 0.9807 GB, free: 85.68 MB / 490.7 MB 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)