Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Arrow.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.Visualizers.Arrow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1+maint.om/package.mo): time 0.001365/0.001365, allocations: 182.9 kB / 7.453 MB, free: 1.555 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.246/1.246, allocations: 170.6 MB / 178.4 MB, free: 3.941 MB / 146.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001684/0.001684, allocations: 103.9 kB / 217.7 MB, free: 12.69 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1613/0.1613, allocations: 37.97 MB / 294.8 MB, free: 60 kB / 210.8 MB Notification: Performance of FrontEnd - loaded program: time 7.043e-06/7.063e-06, allocations: 0 / 349.5 MB, free: 29.16 MB / 242.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09275/0.09277, allocations: 48.7 MB / 398.2 MB, free: 12.45 MB / 274.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3077/0.4005, allocations: 80.31 MB / 478.5 MB, free: 4.82 MB / 306.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/0.4008, allocations: 70.52 kB / 478.6 MB, free: 4.785 MB / 306.8 MB Notification: Performance of FrontEnd: time 0.04175/0.4425, allocations: 15.6 MB / 494.2 MB, free: 7.543 MB / 322.8 MB Notification: Performance of Transformations before backend: time 8.434e-05/0.4427, allocations: 20 kB / 494.2 MB, free: 7.523 MB / 322.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.003444/0.4462, allocations: 0.9902 MB / 495.2 MB, free: 6.547 MB / 322.8 MB Notification: Performance of prepare preOptimizeDAE: time 7.641e-05/0.4463, allocations: 8.031 kB / 495.2 MB, free: 6.539 MB / 322.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001925/0.4482, allocations: 221.6 kB / 495.4 MB, free: 6.324 MB / 322.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001418/0.4496, allocations: 0.558 MB / 496 MB, free: 5.816 MB / 322.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.768e-05/0.4497, allocations: 28 kB / 496 MB, free: 5.789 MB / 322.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002462/0.45, allocations: 52 kB / 496.1 MB, free: 5.738 MB / 322.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001694/0.4517, allocations: 0.993 MB / 497.1 MB, free: 5.07 MB / 322.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002391/0.4541, allocations: 1.578 MB / 498.6 MB, free: 3.688 MB / 322.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.073e-05/0.4542, allocations: 3.938 kB / 498.6 MB, free: 3.684 MB / 322.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.4543, allocations: 12 kB / 498.6 MB, free: 3.672 MB / 322.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003697/0.4546, allocations: 177.4 kB / 498.8 MB, free: 3.512 MB / 322.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008079/0.4627, allocations: 6.945 MB / 0.4939 GB, free: 13.12 MB / 338.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003/0.4631, allocations: 136.4 kB / 0.494 GB, free: 13.01 MB / 338.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.4632, allocations: 87.44 kB / 0.4941 GB, free: 12.95 MB / 338.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.682e-05/0.4632, allocations: 4 kB / 0.4941 GB, free: 12.94 MB / 338.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.4633, allocations: 30.56 kB / 0.4942 GB, free: 12.9 MB / 338.8 MB Notification: Performance of pre-optimization done (n=12): time 2.405e-06/0.4633, allocations: 0 / 0.4942 GB, free: 12.9 MB / 338.8 MB Notification: Performance of matching and sorting (n=12): time 0.0005511/0.4638, allocations: 238.3 kB / 0.4944 GB, free: 12.7 MB / 338.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.4639, allocations: 59.09 kB / 0.4944 GB, free: 12.63 MB / 338.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.4649, allocations: 0.6986 MB / 0.4951 GB, free: 12.09 MB / 338.8 MB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.4649, allocations: 29.7 kB / 0.4951 GB, free: 12.05 MB / 338.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004898/0.4654, allocations: 0.6479 MB / 0.4958 GB, free: 11.46 MB / 338.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.978e-05/0.4655, allocations: 62.88 kB / 0.4958 GB, free: 11.41 MB / 338.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.556e-05/0.4655, allocations: 0 / 0.4958 GB, free: 11.41 MB / 338.8 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.4657, allocations: 382 kB / 0.4962 GB, free: 11.06 MB / 338.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003006/0.466, allocations: 227.1 kB / 0.4964 GB, free: 10.91 MB / 338.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008374/0.4669, allocations: 0.9276 MB / 0.4973 GB, free: 9.727 MB / 338.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005205/0.4674, allocations: 450.8 kB / 0.4978 GB, free: 9.391 MB / 338.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/0.4674, allocations: 8 kB / 0.4978 GB, free: 9.383 MB / 338.8 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.001354/0.4688, allocations: 0.9716 MB / 0.4987 GB, free: 8.555 MB / 338.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.4688, allocations: 12 kB / 0.4987 GB, free: 8.543 MB / 338.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.547e-05/0.4688, allocations: 28 kB / 0.4988 GB, free: 8.516 MB / 338.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.269e-05/0.4689, allocations: 36 kB / 0.4988 GB, free: 8.48 MB / 338.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007539/0.4696, allocations: 257.7 kB / 0.499 GB, free: 8.238 MB / 338.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.862e-05/0.4697, allocations: 47.8 kB / 0.4991 GB, free: 8.191 MB / 338.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007507/0.4704, allocations: 134.5 kB / 0.4992 GB, free: 8.059 MB / 338.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.795e-05/0.4706, allocations: 67.42 kB / 0.4993 GB, free: 8 MB / 338.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * Number of states: 0 () * Number of discrete variables: 18 (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 (129): * Single equations (assignments): 129 * 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.0001799/0.4707, allocations: 172.4 kB / 0.4994 GB, free: 7.836 MB / 338.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.649e-05/0.4708, allocations: 63.16 kB / 0.4995 GB, free: 7.773 MB / 338.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004809/0.4713, allocations: 265.7 kB / 0.4997 GB, free: 7.559 MB / 338.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.4713, allocations: 7.938 kB / 0.4998 GB, free: 7.551 MB / 338.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.4714, allocations: 0 / 0.4998 GB, free: 7.551 MB / 338.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.4714, allocations: 0 / 0.4998 GB, free: 7.551 MB / 338.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007453/0.4721, allocations: 0.527 MB / 0.5003 GB, free: 7.102 MB / 338.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.4721, allocations: 3.984 kB / 0.5003 GB, free: 7.098 MB / 338.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002017/0.4723, allocations: 35.97 kB / 0.5003 GB, free: 7.062 MB / 338.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.4723, allocations: 4 kB / 0.5003 GB, free: 7.059 MB / 338.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.4724, allocations: 0 / 0.5003 GB, free: 7.059 MB / 338.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.4724, allocations: 0 / 0.5003 GB, free: 7.059 MB / 338.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.4724, allocations: 0 / 0.5003 GB, free: 7.059 MB / 338.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003943/0.4728, allocations: 353.1 kB / 0.5007 GB, free: 6.738 MB / 338.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001983/0.473, allocations: 150.3 kB / 0.5008 GB, free: 6.582 MB / 338.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.862e-05/0.4731, allocations: 0 / 0.5008 GB, free: 6.582 MB / 338.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002671/0.4733, allocations: 15.89 kB / 0.5008 GB, free: 6.566 MB / 338.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.296e-05/0.4734, allocations: 11.98 kB / 0.5008 GB, free: 6.555 MB / 338.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.4734, allocations: 3.938 kB / 0.5008 GB, free: 6.551 MB / 338.8 MB Notification: Performance of sort global known variables: time 0.0005788/0.474, allocations: 0.4911 MB / 0.5013 GB, free: 6.191 MB / 338.8 MB Notification: Performance of remove unused functions: time 0.0008716/0.4749, allocations: 215 kB / 0.5015 GB, free: 5.98 MB / 338.8 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.0001726/0.4751, allocations: 91.25 kB / 0.5016 GB, free: 5.879 MB / 338.8 MB Notification: Performance of simCode: created initialization part: time 0.0007101/0.4758, allocations: 0.5364 MB / 0.5021 GB, free: 5.453 MB / 338.8 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4758, allocations: 0 / 0.5021 GB, free: 5.453 MB / 338.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.4759, allocations: 87.39 kB / 0.5022 GB, free: 5.391 MB / 338.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.4763, allocations: 51.92 kB / 0.5023 GB, free: 5.363 MB / 338.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/0.4784, allocations: 1.125 MB / 0.5034 GB, free: 4.34 MB / 338.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001042/0.4794, allocations: 1.231 MB / 0.5046 GB, free: 3.16 MB / 338.8 MB Notification: Performance of SimCode: time 2.81e-07/0.4794, allocations: 0 / 0.5046 GB, free: 3.16 MB / 338.8 MB Notification: Performance of Templates: time 0.012/0.4914, allocations: 4.656 MB / 0.5091 GB, free: 14.52 MB / 354.8 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Arrow.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Arrow.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Arrow -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1)