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.01202/0.01202, allocations: 99.14 kB / 15.73 MB, free: 6.039 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.002439/0.002439, allocations: 194.7 kB / 16.67 MB, free: 5.969 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.624/1.624, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.3768/0.3768, allocations: 38 MB / 307.9 MB, free: 10.01 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.002425/0.002425, allocations: 67.91 kB / 433 MB, free: 5.441 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3513, allocations: 56.46 MB / 489.4 MB, free: 20.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008065/0.3594, allocations: 7.051 MB / 496.5 MB, free: 15.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004889/0.3644, allocations: 2.03 MB / 498.5 MB, free: 13.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001122/0.3655, allocations: 29.56 kB / 498.6 MB, free: 13.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001584/0.3672, allocations: 0.6256 MB / 499.2 MB, free: 13.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009586/0.3681, allocations: 319.4 kB / 499.5 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002488/0.3684, allocations: 45.91 kB / 499.5 MB, free: 13.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007646/0.3692, allocations: 0.6125 MB / 0.4884 GB, free: 12.9 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007804/0.37, allocations: 0.5924 MB / 0.489 GB, free: 12.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004309/0.3704, allocations: 298.8 kB / 0.4893 GB, free: 12.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005859/0.371, allocations: 400.5 kB / 0.4897 GB, free: 12.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.3711, allocations: 58.12 kB / 0.4897 GB, free: 12.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002991/0.3714, allocations: 113 kB / 0.4898 GB, free: 12.31 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003826/0.3718, allocations: 373.2 kB / 0.4902 GB, free: 12.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003579/0.3722, allocations: 469.9 kB / 0.4906 GB, free: 11.85 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001506/0.3737, allocations: 1.282 MB / 0.4919 GB, free: 11.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3737, allocations: 0 / 0.4919 GB, free: 11.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3737, allocations: 0 / 0.4919 GB, free: 11.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.785e-05/0.3737, allocations: 0 / 0.4919 GB, free: 11.34 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.00198/0.3757, allocations: 1.188 MB / 0.4931 GB, free: 10.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.3758, allocations: 17.8 kB / 0.4931 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008794/0.3767, allocations: 151 kB / 0.4932 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007753/0.3775, allocations: 0.4925 MB / 0.4937 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.3e-05/0.3775, allocations: 47.41 kB / 0.4937 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.76e-05/0.3776, allocations: 61.41 kB / 0.4938 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002409/0.38, allocations: 1.748 MB / 0.4955 GB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/0.3801, allocations: 6.094 kB / 0.4955 GB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.912e-05/0.3801, allocations: 29.28 kB / 0.4955 GB, free: 9.109 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008139/0.381, allocations: 407.5 kB / 0.4959 GB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00217/0.3831, allocations: 1.185 MB / 0.4971 GB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006342/0.3895, allocations: 6.565 MB / 0.5035 GB, free: 3.117 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004189/0.3899, allocations: 173.3 kB / 0.5037 GB, free: 3.016 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002264/0.3902, allocations: 99.81 kB / 0.5038 GB, free: 2.961 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.265e-05/0.3902, allocations: 17.06 kB / 0.5038 GB, free: 2.945 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.3902, allocations: 32.78 kB / 0.5038 GB, free: 2.906 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 3.496e-06/0.3903, allocations: 3.984 kB / 0.5038 GB, free: 2.902 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.000892/0.3912, allocations: 356.2 kB / 0.5041 GB, free: 2.715 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.3912, allocations: 53.78 kB / 0.5042 GB, free: 2.652 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.3923, allocations: 0.9667 MB / 0.5051 GB, free: 2.105 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.3924, allocations: 30.72 kB / 0.5052 GB, free: 2.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000364/0.3927, allocations: 0.6903 MB / 0.5058 GB, free: 1.449 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.677e-05/0.3928, allocations: 55.53 kB / 0.5059 GB, free: 1.406 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002869/0.3931, allocations: 221.9 kB / 0.5061 GB, free: 1.273 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3932, allocations: 390 kB / 0.5065 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004338/0.3937, allocations: 264.6 kB / 0.5067 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008225/0.3945, allocations: 0.9441 MB / 0.5077 GB, free: 15.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/0.396, allocations: 1.303 MB / 0.5089 GB, free: 14.34 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.311e-05/0.396, allocations: 7.438 kB / 0.5089 GB, free: 14.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001938/0.3979, allocations: 1.165 MB / 0.5101 GB, free: 13.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/0.398, allocations: 16 kB / 0.5101 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.679e-05/0.398, allocations: 29.2 kB / 0.5101 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.384e-05/0.3981, allocations: 36.44 kB / 0.5102 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007471/0.3988, allocations: 245.6 kB / 0.5104 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-05/0.3989, allocations: 51.72 kB / 0.5104 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008293/0.3997, allocations: 160.3 kB / 0.5106 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.976e-05/0.3998, allocations: 68.78 kB / 0.5107 GB, free: 13.55 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.0007252/0.4006, allocations: 479.4 kB / 0.5111 GB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.4007, allocations: 75.94 kB / 0.5112 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007416/0.4014, allocations: 308.7 kB / 0.5115 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.4015, allocations: 1.312 kB / 0.5115 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.4015, allocations: 0 / 0.5115 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.4015, allocations: 5.453 kB / 0.5115 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/0.4026, allocations: 0.7347 MB / 0.5122 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.4026, allocations: 3.938 kB / 0.5122 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001871/0.4028, allocations: 30.47 kB / 0.5122 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.4028, allocations: 5.375 kB / 0.5122 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.4028, allocations: 5.234 kB / 0.5122 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.4028, allocations: 1.656 kB / 0.5122 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4029, allocations: 0 / 0.5122 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000619/0.4035, allocations: 384.5 kB / 0.5126 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001783/0.4037, allocations: 151.1 kB / 0.5128 GB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.718e-05/0.4037, allocations: 7.312 kB / 0.5128 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002522/0.404, allocations: 15.14 kB / 0.5128 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.385e-05/0.4041, allocations: 13.72 kB / 0.5128 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.4041, allocations: 7.5 kB / 0.5128 GB, free: 12.04 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008664/0.405, allocations: 0.6287 MB / 0.5134 GB, free: 11.69 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.405, allocations: 0 / 0.5134 GB, free: 11.69 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000968/0.406, allocations: 212.6 kB / 0.5136 GB, free: 11.64 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.0001807/0.4061, allocations: 105.5 kB / 0.5137 GB, free: 11.54 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001094/0.4072, allocations: 0.5909 MB / 0.5143 GB, free: 11.27 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4073, allocations: 0 / 0.5143 GB, free: 11.27 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002403/0.4075, allocations: 105.4 kB / 0.5144 GB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005479/0.4081, allocations: 100.9 kB / 0.5145 GB, free: 11.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003052/0.4111, allocations: 1.552 MB / 0.516 GB, free: 10.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009578/0.4121, allocations: 1.145 MB / 0.5171 GB, free: 9.332 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006806/0.4128, allocations: 281.6 kB / 0.5174 GB, free: 9.199 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.4129, allocations: 55.42 kB / 0.5174 GB, free: 9.184 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4129, allocations: 0 / 0.5174 GB, free: 9.184 MB / 398.1 MB Notification: Performance of Templates: time 0.01232/0.4253, allocations: 5.879 MB / 0.5232 GB, free: 3.828 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)