Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.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.CutForceAndTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") [: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.002183/0.002183, allocations: 182.1 kB / 7.458 MB, free: 2.508 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.061/1.061, allocations: 194.2 MB / 202.1 MB, free: 8.742 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.00166/0.001659, allocations: 118 kB / 247.1 MB, free: 6.316 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.1595/0.1594, allocations: 39.94 MB / 331.9 MB, free: 4.914 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.636e-06/8.736e-06, allocations: 4 kB / 392.8 MB, free: 75.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1008, allocations: 54.88 MB / 447.7 MB, free: 21.01 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3236/0.4245, allocations: 100.1 MB / 0.5349 GB, free: 396 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002137/0.4247, allocations: 76.41 kB / 0.535 GB, free: 356 kB / 346.7 MB Notification: Performance of FrontEnd: time 0.6985/1.123, allocations: 192.7 MB / 0.7232 GB, free: 80.97 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0008098/1.124, allocations: 198.5 kB / 0.7234 GB, free: 80.96 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: 3662 * Number of variables: 3662 Notification: Performance of Generate backend data structure: time 0.03443/1.159, allocations: 9.293 MB / 0.7324 GB, free: 77.22 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/1.159, allocations: 10.19 kB / 0.7324 GB, free: 77.22 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02129/1.18, allocations: 3.394 MB / 0.7358 GB, free: 76.49 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02732/1.207, allocations: 10.68 MB / 0.7462 GB, free: 75.31 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008487/1.208, allocations: 346 kB / 0.7465 GB, free: 75.31 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006973/1.215, allocations: 0.6126 MB / 0.7471 GB, free: 75.3 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03617/1.251, allocations: 15.05 MB / 0.7618 GB, free: 72.21 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05626/1.308, allocations: 21.21 MB / 0.7825 GB, free: 52.98 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007385/1.308, allocations: 95.16 kB / 0.7826 GB, free: 52.89 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005379/1.314, allocations: 48 kB / 0.7827 GB, free: 52.84 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003568/1.317, allocations: 2.407 MB / 0.785 GB, free: 50.88 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.353/1.67, allocations: 95.32 MB / 0.8781 GB, free: 92.21 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008617/1.679, allocations: 4.098 MB / 0.8821 GB, free: 91.54 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004802/1.684, allocations: 2.165 MB / 0.8842 GB, free: 91.49 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03122/1.715, allocations: 9.98 MB / 0.894 GB, free: 89.71 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.942e-05/1.715, allocations: 67.3 kB / 0.894 GB, free: 89.67 MB / 490.7 MB Notification: Performance of pre-optimization done (n=288): time 8.747e-06/1.715, allocations: 0 / 0.894 GB, free: 89.67 MB / 490.7 MB Notification: Performance of matching and sorting (n=288): time 0.0318/1.747, allocations: 6.292 MB / 0.9002 GB, free: 89.44 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.687e-05/1.747, allocations: 159.5 kB / 0.9003 GB, free: 89.29 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02046/1.768, allocations: 5.86 MB / 0.906 GB, free: 88.75 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008382/1.769, allocations: 29.64 kB / 0.9061 GB, free: 88.71 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00637/1.775, allocations: 6.506 MB / 0.9124 GB, free: 85.16 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002246/1.777, allocations: 1.098 MB / 0.9135 GB, free: 84.54 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001599/1.779, allocations: 3.5 kB / 0.9135 GB, free: 84.54 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001484/1.781, allocations: 0.7604 MB / 0.9142 GB, free: 84.21 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007898/1.789, allocations: 2.896 MB / 0.9171 GB, free: 84.19 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01372/1.802, allocations: 9.72 MB / 0.9266 GB, free: 75.27 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01352/1.816, allocations: 5.255 MB / 0.9317 GB, free: 75.23 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004018/1.816, allocations: 69.31 kB / 0.9318 GB, free: 75.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=1426) (initialization): time 0.0383/1.855, allocations: 11.03 MB / 0.9425 GB, free: 73.02 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.532e-05/1.855, allocations: 3.906 kB / 0.9425 GB, free: 73.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007045/1.855, allocations: 248.8 kB / 0.9428 GB, free: 73.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005358/1.856, allocations: 361 kB / 0.9431 GB, free: 73.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01608/1.872, allocations: 2.66 MB / 0.9457 GB, free: 72.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008924/1.873, allocations: 483.8 kB / 0.9462 GB, free: 72.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01583/1.889, allocations: 1.365 MB / 0.9475 GB, free: 71.87 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003149/1.892, allocations: 0.6658 MB / 0.9482 GB, free: 71.79 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1124 * Number of states: 0 () * Number of discrete variables: 69 (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.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[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.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[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.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[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.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[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 (1402): * Single equations (assignments): 1399 * 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.002654/1.895, allocations: 0.7069 MB / 0.9488 GB, free: 71.21 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001474/1.896, allocations: 0.6062 MB / 0.9494 GB, free: 70.88 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006347/1.903, allocations: 3.419 MB / 0.9528 GB, free: 69.68 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.149e-05/1.903, allocations: 30.72 kB / 0.9528 GB, free: 69.67 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.499e-05/1.903, allocations: 1.094 kB / 0.9528 GB, free: 69.67 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.493e-05/1.903, allocations: 16.94 kB / 0.9528 GB, free: 69.67 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06864/1.971, allocations: 56.33 MB / 1.008 GB, free: 25.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.635e-05/1.972, allocations: 56 kB / 1.008 GB, free: 25.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002424/1.974, allocations: 0.5523 MB / 1.008 GB, free: 25.26 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-05/1.974, allocations: 80 kB / 1.009 GB, free: 25.18 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002334/1.974, allocations: 94.55 kB / 1.009 GB, free: 25.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.824e-05/1.974, allocations: 106.4 kB / 1.009 GB, free: 25.01 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.882e-05/1.974, allocations: 89.97 kB / 1.009 GB, free: 24.92 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008494/1.983, allocations: 15.92 MB / 1.024 GB, free: 6.703 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001617/1.985, allocations: 0.7256 MB / 1.025 GB, free: 5.977 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009407/1.986, allocations: 87.09 kB / 1.025 GB, free: 5.906 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00321/1.989, allocations: 197.6 kB / 1.025 GB, free: 5.754 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003455/1.989, allocations: 315.2 kB / 1.026 GB, free: 5.504 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002447/1.989, allocations: 159.3 kB / 1.026 GB, free: 5.359 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.00682/1.996, allocations: 3.925 MB / 1.03 GB, free: 1.969 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.2415/2.238, allocations: 2.444 MB / 1.032 GB, free: 126.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 245 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (272): * Single equations (assignments): 269 * 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.001311/2.239, allocations: 243.2 kB / 1.032 GB, free: 126.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01188/2.251, allocations: 6.865 MB / 1.039 GB, free: 126.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.936e-05/2.251, allocations: 12.69 kB / 1.039 GB, free: 126.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002673/2.254, allocations: 1.775 MB / 1.041 GB, free: 126.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005141/2.259, allocations: 0.7757 MB / 1.041 GB, free: 126.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04138/2.3, allocations: 17.16 MB / 1.058 GB, free: 121.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01737/2.318, allocations: 7.579 MB / 1.066 GB, free: 120.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.042e-06/2.318, allocations: 3.188 kB / 1.066 GB, free: 120.5 MB / 490.7 MB Notification: Performance of Templates: time 0.1276/2.445, allocations: 56.23 MB / 1.12 GB, free: 110.9 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe 2>&1)