Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.CutForceAndTorque3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [: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.004101/0.004101, allocations: 180.9 kB / 7.454 MB, free: 2.508 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.338/1.338, allocations: 170.6 MB / 178.4 MB, free: 15.46 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.002144/0.002144, allocations: 111.9 kB / 217.7 MB, free: 8.238 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.1765/0.1765, allocations: 37.97 MB / 294.8 MB, free: 9.637 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.364e-06/7.384e-06, allocations: 1.312 kB / 349.5 MB, free: 37.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1016, allocations: 48.71 MB / 398.2 MB, free: 5.711 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3303/0.4319, allocations: 91.67 MB / 489.9 MB, free: 13.15 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/0.4323, allocations: 75.92 kB / 490 MB, free: 13.15 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.1598/0.5921, allocations: 63.95 MB / 0.5409 GB, free: 11.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000142/0.5923, allocations: 67.94 kB / 0.541 GB, free: 11.57 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1328 * Number of variables: 1328 Notification: Performance of Generate backend data structure: time 0.01137/0.6036, allocations: 3.128 MB / 0.544 GB, free: 8.395 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.6037, allocations: 8.031 kB / 0.5441 GB, free: 8.387 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01034/0.614, allocations: 1.614 MB / 0.5456 GB, free: 6.766 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007778/0.6219, allocations: 2.042 MB / 0.5476 GB, free: 4.688 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002443/0.6222, allocations: 120 kB / 0.5477 GB, free: 4.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002387/0.6246, allocations: 208 kB / 0.5479 GB, free: 4.367 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01192/0.6365, allocations: 5.473 MB / 0.5533 GB, free: 14.89 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02017/0.6567, allocations: 7.48 MB / 0.5606 GB, free: 7.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000186/0.6569, allocations: 19.81 kB / 0.5606 GB, free: 7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002015/0.659, allocations: 12 kB / 0.5606 GB, free: 6.988 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001559/0.6606, allocations: 0.8576 MB / 0.5615 GB, free: 6.133 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05297/0.7135, allocations: 26.62 MB / 0.5875 GB, free: 10.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002767/0.7164, allocations: 1.732 MB / 0.5891 GB, free: 9.105 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001301/0.7177, allocations: 0.7229 MB / 0.5898 GB, free: 8.383 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.163e-05/0.7178, allocations: 20.73 kB / 0.5899 GB, free: 8.367 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.7178, allocations: 43.56 kB / 0.5899 GB, free: 8.316 MB / 410.7 MB Notification: Performance of pre-optimization done (n=132): time 4.188e-06/0.7179, allocations: 0 / 0.5899 GB, free: 8.316 MB / 410.7 MB Notification: Performance of matching and sorting (n=132): time 0.005321/0.7232, allocations: 1.954 MB / 0.5918 GB, free: 6.352 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.7233, allocations: 64.41 kB / 0.5919 GB, free: 6.277 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004719/0.728, allocations: 1.776 MB / 0.5936 GB, free: 4.461 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002565/0.7283, allocations: 29.7 kB / 0.5936 GB, free: 4.426 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002144/0.7304, allocations: 2.25 MB / 0.5958 GB, free: 2.141 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008015/0.7313, allocations: 489.5 kB / 0.5963 GB, free: 1.656 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003512/0.7316, allocations: 0 / 0.5963 GB, free: 1.656 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005481/0.7322, allocations: 0.5148 MB / 0.5968 GB, free: 1.133 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002233/0.7344, allocations: 1.089 MB / 0.5979 GB, free: 44 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00386/0.7383, allocations: 3.362 MB / 0.6012 GB, free: 11.54 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003477/0.7418, allocations: 1.975 MB / 0.6031 GB, free: 9.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.191e-05/0.7419, allocations: 24 kB / 0.6031 GB, free: 9.547 MB / 426.7 MB Notification: Performance of matching and sorting (n=505) (initialization): time 0.0084/0.7503, allocations: 3.968 MB / 0.607 GB, free: 5.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.7504, allocations: 4 kB / 0.607 GB, free: 5.566 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001058/0.7505, allocations: 87.94 kB / 0.6071 GB, free: 5.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001222/0.7507, allocations: 120 kB / 0.6072 GB, free: 5.363 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00291/0.7536, allocations: 0.8734 MB / 0.608 GB, free: 4.488 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001296/0.7537, allocations: 163.3 kB / 0.6082 GB, free: 4.328 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002628/0.7564, allocations: 426.7 kB / 0.6086 GB, free: 3.906 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004248/0.7568, allocations: 235.8 kB / 0.6088 GB, free: 3.68 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 372 * Number of states: 0 () * Number of discrete variables: 27 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[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],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.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 (481): * Single equations (assignments): 478 * 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.0005331/0.7573, allocations: 310.1 kB / 0.6091 GB, free: 3.367 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003813/0.7577, allocations: 193.5 kB / 0.6093 GB, free: 3.176 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002949/0.7607, allocations: 1.664 MB / 0.6109 GB, free: 1.496 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.639e-05/0.7607, allocations: 15.94 kB / 0.6109 GB, free: 1.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.7608, allocations: 0 / 0.6109 GB, free: 1.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/0.7608, allocations: 3.984 kB / 0.611 GB, free: 1.477 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1608/0.9216, allocations: 7.944 MB / 0.6187 GB, free: 145 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-05/0.9217, allocations: 14.91 kB / 0.6187 GB, free: 145 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008601/0.9225, allocations: 210.7 kB / 0.6189 GB, free: 145 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.731e-05/0.9226, allocations: 27.41 kB / 0.619 GB, free: 145 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.517e-05/0.9227, allocations: 30.97 kB / 0.619 GB, free: 145 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.232e-05/0.9227, allocations: 36.38 kB / 0.619 GB, free: 145 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-05/0.9227, allocations: 29.59 kB / 0.619 GB, free: 145 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003038/0.9258, allocations: 3.356 MB / 0.6223 GB, free: 142.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005006/0.9263, allocations: 285.7 kB / 0.6226 GB, free: 142.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002473/0.9266, allocations: 24.53 kB / 0.6226 GB, free: 142.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000773/0.9273, allocations: 24.2 kB / 0.6226 GB, free: 142.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/0.9275, allocations: 110.1 kB / 0.6227 GB, free: 142.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001178/0.9276, allocations: 62.73 kB / 0.6228 GB, free: 142.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.001694/0.9293, allocations: 1.182 MB / 0.624 GB, free: 142.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003619/0.933, allocations: 0.8697 MB / 0.6248 GB, free: 142.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * 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.0003607/0.9333, allocations: 162 kB / 0.625 GB, free: 142.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003336/0.9367, allocations: 2.595 MB / 0.6275 GB, free: 142.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.9367, allocations: 3.875 kB / 0.6275 GB, free: 142.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008099/0.9375, allocations: 0.7546 MB / 0.6282 GB, free: 142.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.9386, allocations: 203.7 kB / 0.6284 GB, free: 142 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01202/0.9506, allocations: 5.933 MB / 0.6342 GB, free: 140.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004172/0.9549, allocations: 3.093 MB / 0.6372 GB, free: 139.6 MB / 426.7 MB Notification: Performance of SimCode: time 1.533e-06/0.9549, allocations: 0 / 0.6372 GB, free: 139.6 MB / 426.7 MB Notification: Performance of Templates: time 0.04028/0.9952, allocations: 18.63 MB / 0.6554 GB, free: 138.7 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1)