Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.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.CutForceAndTorque1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") [: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.003706/0.003706, allocations: 186.5 kB / 7.457 MB, free: 2.512 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.173/1.173, allocations: 194.2 MB / 202.1 MB, free: 8.656 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.001818/0.001818, allocations: 114.1 kB / 247.1 MB, free: 6.34 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.1591/0.1591, allocations: 39.95 MB / 331.9 MB, free: 4.875 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.162e-06/6.272e-06, allocations: 0 / 392.8 MB, free: 75.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09553/0.09555, allocations: 54.87 MB / 447.6 MB, free: 20.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2558/0.3514, allocations: 100.1 MB / 0.5349 GB, free: 344 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001776/0.3516, allocations: 70.41 kB / 0.535 GB, free: 312 kB / 346.7 MB Notification: Performance of FrontEnd: time 0.6985/1.05, allocations: 193.9 MB / 0.7244 GB, free: 77.08 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0007312/1.051, allocations: 192.8 kB / 0.7245 GB, free: 77.08 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.03597/1.087, allocations: 9.286 MB / 0.7336 GB, free: 73.34 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/1.087, allocations: 6.75 kB / 0.7336 GB, free: 73.34 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02028/1.107, allocations: 3.396 MB / 0.7369 GB, free: 72.61 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02983/1.137, allocations: 10.68 MB / 0.7474 GB, free: 71.43 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009174/1.138, allocations: 350.9 kB / 0.7477 GB, free: 71.43 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007054/1.145, allocations: 0.6067 MB / 0.7483 GB, free: 71.42 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03724/1.182, allocations: 15.05 MB / 0.763 GB, free: 69.93 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05498/1.237, allocations: 21.21 MB / 0.7837 GB, free: 50.23 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006746/1.238, allocations: 99.75 kB / 0.7838 GB, free: 50.18 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005327/1.244, allocations: 48 kB / 0.7838 GB, free: 50.13 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004331/1.248, allocations: 2.417 MB / 0.7862 GB, free: 48.18 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3372/1.585, allocations: 95.31 MB / 0.8793 GB, free: 88.42 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006555/1.592, allocations: 4.1 MB / 0.8833 GB, free: 87.75 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003125/1.595, allocations: 2.158 MB / 0.8854 GB, free: 87.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01845/1.613, allocations: 9.983 MB / 0.8951 GB, free: 85.91 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.587e-05/1.613, allocations: 73.16 kB / 0.8952 GB, free: 85.87 MB / 490.7 MB Notification: Performance of pre-optimization done (n=288): time 7.795e-06/1.613, allocations: 0 / 0.8952 GB, free: 85.87 MB / 490.7 MB Notification: Performance of matching and sorting (n=288): time 0.01979/1.633, allocations: 6.282 MB / 0.9013 GB, free: 85.56 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.944e-05/1.633, allocations: 162.4 kB / 0.9015 GB, free: 85.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01435/1.648, allocations: 5.867 MB / 0.9072 GB, free: 84.86 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007428/1.649, allocations: 25.7 kB / 0.9073 GB, free: 84.83 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00546/1.654, allocations: 6.511 MB / 0.9136 GB, free: 81.38 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00192/1.656, allocations: 1.097 MB / 0.9147 GB, free: 80.76 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009508/1.657, allocations: 0 / 0.9147 GB, free: 80.76 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0009191/1.658, allocations: 0.7646 MB / 0.9154 GB, free: 80.43 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004645/1.662, allocations: 2.891 MB / 0.9183 GB, free: 80.41 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008748/1.671, allocations: 9.723 MB / 0.9277 GB, free: 71.49 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00816/1.679, allocations: 5.26 MB / 0.9329 GB, free: 71.45 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002204/1.68, allocations: 71.41 kB / 0.933 GB, free: 71.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=1426) (initialization): time 0.02158/1.701, allocations: 11.03 MB / 0.9437 GB, free: 70.57 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/1.701, allocations: 6.594 kB / 0.9437 GB, free: 70.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006052/1.702, allocations: 244.6 kB / 0.944 GB, free: 70.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005079/1.702, allocations: 364.5 kB / 0.9443 GB, free: 70.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01039/1.713, allocations: 2.655 MB / 0.9469 GB, free: 70.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000689/1.714, allocations: 483.6 kB / 0.9474 GB, free: 70.17 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01186/1.726, allocations: 1.359 MB / 0.9487 GB, free: 69.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002877/1.728, allocations: 0.6761 MB / 0.9493 GB, free: 69.36 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 (body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[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.003566/1.732, allocations: 0.6996 MB / 0.95 GB, free: 68.79 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001865/1.734, allocations: 0.6116 MB / 0.9506 GB, free: 68.45 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007054/1.741, allocations: 3.418 MB / 0.954 GB, free: 67.23 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001083/1.741, allocations: 30.22 kB / 0.954 GB, free: 67.23 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.139e-05/1.741, allocations: 1.5 kB / 0.954 GB, free: 67.23 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.285e-05/1.741, allocations: 14.23 kB / 0.954 GB, free: 67.23 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07316/1.814, allocations: 58.77 MB / 1.011 GB, free: 21.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001163/1.815, allocations: 56 kB / 1.011 GB, free: 21.69 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002909/1.817, allocations: 0.553 MB / 1.012 GB, free: 21.22 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-05/1.818, allocations: 79.84 kB / 1.012 GB, free: 21.15 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002972/1.818, allocations: 99.02 kB / 1.012 GB, free: 21.06 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.356e-05/1.818, allocations: 107.9 kB / 1.012 GB, free: 20.97 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.145e-05/1.818, allocations: 87.62 kB / 1.012 GB, free: 20.89 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009987/1.828, allocations: 15.93 MB / 1.028 GB, free: 2.664 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002244/1.83, allocations: 0.7276 MB / 1.029 GB, free: 1.934 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001392/1.832, allocations: 82.72 kB / 1.029 GB, free: 1.867 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003767/1.835, allocations: 198.8 kB / 1.029 GB, free: 1.719 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003683/1.836, allocations: 318 kB / 1.029 GB, free: 1.465 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002748/1.836, allocations: 153.8 kB / 1.029 GB, free: 1.324 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.223/2.059, allocations: 4.42 MB / 1.034 GB, free: 121.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01366/2.073, allocations: 2.445 MB / 1.036 GB, free: 121.1 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.001086/2.074, allocations: 240.3 kB / 1.036 GB, free: 121.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01179/2.086, allocations: 6.871 MB / 1.043 GB, free: 121 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.352e-05/2.086, allocations: 9.469 kB / 1.043 GB, free: 121 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002712/2.089, allocations: 1.78 MB / 1.045 GB, free: 121 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005124/2.094, allocations: 0.7622 MB / 1.045 GB, free: 121 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03989/2.134, allocations: 17.11 MB / 1.062 GB, free: 116 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01375/2.147, allocations: 7.59 MB / 1.07 GB, free: 115 MB / 490.7 MB Notification: Performance of SimCode: time 1.262e-06/2.147, allocations: 0 / 1.07 GB, free: 115 MB / 490.7 MB Notification: Performance of Templates: time 0.1176/2.265, allocations: 56.26 MB / 1.125 GB, free: 105.7 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe 2>&1)