Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.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.CutTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2+maint.om/package.mo): time 0.002506/0.002507, allocations: 181.6 kB / 7.455 MB, free: 2.508 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.143/1.143, allocations: 194.2 MB / 202.1 MB, free: 8.648 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.0017/0.0017, allocations: 118.4 kB / 247.1 MB, free: 6.344 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.1531/0.1531, allocations: 39.93 MB / 331.9 MB, free: 4.883 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.696e-06/8.827e-06, allocations: 0 / 392.8 MB, free: 75.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08911/0.08914, allocations: 54.87 MB / 447.6 MB, free: 20.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2832/0.3724, allocations: 95.2 MB / 0.5301 GB, free: 5.465 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/0.3727, allocations: 77.95 kB / 0.5302 GB, free: 5.426 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.1364/0.5091, allocations: 54.8 MB / 0.5837 GB, free: 6.68 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001398/0.5093, allocations: 52 kB / 0.5838 GB, free: 6.629 MB / 394.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.007468/0.5168, allocations: 2.653 MB / 0.5864 GB, free: 3.918 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.5168, allocations: 8.031 kB / 0.5864 GB, free: 3.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008079/0.5249, allocations: 1.517 MB / 0.5878 GB, free: 2.387 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004888/0.5298, allocations: 1.75 MB / 0.5896 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000203/0.5301, allocations: 96 kB / 0.5896 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001382/0.5315, allocations: 168 kB / 0.5898 GB, free: 340 kB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0084/0.5399, allocations: 4.556 MB / 0.5943 GB, free: 11.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01236/0.5523, allocations: 6.307 MB / 0.6004 GB, free: 5.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-05/0.5524, allocations: 11.88 kB / 0.6004 GB, free: 5.059 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001079/0.5535, allocations: 12 kB / 0.6004 GB, free: 5.047 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001321/0.5548, allocations: 0.7358 MB / 0.6012 GB, free: 4.309 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04621/0.601, allocations: 23.59 MB / 0.6242 GB, free: 11.95 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002109/0.6032, allocations: 1.52 MB / 0.6257 GB, free: 10.3 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009604/0.6042, allocations: 0.5854 MB / 0.6263 GB, free: 9.715 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.354e-05/0.6043, allocations: 24.75 kB / 0.6263 GB, free: 9.691 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.6043, allocations: 43.34 kB / 0.6263 GB, free: 9.641 MB / 442.7 MB Notification: Performance of pre-optimization done (n=108): time 3.296e-06/0.6043, allocations: 0 / 0.6263 GB, free: 9.641 MB / 442.7 MB Notification: Performance of matching and sorting (n=108): time 0.003976/0.6083, allocations: 1.574 MB / 0.6279 GB, free: 8.059 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.6084, allocations: 64.19 kB / 0.6279 GB, free: 7.984 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003191/0.6116, allocations: 1.649 MB / 0.6295 GB, free: 6.336 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.178e-05/0.6116, allocations: 33.69 kB / 0.6296 GB, free: 6.297 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001431/0.6131, allocations: 1.948 MB / 0.6315 GB, free: 4.316 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004161/0.6135, allocations: 414.5 kB / 0.6319 GB, free: 3.906 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/0.6137, allocations: 0 / 0.6319 GB, free: 3.906 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003443/0.614, allocations: 0.4984 MB / 0.6323 GB, free: 3.398 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001414/0.6154, allocations: 0.9634 MB / 0.6333 GB, free: 2.434 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00273/0.6182, allocations: 3.089 MB / 0.6363 GB, free: 14.27 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00247/0.6207, allocations: 1.782 MB / 0.638 GB, free: 12.49 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.524e-05/0.6207, allocations: 20 kB / 0.6381 GB, free: 12.47 MB / 458.7 MB Notification: Performance of matching and sorting (n=456) (initialization): time 0.005816/0.6265, allocations: 3.585 MB / 0.6416 GB, free: 8.879 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.6266, allocations: 4 kB / 0.6416 GB, free: 8.875 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001112/0.6267, allocations: 80 kB / 0.6416 GB, free: 8.797 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001244/0.6268, allocations: 112.8 kB / 0.6417 GB, free: 8.688 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002322/0.6292, allocations: 0.7837 MB / 0.6425 GB, free: 7.902 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001065/0.6293, allocations: 151.4 kB / 0.6427 GB, free: 7.754 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002102/0.6314, allocations: 391.2 kB / 0.643 GB, free: 7.367 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002771/0.6317, allocations: 212 kB / 0.6432 GB, free: 7.16 MB / 458.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.000378/0.6321, allocations: 297.1 kB / 0.6435 GB, free: 6.859 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002832/0.6323, allocations: 169.8 kB / 0.6437 GB, free: 6.691 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002145/0.6345, allocations: 1.394 MB / 0.645 GB, free: 5.285 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.88e-05/0.6345, allocations: 8 kB / 0.645 GB, free: 5.277 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.6346, allocations: 4 kB / 0.645 GB, free: 5.273 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.6346, allocations: 3.984 kB / 0.6451 GB, free: 5.27 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008389/0.643, allocations: 5.267 MB / 0.6502 GB, free: 15.74 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.638e-05/0.643, allocations: 12 kB / 0.6502 GB, free: 15.73 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006645/0.6437, allocations: 151.7 kB / 0.6504 GB, free: 15.58 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.18e-05/0.6437, allocations: 19.91 kB / 0.6504 GB, free: 15.56 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.113e-05/0.6438, allocations: 23.92 kB / 0.6504 GB, free: 15.54 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.558e-05/0.6438, allocations: 19.94 kB / 0.6504 GB, free: 15.52 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.114e-05/0.6438, allocations: 19.88 kB / 0.6504 GB, free: 15.5 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002446/0.6463, allocations: 2.479 MB / 0.6529 GB, free: 12.57 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003805/0.6466, allocations: 258.6 kB / 0.6531 GB, free: 12.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002803/0.6469, allocations: 15.98 kB / 0.6531 GB, free: 12.28 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006528/0.6476, allocations: 23.98 kB / 0.6531 GB, free: 12.26 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.6477, allocations: 75.69 kB / 0.6532 GB, free: 12.18 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.773e-05/0.6478, allocations: 43.98 kB / 0.6533 GB, free: 12.14 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.001486/0.6493, allocations: 1.11 MB / 0.6543 GB, free: 11.04 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00272/0.652, allocations: 0.7188 MB / 0.655 GB, free: 10.32 MB / 474.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.0003046/0.6523, allocations: 142.9 kB / 0.6552 GB, free: 10.17 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003229/0.6556, allocations: 2.281 MB / 0.6574 GB, free: 7.906 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.6556, allocations: 0 / 0.6574 GB, free: 7.906 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007678/0.6564, allocations: 0.6165 MB / 0.658 GB, free: 7.293 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000874/0.6573, allocations: 179.3 kB / 0.6582 GB, free: 7.117 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009212/0.6665, allocations: 4.879 MB / 0.6629 GB, free: 2.035 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1824/0.8489, allocations: 2.674 MB / 0.6656 GB, free: 96.27 MB / 474.7 MB Notification: Performance of SimCode: time 1.323e-06/0.849, allocations: 0 / 0.6656 GB, free: 96.27 MB / 474.7 MB Notification: Performance of Templates: time 0.03167/0.8806, allocations: 16.01 MB / 0.6812 GB, free: 95.55 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1)