Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.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.CutTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2") [: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.003899/0.003898, allocations: 174.9 kB / 7.451 MB, free: 2.504 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.237/1.237, allocations: 170.6 MB / 178.4 MB, free: 15.43 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.001898/0.001898, allocations: 107.9 kB / 217.7 MB, free: 8.207 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.2003/0.2003, allocations: 37.97 MB / 294.8 MB, free: 9.602 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.305e-06/8.696e-06, allocations: 1.625 kB / 349.5 MB, free: 37.1 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1042, allocations: 48.71 MB / 398.2 MB, free: 5.656 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3478/0.452, allocations: 88.6 MB / 486.8 MB, free: 13.43 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/0.4524, allocations: 76.48 kB / 486.9 MB, free: 13.43 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.1423/0.5947, allocations: 54.81 MB / 0.529 GB, free: 6.422 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001778/0.5949, allocations: 52 kB / 0.529 GB, free: 6.371 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1092 * Number of variables: 1092 Notification: Performance of Generate backend data structure: time 0.01182/0.6068, allocations: 2.661 MB / 0.5316 GB, free: 3.883 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.6068, allocations: 8.031 kB / 0.5317 GB, free: 3.875 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009428/0.6163, allocations: 1.513 MB / 0.5331 GB, free: 2.355 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005854/0.6222, allocations: 1.741 MB / 0.5348 GB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002371/0.6224, allocations: 99.38 kB / 0.5349 GB, free: 0.8711 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001892/0.6243, allocations: 168 kB / 0.5351 GB, free: 0.707 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01213/0.6365, allocations: 4.567 MB / 0.5395 GB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01928/0.6558, allocations: 6.292 MB / 0.5457 GB, free: 5.543 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000154/0.656, allocations: 19.81 kB / 0.5457 GB, free: 5.523 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001645/0.6577, allocations: 8 kB / 0.5457 GB, free: 5.516 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001291/0.659, allocations: 0.7432 MB / 0.5464 GB, free: 4.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04319/0.7022, allocations: 23.59 MB / 0.5695 GB, free: 12.55 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002635/0.7049, allocations: 1.526 MB / 0.571 GB, free: 10.91 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/0.7059, allocations: 0.5932 MB / 0.5716 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.973e-05/0.706, allocations: 24.38 kB / 0.5716 GB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.056e-05/0.7061, allocations: 43.33 kB / 0.5716 GB, free: 10.24 MB / 394.7 MB Notification: Performance of pre-optimization done (n=108): time 4.789e-06/0.7061, allocations: 0 / 0.5716 GB, free: 10.24 MB / 394.7 MB Notification: Performance of matching and sorting (n=108): time 0.004158/0.7103, allocations: 1.578 MB / 0.5732 GB, free: 8.656 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.7103, allocations: 60.19 kB / 0.5732 GB, free: 8.586 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003817/0.7142, allocations: 1.653 MB / 0.5748 GB, free: 6.934 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.612e-05/0.7143, allocations: 33.64 kB / 0.5749 GB, free: 6.895 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001656/0.7159, allocations: 1.944 MB / 0.5768 GB, free: 4.918 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005278/0.7165, allocations: 414.5 kB / 0.5772 GB, free: 4.508 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002104/0.7167, allocations: 0 / 0.5772 GB, free: 4.508 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004194/0.7171, allocations: 0.5062 MB / 0.5776 GB, free: 3.992 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001785/0.7189, allocations: 0.9556 MB / 0.5786 GB, free: 3.035 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003321/0.7222, allocations: 3.097 MB / 0.5816 GB, free: 14.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003038/0.7253, allocations: 1.775 MB / 0.5833 GB, free: 13.08 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.147e-05/0.7254, allocations: 27.94 kB / 0.5834 GB, free: 13.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=456) (initialization): time 0.006967/0.7324, allocations: 3.583 MB / 0.5869 GB, free: 9.465 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.7324, allocations: 4 kB / 0.5869 GB, free: 9.461 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001413/0.7325, allocations: 76 kB / 0.5869 GB, free: 9.387 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001316/0.7327, allocations: 112 kB / 0.587 GB, free: 9.277 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002483/0.7352, allocations: 0.7798 MB / 0.5878 GB, free: 8.496 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000132/0.7353, allocations: 151.4 kB / 0.588 GB, free: 8.348 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002666/0.738, allocations: 395.2 kB / 0.5883 GB, free: 7.957 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004059/0.7384, allocations: 216 kB / 0.5885 GB, free: 7.746 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 350 * Number of states: 0 () * Number of discrete variables: 21 (worldTorque.color[3],worldTorque.color[2],worldTorque.color[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],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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 (432): * Single equations (assignments): 429 * 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.0005261/0.7389, allocations: 297.1 kB / 0.5888 GB, free: 7.449 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003941/0.7393, allocations: 169.8 kB / 0.589 GB, free: 7.281 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002603/0.742, allocations: 1.39 MB / 0.5903 GB, free: 5.875 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.211e-05/0.742, allocations: 8 kB / 0.5903 GB, free: 5.867 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.742, allocations: 3.906 kB / 0.5904 GB, free: 5.863 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.742, allocations: 7.984 kB / 0.5904 GB, free: 5.855 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01221/0.7543, allocations: 5.261 MB / 0.5955 GB, free: 360 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-05/0.7544, allocations: 12 kB / 0.5955 GB, free: 348 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007335/0.7551, allocations: 155.7 kB / 0.5957 GB, free: 192 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.627e-05/0.7551, allocations: 16.72 kB / 0.5957 GB, free: 176 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/0.7553, allocations: 23.98 kB / 0.5957 GB, free: 152 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-05/0.7553, allocations: 19.94 kB / 0.5957 GB, free: 132 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.64e-05/0.7553, allocations: 15.94 kB / 0.5957 GB, free: 116 kB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003286/0.7586, allocations: 2.483 MB / 0.5982 GB, free: 13.19 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006939/0.7593, allocations: 250.6 kB / 0.5984 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00046/0.7598, allocations: 19.98 kB / 0.5984 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009752/0.7608, allocations: 15.98 kB / 0.5984 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/0.761, allocations: 75.69 kB / 0.5985 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00012/0.7611, allocations: 51.98 kB / 0.5985 GB, free: 12.77 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.003182/0.7643, allocations: 1.114 MB / 0.5996 GB, free: 11.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004971/0.7693, allocations: 0.7189 MB / 0.6003 GB, free: 10.94 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * 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.0005868/0.7699, allocations: 138.9 kB / 0.6005 GB, free: 10.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004814/0.7747, allocations: 2.281 MB / 0.6027 GB, free: 8.527 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.389e-05/0.7747, allocations: 0 / 0.6027 GB, free: 8.527 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001056/0.7758, allocations: 0.6226 MB / 0.6033 GB, free: 7.906 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/0.7774, allocations: 178 kB / 0.6035 GB, free: 7.73 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01563/0.793, allocations: 4.873 MB / 0.6082 GB, free: 2.656 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005708/0.7988, allocations: 2.675 MB / 0.6108 GB, free: 15.96 MB / 442.7 MB Notification: Performance of SimCode: time 1.543e-06/0.7989, allocations: 0 / 0.6108 GB, free: 15.96 MB / 442.7 MB Notification: Performance of Templates: time 0.05632/0.8552, allocations: 16 MB / 0.6265 GB, free: 160 kB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1)