Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow") [: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.3+maint.om/package.mo): time 0.001297/0.001297, allocations: 188.5 kB / 7.803 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.018/1.018, allocations: 205.2 MB / 213.4 MB, free: 13.88 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008077/0.0008078, allocations: 93.06 kB / 261.4 MB, free: 13.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.147/0.147, allocations: 43.49 MB / 352.9 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.58e-06/5.6e-06, allocations: 4 kB / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2066, allocations: 58.84 MB / 476.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1062/0.3129, allocations: 94.38 MB / 0.5576 GB, free: 4.574 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001832/0.3131, allocations: 79.95 kB / 0.5576 GB, free: 4.496 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03946/0.3526, allocations: 16.24 MB / 0.5735 GB, free: 4.129 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.609e-05/0.3527, allocations: 20 kB / 0.5735 GB, free: 4.109 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.001209/0.3539, allocations: 0.994 MB / 0.5745 GB, free: 3.066 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.044e-05/0.3539, allocations: 8.031 kB / 0.5745 GB, free: 3.059 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/0.3551, allocations: 218.3 kB / 0.5747 GB, free: 2.844 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008511/0.356, allocations: 0.5767 MB / 0.5753 GB, free: 2.223 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/0.356, allocations: 28 kB / 0.5753 GB, free: 2.195 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.3562, allocations: 48 kB / 0.5753 GB, free: 2.148 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00123/0.3574, allocations: 0.9961 MB / 0.5763 GB, free: 1.152 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001766/0.3592, allocations: 1.596 MB / 0.5779 GB, free: 15.37 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.3592, allocations: 7.938 kB / 0.5779 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.587e-05/0.3593, allocations: 4 kB / 0.5779 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002794/0.3596, allocations: 189.3 kB / 0.5781 GB, free: 15.17 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005745/0.3653, allocations: 7.039 MB / 0.5849 GB, free: 7.891 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.3655, allocations: 146.5 kB / 0.5851 GB, free: 7.738 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.3656, allocations: 80.72 kB / 0.5851 GB, free: 7.656 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.3657, allocations: 3.984 kB / 0.5851 GB, free: 7.652 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.3657, allocations: 42.56 kB / 0.5852 GB, free: 7.602 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 1.603e-06/0.3657, allocations: 0 / 0.5852 GB, free: 7.602 MB / 426.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003517/0.3661, allocations: 241 kB / 0.5854 GB, free: 7.359 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/0.3661, allocations: 51.41 kB / 0.5855 GB, free: 7.297 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007031/0.3668, allocations: 0.718 MB / 0.5862 GB, free: 6.574 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.3668, allocations: 29.64 kB / 0.5862 GB, free: 6.539 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003269/0.3672, allocations: 0.6624 MB / 0.5868 GB, free: 5.863 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.246e-05/0.3672, allocations: 59.38 kB / 0.5869 GB, free: 5.805 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.444e-05/0.3673, allocations: 4 kB / 0.5869 GB, free: 5.801 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3674, allocations: 378.8 kB / 0.5873 GB, free: 5.422 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002841/0.3677, allocations: 234.5 kB / 0.5875 GB, free: 5.191 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006472/0.3683, allocations: 0.9465 MB / 0.5884 GB, free: 3.871 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004784/0.3688, allocations: 455.4 kB / 0.5888 GB, free: 3.426 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/0.3688, allocations: 8 kB / 0.5889 GB, free: 3.418 MB / 426.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001338/0.3702, allocations: 1.002 MB / 0.5898 GB, free: 2.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.3702, allocations: 8 kB / 0.5898 GB, free: 2.402 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.192e-05/0.3702, allocations: 24 kB / 0.5899 GB, free: 2.379 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.003e-05/0.3703, allocations: 40 kB / 0.5899 GB, free: 2.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007361/0.371, allocations: 260 kB / 0.5901 GB, free: 2.086 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.541e-05/0.3711, allocations: 63.67 kB / 0.5902 GB, free: 2.023 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000638/0.3717, allocations: 126.5 kB / 0.5903 GB, free: 1.898 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.267e-05/0.3718, allocations: 68 kB / 0.5904 GB, free: 1.832 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 120 * Number of states: 0 () * Number of discrete variables: 21 (world.groundColor[3],world.groundColor[2],world.groundColor[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],fixedArrow.color[3],fixedArrow.color[2],fixedArrow.color[1],arrow.color[3],arrow.color[2],arrow.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 132 * Array equations: 0 * 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.000141/0.3719, allocations: 186.3 kB / 0.5906 GB, free: 1.641 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.507e-05/0.372, allocations: 63.16 kB / 0.5906 GB, free: 1.578 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004112/0.3724, allocations: 263.5 kB / 0.5909 GB, free: 1.312 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.3724, allocations: 0 / 0.5909 GB, free: 1.312 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3725, allocations: 11.94 kB / 0.5909 GB, free: 1.301 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.3725, allocations: 3.906 kB / 0.5909 GB, free: 1.297 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006398/0.3731, allocations: 0.5213 MB / 0.5914 GB, free: 0.7383 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3731, allocations: 0 / 0.5914 GB, free: 0.7383 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001942/0.3733, allocations: 39.91 kB / 0.5914 GB, free: 0.6992 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.3733, allocations: 3.906 kB / 0.5915 GB, free: 0.6953 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.3734, allocations: 0 / 0.5915 GB, free: 0.6953 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3734, allocations: 4 kB / 0.5915 GB, free: 0.6914 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3734, allocations: 0 / 0.5915 GB, free: 0.6914 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003145/0.3737, allocations: 342.7 kB / 0.5918 GB, free: 348 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.3738, allocations: 136.2 kB / 0.5919 GB, free: 192 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.75e-05/0.3739, allocations: 3.984 kB / 0.5919 GB, free: 188 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002625/0.3742, allocations: 19.98 kB / 0.5919 GB, free: 168 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.838e-05/0.3742, allocations: 19.88 kB / 0.592 GB, free: 148 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.3742, allocations: 4 kB / 0.592 GB, free: 144 kB / 426.7 MB Notification: Performance of sort global known variables: time 0.0004979/0.3747, allocations: 0.4952 MB / 0.5924 GB, free: 15.65 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007624/0.3755, allocations: 203.1 kB / 0.5926 GB, free: 15.45 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * 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.0001289/0.3757, allocations: 107.1 kB / 0.5927 GB, free: 15.34 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000649/0.3763, allocations: 0.5372 MB / 0.5933 GB, free: 14.81 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3763, allocations: 4.188 kB / 0.5933 GB, free: 14.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.3764, allocations: 91.94 kB / 0.5934 GB, free: 14.71 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.3767, allocations: 61.67 kB / 0.5934 GB, free: 14.66 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.3785, allocations: 1.133 MB / 0.5945 GB, free: 13.49 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000893/0.3794, allocations: 1.233 MB / 0.5957 GB, free: 12.23 MB / 442.7 MB Notification: Performance of SimCode: time 3.21e-07/0.3794, allocations: 0 / 0.5957 GB, free: 12.23 MB / 442.7 MB Notification: Performance of Templates: time 0.009891/0.3893, allocations: 4.733 MB / 0.6003 GB, free: 7.5 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1)