Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FixedRotation.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.Parts.FixedRotation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FixedRotation") translateModel(ModelicaTest.MultiBody.Parts.FixedRotation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FixedRotation") [: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.002381/0.002381, allocations: 183.2 kB / 7.459 MB, free: 2.504 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.151/1.151, allocations: 194.2 MB / 202.1 MB, free: 8.66 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.00159/0.00159, allocations: 123.4 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.1576/0.1576, allocations: 39.94 MB / 331.9 MB, free: 4.879 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.981e-06/6.011e-06, allocations: 0 / 392.8 MB, free: 37.03 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1032, allocations: 54.87 MB / 447.6 MB, free: 14.13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3055/0.4087, allocations: 89.27 MB / 0.5243 GB, free: 52.63 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002054/0.4089, allocations: 73.7 kB / 0.5244 GB, free: 52.63 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.3065/0.7154, allocations: 135 MB / 0.6562 GB, free: 2.773 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002524/0.7157, allocations: 123.9 kB / 0.6564 GB, free: 2.652 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2814 * Number of variables: 2814 Notification: Performance of Generate backend data structure: time 0.0216/0.7373, allocations: 6.003 MB / 0.6622 GB, free: 12.59 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.7374, allocations: 8.031 kB / 0.6622 GB, free: 12.58 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02785/0.7652, allocations: 5.282 MB / 0.6674 GB, free: 7.281 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01405/0.7793, allocations: 4.274 MB / 0.6716 GB, free: 2.965 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004842/0.7799, allocations: 216 kB / 0.6718 GB, free: 2.754 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004145/0.7841, allocations: 384 kB / 0.6721 GB, free: 2.379 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02616/0.8102, allocations: 12.94 MB / 0.6848 GB, free: 5.422 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2047/1.015, allocations: 17.08 MB / 0.7015 GB, free: 131.4 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001659/1.015, allocations: 39.22 kB / 0.7015 GB, free: 131.4 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001393/1.017, allocations: 23.69 kB / 0.7015 GB, free: 131.4 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001847/1.018, allocations: 2.273 MB / 0.7037 GB, free: 131.4 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08356/1.102, allocations: 59.21 MB / 0.7615 GB, free: 106.7 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006526/1.109, allocations: 6.018 MB / 0.7674 GB, free: 103.2 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002544/1.111, allocations: 2.085 MB / 0.7695 GB, free: 102.6 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001433/1.113, allocations: 2.285 MB / 0.7717 GB, free: 100.5 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/1.113, allocations: 59.44 kB / 0.7718 GB, free: 100.4 MB / 474.7 MB Notification: Performance of pre-optimization done (n=341): time 6.282e-06/1.113, allocations: 0 / 0.7718 GB, free: 100.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=341): time 0.01048/1.123, allocations: 5.366 MB / 0.777 GB, free: 99.08 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/1.123, allocations: 106 kB / 0.7771 GB, free: 98.98 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006664/1.13, allocations: 4.558 MB / 0.7815 GB, free: 97.41 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005168/1.13, allocations: 25.7 kB / 0.7816 GB, free: 97.38 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00267/1.133, allocations: 5.048 MB / 0.7865 GB, free: 93.92 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001502/1.135, allocations: 1.241 MB / 0.7877 GB, free: 93.01 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004215/1.135, allocations: 0 / 0.7877 GB, free: 93.01 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000523/1.136, allocations: 0.7566 MB / 0.7884 GB, free: 92.52 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003941/1.14, allocations: 3.19 MB / 0.7916 GB, free: 91.53 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0061/1.146, allocations: 9.018 MB / 0.8004 GB, free: 82.7 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007983/1.154, allocations: 5.603 MB / 0.8058 GB, free: 81.01 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001451/1.154, allocations: 62.25 kB / 0.8059 GB, free: 81.01 MB / 474.7 MB Notification: Performance of matching and sorting (n=1342) (initialization): time 0.01878/1.173, allocations: 11.03 MB / 0.8167 GB, free: 77.21 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/1.173, allocations: 4 kB / 0.8167 GB, free: 77.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004085/1.173, allocations: 208 kB / 0.8169 GB, free: 77 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003712/1.173, allocations: 308.1 kB / 0.8172 GB, free: 76.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007991/1.181, allocations: 2.235 MB / 0.8194 GB, free: 74.71 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003535/1.182, allocations: 405.2 kB / 0.8197 GB, free: 74.36 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00889/1.191, allocations: 1.108 MB / 0.8208 GB, free: 73.26 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002024/1.193, allocations: 0.5926 MB / 0.8214 GB, free: 72.68 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 946 * Number of states: 0 () * Number of discrete variables: 30 (frameT4.color_x[3],frameT4.color_x[2],frameT4.color_x[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],frameT3.color_x[3],frameT3.color_x[2],frameT3.color_x[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1246): * Single equations (assignments): 1234 * Array equations: 12 * 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.002556/1.195, allocations: 0.6001 MB / 0.822 GB, free: 72.07 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001113/1.197, allocations: 465.7 kB / 0.8224 GB, free: 71.61 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001954/1.199, allocations: 0.6253 MB / 0.823 GB, free: 71.04 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000157/1.199, allocations: 46.94 kB / 0.8231 GB, free: 70.99 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.899e-05/1.199, allocations: 4 kB / 0.8231 GB, free: 70.99 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.112e-05/1.199, allocations: 12.38 kB / 0.8231 GB, free: 70.99 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02458/1.223, allocations: 13.48 MB / 0.8363 GB, free: 59.18 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.979e-05/1.223, allocations: 23.7 kB / 0.8363 GB, free: 59.16 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001992/1.225, allocations: 424.4 kB / 0.8367 GB, free: 58.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.02e-05/1.225, allocations: 24 kB / 0.8367 GB, free: 58.78 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003195/1.226, allocations: 27.52 kB / 0.8367 GB, free: 58.75 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.452e-05/1.226, allocations: 35.72 kB / 0.8368 GB, free: 58.72 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.277e-05/1.226, allocations: 23.02 kB / 0.8368 GB, free: 58.71 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005909/1.232, allocations: 6.688 MB / 0.8433 GB, free: 51.93 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009591/1.233, allocations: 0.5505 MB / 0.8439 GB, free: 51.37 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005984/1.233, allocations: 23.47 kB / 0.8439 GB, free: 51.35 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001509/1.235, allocations: 53.62 kB / 0.8439 GB, free: 51.31 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002845/1.235, allocations: 159.6 kB / 0.8441 GB, free: 51.21 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002045/1.235, allocations: 109.8 kB / 0.8442 GB, free: 51.11 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.00451/1.24, allocations: 3.001 MB / 0.8471 GB, free: 48.53 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007504/1.247, allocations: 1.825 MB / 0.8489 GB, free: 46.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (245): * Single equations (assignments): 233 * Array equations: 12 * 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.0004749/1.248, allocations: 160.8 kB / 0.8491 GB, free: 46.54 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009913/1.258, allocations: 7.372 MB / 0.8563 GB, free: 39.85 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.178e-05/1.258, allocations: 4 kB / 0.8563 GB, free: 39.85 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00218/1.26, allocations: 2.172 MB / 0.8584 GB, free: 37.89 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001996/1.262, allocations: 354.6 kB / 0.8587 GB, free: 37.57 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02472/1.287, allocations: 13.19 MB / 0.8716 GB, free: 25.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01042/1.297, allocations: 6.024 MB / 0.8775 GB, free: 20.9 MB / 474.7 MB Notification: Performance of SimCode: time 1.714e-06/1.297, allocations: 0 / 0.8775 GB, free: 20.9 MB / 474.7 MB Notification: Performance of Templates: time 0.25/1.547, allocations: 48.57 MB / 0.9249 GB, free: 117.7 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FixedRotation.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FixedRotation.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FixedRotation -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1)