Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque.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.CutTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque") [: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.002449/0.002449, allocations: 173.5 kB / 7.447 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.245/1.245, 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.001792/0.001792, allocations: 119.8 kB / 217.7 MB, free: 8.156 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.2057/0.2057, allocations: 37.97 MB / 294.8 MB, free: 9.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.668e-06/9.708e-06, allocations: 1.406 kB / 349.5 MB, free: 37.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1031, allocations: 48.7 MB / 398.2 MB, free: 5.691 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4808/0.5839, allocations: 91.34 MB / 489.5 MB, free: 13.47 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/0.5843, allocations: 75.12 kB / 489.6 MB, free: 13.47 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.7345/1.319, allocations: 160.5 MB / 0.6349 GB, free: 64.4 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006973/1.32, allocations: 160.8 kB / 0.635 GB, free: 64.39 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: 2932 * Number of variables: 2932 Notification: Performance of Generate backend data structure: time 0.03131/1.351, allocations: 7.849 MB / 0.6427 GB, free: 61.32 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/1.351, allocations: 7.719 kB / 0.6427 GB, free: 61.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03041/1.381, allocations: 3.044 MB / 0.6457 GB, free: 60.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04186/1.423, allocations: 9.805 MB / 0.6553 GB, free: 59.77 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008935/1.424, allocations: 274.4 kB / 0.6555 GB, free: 59.77 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006842/1.431, allocations: 493.7 kB / 0.656 GB, free: 59.77 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03792/1.469, allocations: 12.05 MB / 0.6678 GB, free: 59.72 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06031/1.529, allocations: 17.38 MB / 0.6847 GB, free: 55.57 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005371/1.53, allocations: 91 kB / 0.6848 GB, free: 55.56 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004582/1.535, allocations: 48.28 kB / 0.6849 GB, free: 55.55 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003633/1.538, allocations: 1.99 MB / 0.6868 GB, free: 55.53 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1194/1.658, allocations: 83.57 MB / 0.7684 GB, free: 3.586 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004865/1.663, allocations: 3.108 MB / 0.7715 GB, free: 0.6289 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2005/1.863, allocations: 2.003 MB / 0.7734 GB, free: 108.7 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01845/1.882, allocations: 8.1 MB / 0.7813 GB, free: 106.9 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.298e-05/1.882, allocations: 54.22 kB / 0.7814 GB, free: 106.9 MB / 442.7 MB Notification: Performance of pre-optimization done (n=202): time 6.131e-06/1.882, allocations: 3.969 kB / 0.7814 GB, free: 106.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=202): time 0.01486/1.897, allocations: 4.754 MB / 0.786 GB, free: 106.9 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/1.897, allocations: 151.5 kB / 0.7862 GB, free: 106.7 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01103/1.908, allocations: 5.355 MB / 0.7914 GB, free: 106.4 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000527/1.908, allocations: 25.7 kB / 0.7914 GB, free: 106.3 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004213/1.913, allocations: 5.496 MB / 0.7968 GB, free: 103.7 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001483/1.914, allocations: 0.8065 MB / 0.7976 GB, free: 103.2 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007776/1.915, allocations: 1.156 kB / 0.7976 GB, free: 103.2 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005368/1.915, allocations: 0.6973 MB / 0.7983 GB, free: 102.9 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003915/1.919, allocations: 2.378 MB / 0.8006 GB, free: 102.9 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007483/1.927, allocations: 8.43 MB / 0.8088 GB, free: 94.97 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007679/1.935, allocations: 4.443 MB / 0.8132 GB, free: 94.94 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000265/1.935, allocations: 61.88 kB / 0.8132 GB, free: 94.94 MB / 442.7 MB Notification: Performance of matching and sorting (n=1216) (initialization): time 0.02464/1.959, allocations: 9.337 MB / 0.8223 GB, free: 94.47 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/1.96, allocations: 3.625 kB / 0.8223 GB, free: 94.47 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004545/1.96, allocations: 222 kB / 0.8225 GB, free: 94.47 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003337/1.96, allocations: 323.2 kB / 0.8229 GB, free: 94.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008418/1.969, allocations: 2.274 MB / 0.8251 GB, free: 94.26 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002957/1.969, allocations: 426 kB / 0.8255 GB, free: 94.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01081/1.98, allocations: 1.206 MB / 0.8267 GB, free: 93.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002437/1.982, allocations: 0.5756 MB / 0.8272 GB, free: 93.55 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1000 * Number of states: 0 () * Number of discrete variables: 57 (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],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[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],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[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],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[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 (1192): * Single equations (assignments): 1189 * 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.002243/1.985, allocations: 0.6337 MB / 0.8278 GB, free: 93.09 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001197/1.986, allocations: 0.5359 MB / 0.8284 GB, free: 92.79 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004311/1.99, allocations: 2.373 MB / 0.8307 GB, free: 92.67 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-05/1.99, allocations: 18.44 kB / 0.8307 GB, free: 92.67 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/1.99, allocations: 0 / 0.8307 GB, free: 92.67 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.806e-05/1.99, allocations: 10.3 kB / 0.8307 GB, free: 92.67 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03934/2.03, allocations: 28.09 MB / 0.8581 GB, free: 86.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.043e-05/2.03, allocations: 38.22 kB / 0.8582 GB, free: 86.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001725/2.032, allocations: 361.3 kB / 0.8585 GB, free: 86.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.364e-05/2.032, allocations: 49.41 kB / 0.8586 GB, free: 86.59 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001854/2.032, allocations: 54.53 kB / 0.8586 GB, free: 86.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-05/2.032, allocations: 67.39 kB / 0.8587 GB, free: 86.58 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.185e-05/2.032, allocations: 57.28 kB / 0.8587 GB, free: 86.56 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006925/2.039, allocations: 10.05 MB / 0.8686 GB, free: 76.94 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002002/2.041, allocations: 0.6216 MB / 0.8692 GB, free: 76.49 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001271/2.042, allocations: 55.34 kB / 0.8692 GB, free: 76.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002966/2.045, allocations: 137.6 kB / 0.8694 GB, free: 76.49 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003085/2.045, allocations: 205.2 kB / 0.8695 GB, free: 76.42 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002221/2.046, allocations: 100.9 kB / 0.8696 GB, free: 76.41 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.007594/2.053, allocations: 3.614 MB / 0.8732 GB, free: 75.16 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01184/2.065, allocations: 1.972 MB / 0.8751 GB, free: 74.65 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 155 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (182): * Single equations (assignments): 179 * 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.0009588/2.066, allocations: 190.8 kB / 0.8753 GB, free: 74.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009514/2.076, allocations: 5.595 MB / 0.8807 GB, free: 72.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.919e-05/2.076, allocations: 7.812 kB / 0.8808 GB, free: 72.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001809/2.078, allocations: 1.269 MB / 0.882 GB, free: 72.29 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00448/2.082, allocations: 0.6586 MB / 0.8826 GB, free: 72.04 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03438/2.116, allocations: 13.63 MB / 0.8959 GB, free: 60.42 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01153/2.128, allocations: 6.295 MB / 0.9021 GB, free: 55.75 MB / 442.7 MB Notification: Performance of SimCode: time 1.012e-06/2.128, allocations: 0 / 0.9021 GB, free: 55.75 MB / 442.7 MB Notification: Performance of Templates: time 0.3462/2.474, allocations: 46.28 MB / 0.9473 GB, free: 82.43 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1)