Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.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.CutForceAndTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1+maint.om/package.mo): time 0.004281/0.004281, allocations: 178.9 kB / 7.451 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.42/1.42, allocations: 170.6 MB / 178.4 MB, free: 15.39 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.00173/0.00173, allocations: 115.8 kB / 217.7 MB, free: 8.16 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.1629/0.1629, allocations: 37.96 MB / 294.8 MB, free: 9.629 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.117e-06/9.137e-06, allocations: 1.062 kB / 349.5 MB, free: 37.11 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1098, allocations: 48.71 MB / 398.2 MB, free: 5.699 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3382/0.448, allocations: 93.35 MB / 491.6 MB, free: 13.65 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/0.4483, allocations: 73.53 kB / 491.6 MB, free: 13.65 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.7048/1.153, allocations: 192.7 MB / 0.6683 GB, free: 63.03 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004183/1.154, allocations: 193.7 kB / 0.6685 GB, free: 63.03 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: 3662 * Number of variables: 3662 Notification: Performance of Generate backend data structure: time 0.03005/1.184, allocations: 9.287 MB / 0.6776 GB, free: 59.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/1.184, allocations: 11.12 kB / 0.6776 GB, free: 59.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02331/1.207, allocations: 3.393 MB / 0.6809 GB, free: 58.57 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02972/1.237, allocations: 10.68 MB / 0.6913 GB, free: 57.39 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008353/1.238, allocations: 352.1 kB / 0.6916 GB, free: 57.39 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006737/1.244, allocations: 0.6096 MB / 0.6922 GB, free: 57.39 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03666/1.281, allocations: 15.04 MB / 0.7069 GB, free: 55.55 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05117/1.332, allocations: 21.22 MB / 0.7276 GB, free: 35.79 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004348/1.333, allocations: 100.6 kB / 0.7277 GB, free: 35.71 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003629/1.337, allocations: 51.91 kB / 0.7278 GB, free: 35.66 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003255/1.34, allocations: 2.418 MB / 0.7302 GB, free: 33.7 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3466/1.686, allocations: 95.31 MB / 0.8232 GB, free: 73.83 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006849/1.693, allocations: 4.095 MB / 0.8272 GB, free: 73.16 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003962/1.697, allocations: 2.158 MB / 0.8293 GB, free: 73.11 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02239/1.72, allocations: 9.991 MB / 0.8391 GB, free: 71.2 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.385e-05/1.72, allocations: 69.59 kB / 0.8392 GB, free: 71.15 MB / 458.7 MB Notification: Performance of pre-optimization done (n=288): time 6.873e-06/1.72, allocations: 2.25 kB / 0.8392 GB, free: 71.15 MB / 458.7 MB Notification: Performance of matching and sorting (n=288): time 0.01966/1.74, allocations: 6.281 MB / 0.8453 GB, free: 70.74 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.151e-05/1.74, allocations: 161.2 kB / 0.8454 GB, free: 70.58 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01493/1.755, allocations: 5.86 MB / 0.8512 GB, free: 70.04 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007684/1.755, allocations: 29.33 kB / 0.8512 GB, free: 70.01 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00521/1.761, allocations: 6.506 MB / 0.8576 GB, free: 66.48 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001826/1.762, allocations: 1.101 MB / 0.8586 GB, free: 65.86 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009342/1.763, allocations: 0 / 0.8586 GB, free: 65.86 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006858/1.764, allocations: 0.7627 MB / 0.8594 GB, free: 65.54 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004537/1.769, allocations: 2.889 MB / 0.8622 GB, free: 65.52 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008478/1.777, allocations: 9.726 MB / 0.8717 GB, free: 56.59 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009659/1.787, allocations: 5.25 MB / 0.8768 GB, free: 56.56 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00028/1.787, allocations: 70.81 kB / 0.8769 GB, free: 56.56 MB / 458.7 MB Notification: Performance of matching and sorting (n=1426) (initialization): time 0.03051/1.818, allocations: 11.04 MB / 0.8877 GB, free: 53.56 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/1.818, allocations: 4.906 kB / 0.8877 GB, free: 53.56 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007537/1.818, allocations: 246.2 kB / 0.8879 GB, free: 53.56 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005625/1.819, allocations: 360.2 kB / 0.8882 GB, free: 53.56 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01049/1.83, allocations: 2.653 MB / 0.8908 GB, free: 53.24 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004466/1.83, allocations: 490 kB / 0.8913 GB, free: 53.14 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0128/1.843, allocations: 1.364 MB / 0.8926 GB, free: 52.42 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00315/1.846, allocations: 0.671 MB / 0.8933 GB, free: 52.33 MB / 458.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.004393/1.851, allocations: 0.7021 MB / 0.894 GB, free: 51.75 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002115/1.853, allocations: 0.6109 MB / 0.8946 GB, free: 51.42 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01049/1.863, allocations: 3.413 MB / 0.8979 GB, free: 50.22 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001218/1.863, allocations: 25.28 kB / 0.8979 GB, free: 50.22 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.949e-05/1.863, allocations: 7.75 kB / 0.8979 GB, free: 50.22 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.82e-05/1.863, allocations: 12.75 kB / 0.898 GB, free: 50.22 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07838/1.942, allocations: 56.35 MB / 0.953 GB, free: 12.53 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.302e-05/1.942, allocations: 52 kB / 0.953 GB, free: 12.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002797/1.945, allocations: 0.555 MB / 0.9536 GB, free: 12.01 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.032e-05/1.945, allocations: 80 kB / 0.9536 GB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002695/1.945, allocations: 91.59 kB / 0.9537 GB, free: 11.85 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.189e-05/1.945, allocations: 102.9 kB / 0.9538 GB, free: 11.76 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.156e-05/1.945, allocations: 87.53 kB / 0.9539 GB, free: 11.68 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.239/2.184, allocations: 15.92 MB / 0.9695 GB, free: 103.6 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002621/2.187, allocations: 0.7295 MB / 0.9702 GB, free: 103.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001819/2.189, allocations: 78.83 kB / 0.9702 GB, free: 103.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004657/2.193, allocations: 197.2 kB / 0.9704 GB, free: 103.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005147/2.194, allocations: 321.6 kB / 0.9707 GB, free: 103.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003195/2.194, allocations: 152.2 kB / 0.9709 GB, free: 103.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.00955/2.204, allocations: 3.927 MB / 0.9747 GB, free: 103.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01591/2.22, allocations: 2.455 MB / 0.9771 GB, free: 102.8 MB / 458.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.001425/2.221, allocations: 235.3 kB / 0.9773 GB, free: 102.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01282/2.234, allocations: 6.872 MB / 0.9841 GB, free: 102.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001181/2.234, allocations: 9.875 kB / 0.9841 GB, free: 102.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00336/2.238, allocations: 1.785 MB / 0.9858 GB, free: 102.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006398/2.244, allocations: 0.7629 MB / 0.9866 GB, free: 102.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04416/2.288, allocations: 17.16 MB / 1.003 GB, free: 97.64 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01593/2.304, allocations: 7.587 MB / 1.011 GB, free: 96.71 MB / 458.7 MB Notification: Performance of SimCode: time 1.783e-06/2.304, allocations: 0 / 1.011 GB, free: 96.71 MB / 458.7 MB Notification: Performance of Templates: time 0.1342/2.438, allocations: 56.24 MB / 1.066 GB, free: 87.91 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe 2>&1)