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") [: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.003529/0.00353, allocations: 183.2 kB / 7.459 MB, free: 2.168 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.279/1.279, allocations: 194.2 MB / 202.1 MB, free: 8.68 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.001768/0.001768, allocations: 119 kB / 247.1 MB, free: 6.41 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.1658/0.1658, allocations: 39.95 MB / 331.9 MB, free: 4.969 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.392e-06/6.412e-06, allocations: 0 / 392.8 MB, free: 75.94 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08384/0.08386, allocations: 54.88 MB / 447.6 MB, free: 21.05 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2853/0.3692, allocations: 95.08 MB / 0.53 GB, free: 5.398 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/0.3695, allocations: 77.2 kB / 0.5301 GB, free: 5.359 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.138/0.5075, allocations: 53.06 MB / 0.5819 GB, free: 8.281 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001599/0.5077, allocations: 52 kB / 0.5819 GB, free: 8.23 MB / 394.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.008446/0.5161, allocations: 2.604 MB / 0.5845 GB, free: 5.785 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.5162, allocations: 8.031 kB / 0.5845 GB, free: 5.777 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008722/0.5249, allocations: 1.501 MB / 0.586 GB, free: 4.273 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005869/0.5308, allocations: 1.712 MB / 0.5876 GB, free: 2.578 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002619/0.5311, allocations: 95.94 kB / 0.5877 GB, free: 2.484 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002181/0.5333, allocations: 168 kB / 0.5879 GB, free: 2.32 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01006/0.5434, allocations: 4.446 MB / 0.5922 GB, free: 13.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01673/0.5602, allocations: 6.126 MB / 0.5982 GB, free: 7.355 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001381/0.5603, allocations: 19.81 kB / 0.5982 GB, free: 7.336 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001529/0.5619, allocations: 15.98 kB / 0.5982 GB, free: 7.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001168/0.5631, allocations: 0.7083 MB / 0.5989 GB, free: 6.609 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03597/0.5991, allocations: 22.43 MB / 0.6208 GB, free: 15.49 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002408/0.6015, allocations: 1.55 MB / 0.6224 GB, free: 13.82 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009149/0.6025, allocations: 0.5853 MB / 0.6229 GB, free: 13.23 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.099e-05/0.6025, allocations: 13.8 kB / 0.6229 GB, free: 13.21 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.179e-05/0.6026, allocations: 39.44 kB / 0.623 GB, free: 13.17 MB / 442.7 MB Notification: Performance of pre-optimization done (n=108): time 3.547e-06/0.6026, allocations: 3.938 kB / 0.623 GB, free: 13.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=108): time 0.004295/0.6069, allocations: 1.64 MB / 0.6246 GB, free: 11.52 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.607, allocations: 60.19 kB / 0.6246 GB, free: 11.45 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003363/0.6103, allocations: 1.604 MB / 0.6262 GB, free: 9.84 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.234e-05/0.6104, allocations: 25.7 kB / 0.6262 GB, free: 9.809 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001588/0.612, allocations: 1.886 MB / 0.6281 GB, free: 7.891 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004741/0.6125, allocations: 406.7 kB / 0.6285 GB, free: 7.488 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/0.6127, allocations: 0 / 0.6285 GB, free: 7.488 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003874/0.6131, allocations: 0.4903 MB / 0.6289 GB, free: 6.988 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001536/0.6146, allocations: 0.932 MB / 0.6298 GB, free: 6.055 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002978/0.6176, allocations: 2.977 MB / 0.6328 GB, free: 2.047 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002805/0.6204, allocations: 1.727 MB / 0.6344 GB, free: 328 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.087e-05/0.6205, allocations: 20 kB / 0.6345 GB, free: 308 kB / 442.7 MB Notification: Performance of matching and sorting (n=440) (initialization): time 0.006607/0.6271, allocations: 3.461 MB / 0.6378 GB, free: 12.83 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.6272, allocations: 4 kB / 0.6378 GB, free: 12.83 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001213/0.6273, allocations: 80.12 kB / 0.6379 GB, free: 12.75 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001216/0.6274, allocations: 108 kB / 0.638 GB, free: 12.64 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002384/0.6298, allocations: 0.7525 MB / 0.6388 GB, free: 11.89 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000135/0.63, allocations: 143.4 kB / 0.6389 GB, free: 11.75 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002349/0.6323, allocations: 375.4 kB / 0.6393 GB, free: 11.38 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003318/0.6327, allocations: 216 kB / 0.6395 GB, free: 11.17 MB / 458.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.0004335/0.6331, allocations: 285.1 kB / 0.6397 GB, free: 10.88 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003386/0.6335, allocations: 165.8 kB / 0.6399 GB, free: 10.71 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00231/0.6358, allocations: 1.377 MB / 0.6412 GB, free: 9.32 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.228e-05/0.6358, allocations: 8 kB / 0.6412 GB, free: 9.312 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.6358, allocations: 0 / 0.6412 GB, free: 9.312 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.6359, allocations: 3.984 kB / 0.6412 GB, free: 9.309 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009945/0.6458, allocations: 5.257 MB / 0.6464 GB, free: 3.793 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.813e-05/0.6459, allocations: 8 kB / 0.6464 GB, free: 3.785 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007295/0.6466, allocations: 163.8 kB / 0.6465 GB, free: 3.625 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.867e-05/0.6467, allocations: 19.91 kB / 0.6466 GB, free: 3.605 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.836e-05/0.6467, allocations: 16 kB / 0.6466 GB, free: 3.59 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.312e-05/0.6468, allocations: 23.92 kB / 0.6466 GB, free: 3.566 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.356e-05/0.6468, allocations: 15.94 kB / 0.6466 GB, free: 3.551 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003091/0.6499, allocations: 2.445 MB / 0.649 GB, free: 0.6406 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005863/0.6505, allocations: 254.5 kB / 0.6492 GB, free: 380 kB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000388/0.6509, allocations: 19.98 kB / 0.6493 GB, free: 360 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008299/0.6517, allocations: 23.92 kB / 0.6493 GB, free: 336 kB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.6519, allocations: 79.69 kB / 0.6494 GB, free: 256 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/0.652, allocations: 47.98 kB / 0.6494 GB, free: 208 kB / 458.7 MB Notification: Performance of sort global known variables: time 0.002011/0.654, allocations: 1.07 MB / 0.6505 GB, free: 15.14 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003459/0.6575, allocations: 0.6917 MB / 0.6511 GB, free: 14.45 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * 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.0004057/0.6579, allocations: 146.8 kB / 0.6513 GB, free: 14.29 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003842/0.6618, allocations: 2.222 MB / 0.6534 GB, free: 12.09 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-05/0.6618, allocations: 4 kB / 0.6534 GB, free: 12.09 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008826/0.6627, allocations: 0.6135 MB / 0.654 GB, free: 11.47 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.6639, allocations: 181.3 kB / 0.6542 GB, free: 11.3 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01192/0.6758, allocations: 4.749 MB / 0.6589 GB, free: 6.348 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004877/0.6807, allocations: 2.626 MB / 0.6614 GB, free: 3.691 MB / 474.7 MB Notification: Performance of SimCode: time 1.393e-06/0.6808, allocations: 0 / 0.6614 GB, free: 3.691 MB / 474.7 MB Notification: Performance of Templates: time 0.2518/0.9326, allocations: 15.6 MB / 0.6767 GB, free: 93.18 MB / 474.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)