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.009734/0.009734, allocations: 103.7 kB / 15.74 MB, free: 5.992 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.001555/0.001555, allocations: 191.9 kB / 16.67 MB, free: 5.918 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.703/1.703, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.3678/0.3678, allocations: 37.98 MB / 307.9 MB, free: 10.04 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.001579/0.00158, allocations: 71.84 kB / 433 MB, free: 5.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3573, allocations: 56.45 MB / 489.4 MB, free: 20.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008737/0.3661, allocations: 7.066 MB / 496.5 MB, free: 15.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005087/0.3712, allocations: 2.023 MB / 498.5 MB, free: 13.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001195/0.3724, allocations: 30.06 kB / 498.6 MB, free: 13.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00153/0.374, allocations: 0.6342 MB / 499.2 MB, free: 13.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009139/0.375, allocations: 317.5 kB / 499.5 MB, free: 13.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/0.3752, allocations: 46.84 kB / 499.5 MB, free: 13.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007109/0.3759, allocations: 0.6083 MB / 0.4884 GB, free: 13.03 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008435/0.3768, allocations: 0.5853 MB / 0.489 GB, free: 12.78 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004248/0.3772, allocations: 298.7 kB / 0.4893 GB, free: 12.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005919/0.3778, allocations: 403.9 kB / 0.4897 GB, free: 12.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.3779, allocations: 57.94 kB / 0.4897 GB, free: 12.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003181/0.3782, allocations: 114.4 kB / 0.4898 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003988/0.3787, allocations: 372.2 kB / 0.4902 GB, free: 12.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003983/0.3791, allocations: 461.7 kB / 0.4906 GB, free: 11.99 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001536/0.3806, allocations: 1.281 MB / 0.4919 GB, free: 11.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3806, allocations: 0 / 0.4919 GB, free: 11.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3806, allocations: 5.438 kB / 0.4919 GB, free: 11.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.333e-05/0.3807, allocations: 4 kB / 0.4919 GB, free: 11.47 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.00215/0.3828, allocations: 1.182 MB / 0.493 GB, free: 10.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.3829, allocations: 13.86 kB / 0.4931 GB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008334/0.3837, allocations: 154.9 kB / 0.4932 GB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007302/0.3844, allocations: 0.4938 MB / 0.4937 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.206e-05/0.3845, allocations: 46.59 kB / 0.4937 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.3846, allocations: 61.72 kB / 0.4938 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002289/0.3869, allocations: 1.747 MB / 0.4955 GB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.903e-05/0.387, allocations: 10.27 kB / 0.4955 GB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.55e-05/0.387, allocations: 32.77 kB / 0.4955 GB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009062/0.3879, allocations: 408.3 kB / 0.4959 GB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002461/0.3904, allocations: 1.188 MB / 0.4971 GB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006318/0.3967, allocations: 6.558 MB / 0.5035 GB, free: 3.277 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004415/0.3972, allocations: 174.4 kB / 0.5037 GB, free: 3.176 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000225/0.3975, allocations: 91.59 kB / 0.5037 GB, free: 3.129 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.459e-05/0.3975, allocations: 9.312 kB / 0.5038 GB, free: 3.121 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.3975, allocations: 43.77 kB / 0.5038 GB, free: 3.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 3.016e-06/0.3975, allocations: 1.094 kB / 0.5038 GB, free: 3.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009061/0.3985, allocations: 360.2 kB / 0.5041 GB, free: 2.879 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.3985, allocations: 53.19 kB / 0.5042 GB, free: 2.816 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.3997, allocations: 0.9752 MB / 0.5051 GB, free: 2.262 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.3998, allocations: 26.86 kB / 0.5052 GB, free: 2.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003851/0.4002, allocations: 0.6895 MB / 0.5058 GB, free: 1.609 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.878e-05/0.4002, allocations: 55.81 kB / 0.5059 GB, free: 1.566 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002754/0.4005, allocations: 221.9 kB / 0.5061 GB, free: 1.434 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.4007, allocations: 389 kB / 0.5065 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004668/0.4011, allocations: 261.2 kB / 0.5067 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000828/0.402, allocations: 0.952 MB / 0.5077 GB, free: 15.83 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001631/0.4036, allocations: 1.299 MB / 0.5089 GB, free: 14.51 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.639e-05/0.4036, allocations: 7.688 kB / 0.5089 GB, free: 14.51 MB / 398.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002119/0.4058, allocations: 1.158 MB / 0.5101 GB, free: 13.92 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.371e-05/0.4058, allocations: 19.5 kB / 0.5101 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.789e-05/0.4059, allocations: 25.34 kB / 0.5101 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.647e-05/0.4059, allocations: 32.59 kB / 0.5101 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007946/0.4067, allocations: 249.2 kB / 0.5104 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.721e-05/0.4068, allocations: 56.31 kB / 0.5104 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009459/0.4078, allocations: 160.5 kB / 0.5106 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.71e-05/0.4079, allocations: 64.38 kB / 0.5106 GB, free: 13.72 MB / 398.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.0007965/0.4087, allocations: 479.6 kB / 0.5111 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.4088, allocations: 79.78 kB / 0.5112 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007163/0.4095, allocations: 311.9 kB / 0.5115 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.4096, allocations: 5.5 kB / 0.5115 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/0.4096, allocations: 1.25 kB / 0.5115 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.4096, allocations: 0 / 0.5115 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.4107, allocations: 0.735 MB / 0.5122 GB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.4107, allocations: 3.938 kB / 0.5122 GB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000194/0.4109, allocations: 35.28 kB / 0.5122 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.4109, allocations: 1.312 kB / 0.5122 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.4109, allocations: 5.547 kB / 0.5122 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.4109, allocations: 0 / 0.5122 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.411, allocations: 0 / 0.5122 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006716/0.4116, allocations: 393 kB / 0.5126 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001813/0.4118, allocations: 151.6 kB / 0.5128 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.088e-05/0.4119, allocations: 1.469 kB / 0.5128 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002624/0.4122, allocations: 16.58 kB / 0.5128 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.857e-05/0.4123, allocations: 17.75 kB / 0.5128 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.4123, allocations: 2.469 kB / 0.5128 GB, free: 12.2 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008951/0.4132, allocations: 0.6269 MB / 0.5134 GB, free: 11.85 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4132, allocations: 0 / 0.5134 GB, free: 11.85 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001093/0.4143, allocations: 216.8 kB / 0.5136 GB, free: 11.8 MB / 398.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.0001736/0.4145, allocations: 101.2 kB / 0.5137 GB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001159/0.4156, allocations: 0.5948 MB / 0.5143 GB, free: 11.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4156, allocations: 1.375 kB / 0.5143 GB, free: 11.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002601/0.4159, allocations: 104.2 kB / 0.5144 GB, free: 11.39 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005734/0.4165, allocations: 94.22 kB / 0.5145 GB, free: 11.33 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002847/0.4194, allocations: 1.559 MB / 0.516 GB, free: 10.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009493/0.4203, allocations: 1.148 MB / 0.5171 GB, free: 9.488 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006815/0.421, allocations: 277.3 kB / 0.5174 GB, free: 9.359 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.4212, allocations: 51.41 kB / 0.5174 GB, free: 9.348 MB / 398.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4212, allocations: 1.094 kB / 0.5174 GB, free: 9.348 MB / 398.1 MB Notification: Performance of Templates: time 0.01287/0.434, allocations: 5.876 MB / 0.5232 GB, free: 3.961 MB / 398.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)