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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001775/0.001775, allocations: 192.1 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.77/1.77, allocations: 205.1 MB / 222.4 MB, free: 4.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3703/0.3703, allocations: 37.99 MB / 307.8 MB, free: 9.996 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002531/0.002531, allocations: 70.56 kB / 375.2 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1677, allocations: 56.46 MB / 431.7 MB, free: 6.613 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.01093/0.1787, allocations: 7.058 MB / 438.8 MB, free: 15.51 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00572/0.1845, allocations: 2.03 MB / 440.8 MB, free: 13.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001464/0.186, allocations: 31.94 kB / 440.8 MB, free: 13.44 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002002/0.1881, allocations: 0.6306 MB / 441.5 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001401/0.1895, allocations: 306.3 kB / 441.8 MB, free: 12.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003652/0.1899, allocations: 51.88 kB / 441.8 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00121/0.1911, allocations: 0.6107 MB / 442.4 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001004/0.1922, allocations: 0.589 MB / 443 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006726/0.1928, allocations: 306.7 kB / 443.3 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008433/0.1937, allocations: 394.5 kB / 443.7 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002214/0.1939, allocations: 56 kB / 443.8 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004246/0.1944, allocations: 111.9 kB / 443.9 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004868/0.1949, allocations: 374.9 kB / 444.2 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008864/0.1958, allocations: 461.1 kB / 444.7 MB, free: 9.582 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001907/0.1977, allocations: 1.222 MB / 445.9 MB, free: 8.355 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1977, allocations: 0 / 445.9 MB, free: 8.355 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1977, allocations: 0 / 445.9 MB, free: 8.355 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.65e-05/0.1978, allocations: 0 / 445.9 MB, free: 8.355 MB / 382.1 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.003026/0.2008, allocations: 1.192 MB / 447.1 MB, free: 7.113 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/0.2009, allocations: 23.88 kB / 447.1 MB, free: 7.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/0.2019, allocations: 155.4 kB / 447.3 MB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000727/0.2027, allocations: 497.2 kB / 447.8 MB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.264e-05/0.2027, allocations: 49.59 kB / 447.8 MB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-05/0.2028, allocations: 64.03 kB / 447.9 MB, free: 6.301 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00225/0.2051, allocations: 1.747 MB / 449.6 MB, free: 4.414 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/0.2051, allocations: 3.938 kB / 449.6 MB, free: 4.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.361e-05/0.2052, allocations: 27.97 kB / 449.6 MB, free: 4.383 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006899/0.2059, allocations: 405.2 kB / 450 MB, free: 3.988 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001808/0.2077, allocations: 1.188 MB / 451.2 MB, free: 2.797 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2799/0.4876, allocations: 6.603 MB / 457.8 MB, free: 49.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004266/0.4881, allocations: 172 kB / 458 MB, free: 49.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/0.4883, allocations: 97.16 kB / 458.1 MB, free: 49.22 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.311e-05/0.4883, allocations: 5 kB / 458.1 MB, free: 49.22 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.4884, allocations: 34 kB / 458.1 MB, free: 49.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 2.756e-06/0.4884, allocations: 0 / 458.1 MB, free: 49.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007836/0.4892, allocations: 366.9 kB / 458.5 MB, free: 49.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.4892, allocations: 58.28 kB / 458.5 MB, free: 49.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009577/0.4902, allocations: 0.9591 MB / 459.5 MB, free: 48.9 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.4902, allocations: 29.33 kB / 459.5 MB, free: 48.87 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002992/0.4905, allocations: 0.6902 MB / 460.2 MB, free: 48.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.924e-05/0.4906, allocations: 54.56 kB / 460.3 MB, free: 48.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002007/0.4908, allocations: 222.4 kB / 460.5 MB, free: 48.42 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.4909, allocations: 389.6 kB / 460.9 MB, free: 48.1 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003719/0.4913, allocations: 267.7 kB / 461.1 MB, free: 48.06 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006033/0.4919, allocations: 0.948 MB / 462.1 MB, free: 47.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.493, allocations: 1.294 MB / 463.4 MB, free: 45.92 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.196e-05/0.493, allocations: 17.2 kB / 463.4 MB, free: 45.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001578/0.4946, allocations: 1.155 MB / 464.5 MB, free: 45.49 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.443e-05/0.4946, allocations: 15.91 kB / 464.6 MB, free: 45.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.72e-05/0.4947, allocations: 30.34 kB / 464.6 MB, free: 45.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.912e-05/0.4947, allocations: 31.97 kB / 464.6 MB, free: 45.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006591/0.4954, allocations: 248.6 kB / 464.9 MB, free: 45.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.498e-05/0.4954, allocations: 48.97 kB / 464.9 MB, free: 45.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006596/0.4961, allocations: 162 kB / 465.1 MB, free: 45.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.476e-05/0.4962, allocations: 65.41 kB / 465.1 MB, free: 45.34 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 114 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005792/0.4968, allocations: 480.8 kB / 465.6 MB, free: 45.06 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.537e-05/0.4969, allocations: 71.31 kB / 465.7 MB, free: 45.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006637/0.4975, allocations: 316.2 kB / 466 MB, free: 44.9 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.4976, allocations: 2.906 kB / 466 MB, free: 44.9 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.4976, allocations: 4 kB / 466 MB, free: 44.9 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.4976, allocations: 0 / 466 MB, free: 44.9 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008289/0.4984, allocations: 0.7395 MB / 466.7 MB, free: 44.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.4984, allocations: 3.094 kB / 466.7 MB, free: 44.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.4986, allocations: 40.38 kB / 466.8 MB, free: 44.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.4986, allocations: 0 / 466.8 MB, free: 44.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.035e-05/0.4986, allocations: 5 kB / 466.8 MB, free: 44.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.4986, allocations: 0 / 466.8 MB, free: 44.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.4987, allocations: 0 / 466.8 MB, free: 44.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005533/0.4992, allocations: 389.8 kB / 467.2 MB, free: 44.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001358/0.4994, allocations: 146.3 kB / 467.3 MB, free: 44.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.435e-05/0.4994, allocations: 3 kB / 467.3 MB, free: 44.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002394/0.4997, allocations: 13.62 kB / 467.3 MB, free: 44.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.622e-05/0.4998, allocations: 12.84 kB / 467.3 MB, free: 44.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.4998, allocations: 12.42 kB / 467.3 MB, free: 44.15 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006421/0.5004, allocations: 0.6257 MB / 468 MB, free: 43.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5004, allocations: 0 / 468 MB, free: 43.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008112/0.5013, allocations: 217.2 kB / 468.2 MB, free: 43.85 MB / 382.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001435/0.5014, allocations: 102.8 kB / 468.3 MB, free: 43.76 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009124/0.5023, allocations: 0.6106 MB / 468.9 MB, free: 43.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5023, allocations: 4 kB / 468.9 MB, free: 43.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001945/0.5025, allocations: 106.7 kB / 469 MB, free: 43.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004923/0.503, allocations: 86.34 kB / 469.1 MB, free: 43.51 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00219/0.5052, allocations: 1.579 MB / 470.7 MB, free: 42.74 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005707/0.5058, allocations: 1.155 MB / 471.8 MB, free: 41.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006044/0.5064, allocations: 276 kB / 472.1 MB, free: 41.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.5066, allocations: 55.64 kB / 472.1 MB, free: 41.91 MB / 382.1 MB Notification: Performance of SimCode: time 3.8e-07/0.5066, allocations: 0 / 472.1 MB, free: 41.91 MB / 382.1 MB Notification: Performance of Templates: time 0.01386/0.5204, allocations: 5.633 MB / 477.8 MB, free: 41.54 MB / 382.1 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)