Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce.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.CutForce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce") translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1+maint.om/package.mo): time 0.003719/0.003722, allocations: 178.7 kB / 7.454 MB, free: 2.512 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.252/1.252, allocations: 170.6 MB / 178.4 MB, free: 15.4 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.001879/0.001879, allocations: 115.9 kB / 217.7 MB, free: 8.164 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.1768/0.1768, allocations: 37.98 MB / 294.8 MB, free: 9.625 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.776e-06/8.806e-06, allocations: 1.094 kB / 349.5 MB, free: 37.12 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1134, allocations: 48.72 MB / 398.2 MB, free: 5.703 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3996/0.513, allocations: 91.22 MB / 489.4 MB, free: 13.64 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002149/0.5133, allocations: 75.06 kB / 489.5 MB, free: 13.64 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.7016/1.215, allocations: 153.5 MB / 0.6279 GB, free: 64.53 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0008729/1.216, allocations: 157.8 kB / 0.628 GB, free: 64.52 MB / 426.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.02896/1.245, allocations: 7.615 MB / 0.6355 GB, free: 61.64 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/1.245, allocations: 14.47 kB / 0.6355 GB, free: 61.64 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0181/1.263, allocations: 2.996 MB / 0.6384 GB, free: 61.09 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02877/1.292, allocations: 9.653 MB / 0.6478 GB, free: 60.14 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007414/1.293, allocations: 259.6 kB / 0.6481 GB, free: 60.14 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005312/1.298, allocations: 483.8 kB / 0.6486 GB, free: 60.13 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0256/1.324, allocations: 11.6 MB / 0.6599 GB, free: 60.09 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04297/1.367, allocations: 16.72 MB / 0.6762 GB, free: 56.07 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003817/1.367, allocations: 92.91 kB / 0.6763 GB, free: 56.06 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002271/1.369, allocations: 43.81 kB / 0.6763 GB, free: 56.06 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002662/1.372, allocations: 1.9 MB / 0.6782 GB, free: 56.04 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1166/1.489, allocations: 81.12 MB / 0.7574 GB, free: 11.45 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004682/1.493, allocations: 3.032 MB / 0.7604 GB, free: 8.586 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002656/1.496, allocations: 1.617 MB / 0.762 GB, free: 7.133 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01743/1.514, allocations: 7.765 MB / 0.7695 GB, free: 440 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.737e-05/1.514, allocations: 51.88 kB / 0.7696 GB, free: 380 kB / 442.7 MB Notification: Performance of pre-optimization done (n=190): time 5.581e-06/1.514, allocations: 4 kB / 0.7696 GB, free: 376 kB / 442.7 MB Notification: Performance of matching and sorting (n=190): time 0.01739/1.531, allocations: 4.779 MB / 0.7743 GB, free: 13.12 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/1.531, allocations: 145.8 kB / 0.7744 GB, free: 12.94 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01529/1.547, allocations: 5.22 MB / 0.7795 GB, free: 8.363 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005291/1.547, allocations: 25.7 kB / 0.7795 GB, free: 8.332 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006456/1.554, allocations: 5.266 MB / 0.7847 GB, free: 3.613 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001704/1.555, allocations: 0.7609 MB / 0.7854 GB, free: 2.941 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001573/1.557, allocations: 0 / 0.7854 GB, free: 2.941 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.00143/1.558, allocations: 0.6847 MB / 0.7861 GB, free: 2.355 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00543/1.564, allocations: 2.255 MB / 0.7883 GB, free: 336 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2357/1.8, allocations: 8.752 MB / 0.7968 GB, free: 116.9 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007693/1.807, allocations: 4.234 MB / 0.801 GB, free: 116.9 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002275/1.808, allocations: 57.38 kB / 0.801 GB, free: 116.9 MB / 458.7 MB Notification: Performance of matching and sorting (n=1164) (initialization): time 0.02278/1.83, allocations: 8.9 MB / 0.8097 GB, free: 116.8 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/1.83, allocations: 3.562 kB / 0.8097 GB, free: 116.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004461/1.831, allocations: 216.9 kB / 0.8099 GB, free: 116.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003249/1.831, allocations: 307.9 kB / 0.8102 GB, free: 116.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007956/1.839, allocations: 2.178 MB / 0.8123 GB, free: 116.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003063/1.839, allocations: 410.4 kB / 0.8127 GB, free: 116.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01116/1.851, allocations: 1.159 MB / 0.8139 GB, free: 116.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002535/1.853, allocations: 0.5496 MB / 0.8144 GB, free: 116.5 MB / 458.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.00197/1.855, allocations: 0.6134 MB / 0.815 GB, free: 116.2 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001494/1.857, allocations: 0.5229 MB / 0.8155 GB, free: 116.2 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004287/1.861, allocations: 2.19 MB / 0.8176 GB, free: 116.1 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.596e-05/1.861, allocations: 24.12 kB / 0.8177 GB, free: 116.1 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/1.861, allocations: 0 / 0.8177 GB, free: 116.1 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.928e-05/1.861, allocations: 10.81 kB / 0.8177 GB, free: 116.1 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03337/1.895, allocations: 24.44 MB / 0.8415 GB, free: 113.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.42e-05/1.895, allocations: 32.91 kB / 0.8416 GB, free: 113.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001641/1.896, allocations: 344.7 kB / 0.8419 GB, free: 113.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.764e-05/1.896, allocations: 45.69 kB / 0.842 GB, free: 113.9 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001617/1.897, allocations: 49.91 kB / 0.842 GB, free: 113.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.999e-05/1.897, allocations: 69.7 kB / 0.8421 GB, free: 113.9 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-05/1.897, allocations: 51.16 kB / 0.8421 GB, free: 113.9 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006911/1.904, allocations: 9.191 MB / 0.8511 GB, free: 105.8 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002617/1.906, allocations: 0.6023 MB / 0.8517 GB, free: 105.4 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007832/1.907, allocations: 47.61 kB / 0.8517 GB, free: 105.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002407/1.909, allocations: 140 kB / 0.8519 GB, free: 105.4 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002446/1.91, allocations: 197.7 kB / 0.852 GB, free: 105.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001593/1.91, allocations: 92.22 kB / 0.8521 GB, free: 105.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.005776/1.916, allocations: 3.524 MB / 0.8556 GB, free: 105.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01033/1.926, allocations: 1.873 MB / 0.8574 GB, free: 104.9 MB / 458.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.000662/1.927, allocations: 200.2 kB / 0.8576 GB, free: 104.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008792/1.935, allocations: 5.299 MB / 0.8628 GB, free: 104.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.155e-05/1.936, allocations: 7.094 kB / 0.8628 GB, free: 104.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001805/1.937, allocations: 1.179 MB / 0.8639 GB, free: 104.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004585/1.942, allocations: 0.6419 MB / 0.8646 GB, free: 104.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03619/1.978, allocations: 12.94 MB / 0.8772 GB, free: 99.65 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01379/1.992, allocations: 6.07 MB / 0.8831 GB, free: 97.87 MB / 458.7 MB Notification: Performance of SimCode: time 2.504e-06/1.992, allocations: 0 / 0.8831 GB, free: 97.87 MB / 458.7 MB Notification: Performance of Templates: time 0.1047/2.097, allocations: 44.33 MB / 0.9264 GB, free: 77.52 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1)