Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.TestMove.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.Rotational.TestMove,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.TestMove") translateModel(ModelicaTest.Rotational.TestMove,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.TestMove") [: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.00278/0.00278, allocations: 180.5 kB / 7.456 MB, free: 2.492 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.185/1.185, allocations: 194.2 MB / 202.1 MB, free: 8.727 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.001702/0.001703, allocations: 120.5 kB / 247.1 MB, free: 6.277 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.175/0.175, allocations: 39.94 MB / 331.9 MB, free: 4.891 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.913e-06/6.943e-06, allocations: 0 / 392.8 MB, free: 75.9 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1171, allocations: 54.87 MB / 447.6 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3427/0.4599, allocations: 94.27 MB / 0.5292 GB, free: 6.148 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002231/0.4602, allocations: 73.14 kB / 0.5293 GB, free: 6.113 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.1563/0.6165, allocations: 56.04 MB / 0.584 GB, free: 6.027 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.929e-05/0.6166, allocations: 44 kB / 0.5841 GB, free: 5.984 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: 951 * Number of variables: 951 Notification: Performance of Generate backend data structure: time 0.006249/0.6229, allocations: 2.559 MB / 0.5866 GB, free: 3.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.6229, allocations: 8.031 kB / 0.5866 GB, free: 3.562 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007948/0.6309, allocations: 1.573 MB / 0.5881 GB, free: 1.996 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009877/0.6408, allocations: 3.39 MB / 0.5914 GB, free: 14.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001236/0.641, allocations: 76 kB / 0.5915 GB, free: 14.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007621/0.6417, allocations: 143.9 kB / 0.5916 GB, free: 14.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006914/0.6486, allocations: 4.088 MB / 0.5956 GB, free: 10.28 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009799/0.6585, allocations: 6.381 MB / 0.6018 GB, free: 3.094 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.314e-05/0.6586, allocations: 43.61 kB / 0.6019 GB, free: 3.051 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003227/0.6589, allocations: 24 kB / 0.6019 GB, free: 3.027 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009761/0.6599, allocations: 0.7576 MB / 0.6026 GB, free: 2.266 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03561/0.6955, allocations: 32.74 MB / 0.6346 GB, free: 484 kB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002585/0.6982, allocations: 2.079 MB / 0.6367 GB, free: 14.25 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001345/0.6995, allocations: 1.132 MB / 0.6378 GB, free: 13.1 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005657/0.7052, allocations: 3.824 MB / 0.6415 GB, free: 9.086 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.7053, allocations: 42.89 kB / 0.6415 GB, free: 9.035 MB / 458.7 MB Notification: Performance of pre-optimization done (n=94): time 2.795e-06/0.7053, allocations: 0 / 0.6415 GB, free: 9.035 MB / 458.7 MB Notification: Performance of matching and sorting (n=106): time 0.01164/0.7169, allocations: 6.236 MB / 0.6476 GB, free: 2.766 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.296e-05/0.7171, allocations: 137 kB / 0.6478 GB, free: 2.602 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003258/0.7203, allocations: 2.203 MB / 0.6499 GB, free: 384 kB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.585e-05/0.7204, allocations: 25.7 kB / 0.6499 GB, free: 352 kB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001296/0.7217, allocations: 2.065 MB / 0.6519 GB, free: 14.24 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003685/0.7221, allocations: 426.7 kB / 0.6524 GB, free: 13.82 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.7222, allocations: 0 / 0.6524 GB, free: 13.82 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000346/0.7226, allocations: 0.5399 MB / 0.6529 GB, free: 13.27 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001811/0.7244, allocations: 1.332 MB / 0.6542 GB, free: 11.93 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003889/0.7283, allocations: 4.272 MB / 0.6584 GB, free: 6.156 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003207/0.7315, allocations: 2.394 MB / 0.6607 GB, free: 3.762 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-05/0.7316, allocations: 28 kB / 0.6607 GB, free: 3.734 MB / 474.7 MB Notification: Performance of matching and sorting (n=590) (initialization): time 0.2614/0.993, allocations: 4.865 MB / 0.6655 GB, free: 95.38 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.821e-05/0.9931, allocations: 3.781 kB / 0.6655 GB, free: 95.38 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001133/0.9932, allocations: 107.7 kB / 0.6656 GB, free: 95.38 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001616/0.9934, allocations: 155.3 kB / 0.6657 GB, free: 95.38 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003876/0.9973, allocations: 1.086 MB / 0.6668 GB, free: 95.38 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001335/0.9974, allocations: 213.9 kB / 0.667 GB, free: 95.38 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003359/1.001, allocations: 180.3 kB / 0.6672 GB, free: 95.38 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003716/1.001, allocations: 288.8 kB / 0.6674 GB, free: 95.38 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 485 * Number of states: 0 () * Number of discrete variables: 15 (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],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (566): * Single equations (assignments): 563 * 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.0004913/1.002, allocations: 353.2 kB / 0.6678 GB, free: 95.28 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003177/1.002, allocations: 217.6 kB / 0.668 GB, free: 95.28 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002259/1.004, allocations: 1.18 MB / 0.6691 GB, free: 95.21 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.545e-05/1.004, allocations: 7.875 kB / 0.6691 GB, free: 95.21 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.659e-05/1.004, allocations: 2.812 kB / 0.6691 GB, free: 95.21 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.665e-05/1.004, allocations: 10.77 kB / 0.6692 GB, free: 95.21 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00688/1.011, allocations: 4.127 MB / 0.6732 GB, free: 94.53 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/1.011, allocations: 7.031 kB / 0.6732 GB, free: 94.53 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008903/1.012, allocations: 185.9 kB / 0.6734 GB, free: 94.53 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.401e-05/1.012, allocations: 11.38 kB / 0.6734 GB, free: 94.53 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.747e-05/1.012, allocations: 10.91 kB / 0.6734 GB, free: 94.53 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.234e-05/1.012, allocations: 15.97 kB / 0.6734 GB, free: 94.53 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.079e-05/1.012, allocations: 13.75 kB / 0.6734 GB, free: 94.53 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002388/1.015, allocations: 2.649 MB / 0.676 GB, free: 93.24 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007236/1.015, allocations: 429.2 kB / 0.6764 GB, free: 93.15 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002756/1.016, allocations: 10.78 kB / 0.6764 GB, free: 93.15 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009282/1.017, allocations: 49.27 kB / 0.6765 GB, free: 93.15 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/1.017, allocations: 63.89 kB / 0.6765 GB, free: 93.15 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.222e-05/1.017, allocations: 32.28 kB / 0.6766 GB, free: 93.15 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.001706/1.019, allocations: 1.459 MB / 0.678 GB, free: 93 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003152/1.022, allocations: 0.5275 MB / 0.6785 GB, free: 93 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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.0003342/1.022, allocations: 150.7 kB / 0.6786 GB, free: 92.91 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003666/1.026, allocations: 3.049 MB / 0.6816 GB, free: 92.91 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/1.026, allocations: 0 / 0.6816 GB, free: 92.91 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007563/1.027, allocations: 0.761 MB / 0.6824 GB, free: 92.91 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009728/1.028, allocations: 209.7 kB / 0.6826 GB, free: 92.89 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008713/1.036, allocations: 4.663 MB / 0.6871 GB, free: 91.85 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003449/1.04, allocations: 2.451 MB / 0.6895 GB, free: 91.09 MB / 474.7 MB Notification: Performance of SimCode: time 8.62e-07/1.04, allocations: 0 / 0.6895 GB, free: 91.09 MB / 474.7 MB Notification: Performance of Templates: time 0.04292/1.083, allocations: 21.03 MB / 0.71 GB, free: 90 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.TestMove.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.TestMove.pipe 2>&1)