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/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.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 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.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 120.9 kB / 17.09 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001872/0.001872, allocations: 198.5 kB / 18.02 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.443/2.443, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3752/0.3752, allocations: 43.53 MB / 314.8 MB, free: 464 kB / 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: Performance of FrontEnd - loaded program: time 0.002811/0.002811, allocations: 77.44 kB / 442.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2539, allocations: 57.78 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.01446/0.2684, allocations: 7.06 MB / 0.4954 GB, free: 4.727 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00728/0.2758, allocations: 2.026 MB / 0.4974 GB, free: 2.695 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001397/0.2773, allocations: 35.88 kB / 0.4974 GB, free: 2.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002294/0.2796, allocations: 0.6345 MB / 0.498 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001546/0.2812, allocations: 310.3 kB / 0.4983 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004036/0.2817, allocations: 47.88 kB / 0.4984 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001691/0.2834, allocations: 0.6184 MB / 0.499 GB, free: 1.051 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001595/0.285, allocations: 0.5774 MB / 0.4996 GB, free: 476 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001006/0.286, allocations: 298.8 kB / 0.4998 GB, free: 176 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001153/0.2872, allocations: 394.5 kB / 0.5002 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000286/0.2875, allocations: 64 kB / 0.5003 GB, free: 15.72 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000586/0.2881, allocations: 107.9 kB / 0.5004 GB, free: 15.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006787/0.2888, allocations: 382.9 kB / 0.5007 GB, free: 15.24 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001018/0.2899, allocations: 457.1 kB / 0.5012 GB, free: 14.79 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002415/0.2923, allocations: 1.276 MB / 0.5024 GB, free: 13.51 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.2923, allocations: 0 / 0.5024 GB, free: 13.51 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.2923, allocations: 0 / 0.5024 GB, free: 13.51 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.784e-05/0.2924, allocations: 0 / 0.5024 GB, free: 13.51 MB / 398.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.003886/0.2963, allocations: 1.204 MB / 0.5036 GB, free: 12.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.748e-05/0.2964, allocations: 11.89 kB / 0.5036 GB, free: 12.24 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00143/0.2978, allocations: 159.4 kB / 0.5038 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001308/0.2992, allocations: 497.2 kB / 0.5042 GB, free: 11.56 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.24e-05/0.2993, allocations: 53.58 kB / 0.5043 GB, free: 11.51 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001777/0.2995, allocations: 64.09 kB / 0.5044 GB, free: 11.45 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003839/0.3033, allocations: 1.743 MB / 0.5061 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.029e-05/0.3034, allocations: 7.938 kB / 0.5061 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000132/0.3035, allocations: 35.95 kB / 0.5061 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001154/0.3047, allocations: 397.2 kB / 0.5065 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003555/0.3083, allocations: 1.195 MB / 0.5076 GB, free: 7.934 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01245/0.3208, allocations: 6.56 MB / 0.5141 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006897/0.3215, allocations: 174.5 kB / 0.5142 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003497/0.3219, allocations: 96.78 kB / 0.5143 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.441e-05/0.322, allocations: 15.86 kB / 0.5143 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.367e-05/0.322, allocations: 30.56 kB / 0.5144 GB, free: 0.793 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 3.767e-06/0.3221, allocations: 0 / 0.5144 GB, free: 0.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.001427/0.3235, allocations: 368.5 kB / 0.5147 GB, free: 436 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.01e-05/0.3236, allocations: 59.34 kB / 0.5148 GB, free: 364 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002155/0.3257, allocations: 0.9576 MB / 0.5157 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.963e-05/0.3258, allocations: 29.7 kB / 0.5157 GB, free: 15.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007873/0.3266, allocations: 0.6902 MB / 0.5164 GB, free: 14.65 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.3267, allocations: 55.44 kB / 0.5165 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004592/0.3272, allocations: 218.3 kB / 0.5167 GB, free: 14.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003038/0.3275, allocations: 394.7 kB / 0.517 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008126/0.3283, allocations: 257.8 kB / 0.5173 GB, free: 13.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001521/0.3299, allocations: 0.9527 MB / 0.5182 GB, free: 12.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002402/0.3323, allocations: 1.293 MB / 0.5195 GB, free: 10.78 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.583e-05/0.3323, allocations: 8 kB / 0.5195 GB, free: 10.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003407/0.3358, allocations: 1.176 MB / 0.5206 GB, free: 9.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.185e-05/0.3358, allocations: 16 kB / 0.5207 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.934e-05/0.3359, allocations: 24 kB / 0.5207 GB, free: 9.551 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.458e-05/0.336, allocations: 32.78 kB / 0.5207 GB, free: 9.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/0.3373, allocations: 255.5 kB / 0.5209 GB, free: 9.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.603e-05/0.3374, allocations: 47.8 kB / 0.521 GB, free: 9.223 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001474/0.3389, allocations: 154.4 kB / 0.5211 GB, free: 9.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001379/0.339, allocations: 67.98 kB / 0.5212 GB, free: 9.004 MB / 414.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.00103/0.3401, allocations: 467.3 kB / 0.5217 GB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002403/0.3403, allocations: 79 kB / 0.5217 GB, free: 8.457 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001163/0.3415, allocations: 316.4 kB / 0.522 GB, free: 8.141 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.3415, allocations: 3.984 kB / 0.522 GB, free: 8.137 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.3415, allocations: 0 / 0.522 GB, free: 8.137 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.3415, allocations: 0 / 0.522 GB, free: 8.137 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001829/0.3434, allocations: 0.7393 MB / 0.5228 GB, free: 7.348 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.3434, allocations: 7.938 kB / 0.5228 GB, free: 7.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003114/0.3437, allocations: 35.91 kB / 0.5228 GB, free: 7.305 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.387e-06/0.3437, allocations: 0 / 0.5228 GB, free: 7.305 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/0.3438, allocations: 7.938 kB / 0.5228 GB, free: 7.297 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.3438, allocations: 0 / 0.5228 GB, free: 7.297 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.351e-06/0.3438, allocations: 4 kB / 0.5228 GB, free: 7.293 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009982/0.3448, allocations: 382.5 kB / 0.5232 GB, free: 6.902 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003187/0.3451, allocations: 148.1 kB / 0.5233 GB, free: 6.738 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/0.3453, allocations: 8 kB / 0.5233 GB, free: 6.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00047/0.3458, allocations: 11.98 kB / 0.5233 GB, free: 6.719 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.171e-05/0.3459, allocations: 7.984 kB / 0.5233 GB, free: 6.711 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/0.3459, allocations: 11.98 kB / 0.5234 GB, free: 6.699 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001381/0.3473, allocations: 0.6239 MB / 0.524 GB, free: 6.082 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.3474, allocations: 8 kB / 0.524 GB, free: 6.074 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001773/0.3491, allocations: 219.1 kB / 0.5242 GB, free: 5.859 MB / 414.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.0002425/0.3494, allocations: 99.19 kB / 0.5243 GB, free: 5.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001843/0.3512, allocations: 0.5953 MB / 0.5249 GB, free: 5.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.3513, allocations: 7.938 kB / 0.5249 GB, free: 5.152 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003619/0.3516, allocations: 104.1 kB / 0.525 GB, free: 5.051 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009912/0.3526, allocations: 83.22 kB / 0.525 GB, free: 4.969 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00463/0.3573, allocations: 1.643 MB / 0.5266 GB, free: 3.293 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001469/0.3588, allocations: 1.148 MB / 0.5278 GB, free: 2.117 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002694/0.3591, allocations: 67.42 kB / 0.5278 GB, free: 2.051 MB / 414.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3591, allocations: 0 / 0.5278 GB, free: 2.051 MB / 414.1 MB Notification: Performance of Templates: time 0.42/0.7791, allocations: 10.55 MB / 0.5381 GB, free: 37.58 MB / 414.1 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)