Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.01132/0.01132, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.002136/0.002136, allocations: 196.6 kB / 16.67 MB, free: 5.926 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.745/1.745, allocations: 205.1 MB / 222.5 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3617/0.3617, allocations: 39.94 MB / 309.8 MB, free: 9.441 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.2. 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.001439/0.001439, allocations: 63.91 kB / 435.8 MB, free: 2.457 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.3898, allocations: 56.88 MB / 492.6 MB, free: 19.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008673/0.3985, allocations: 7.044 MB / 499.7 MB, free: 14.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005247/0.4038, allocations: 2.034 MB / 0.49 GB, free: 13.13 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008615/0.4047, allocations: 25.94 kB / 0.49 GB, free: 13.13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001632/0.4064, allocations: 0.6328 MB / 0.4906 GB, free: 12.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008033/0.4072, allocations: 312.2 kB / 0.4909 GB, free: 12.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000214/0.4074, allocations: 48.31 kB / 0.4909 GB, free: 12.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007751/0.4082, allocations: 0.6174 MB / 0.4916 GB, free: 12.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007527/0.409, allocations: 0.5929 MB / 0.4921 GB, free: 12.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000408/0.4094, allocations: 302.4 kB / 0.4924 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006728/0.4101, allocations: 403.8 kB / 0.4928 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.4102, allocations: 58.59 kB / 0.4929 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000286/0.4105, allocations: 105.3 kB / 0.493 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005131/0.411, allocations: 376.2 kB / 0.4933 GB, free: 11.6 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005009/0.4115, allocations: 457.5 kB / 0.4938 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001824/0.4134, allocations: 1.281 MB / 0.495 GB, free: 10.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.4134, allocations: 0.6562 kB / 0.495 GB, free: 10.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.4134, allocations: 0 / 0.495 GB, free: 10.69 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.673e-05/0.4134, allocations: 5 kB / 0.495 GB, free: 10.69 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.002152/0.4156, allocations: 1.188 MB / 0.4962 GB, free: 9.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/0.4156, allocations: 13.67 kB / 0.4962 GB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008688/0.4165, allocations: 155.6 kB / 0.4963 GB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000796/0.4173, allocations: 0.494 MB / 0.4968 GB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.302e-05/0.4174, allocations: 50.25 kB / 0.4969 GB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.4175, allocations: 62.25 kB / 0.4969 GB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002515/0.42, allocations: 1.752 MB / 0.4986 GB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.42, allocations: 6.156 kB / 0.4986 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.409e-05/0.4201, allocations: 28.59 kB / 0.4987 GB, free: 8.055 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007473/0.4209, allocations: 399.5 kB / 0.499 GB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00194/0.4228, allocations: 1.196 MB / 0.5002 GB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006102/0.429, allocations: 6.554 MB / 0.5066 GB, free: 1.668 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004862/0.4295, allocations: 169.1 kB / 0.5068 GB, free: 1.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002452/0.4297, allocations: 100.2 kB / 0.5069 GB, free: 1.516 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.239e-05/0.4298, allocations: 10.17 kB / 0.5069 GB, free: 1.508 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.4298, allocations: 35.97 kB / 0.5069 GB, free: 1.465 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 2.685e-06/0.4298, allocations: 0 / 0.5069 GB, free: 1.465 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009595/0.4308, allocations: 364.6 kB / 0.5073 GB, free: 1.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.4308, allocations: 54.19 kB / 0.5073 GB, free: 1.207 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/0.4322, allocations: 0.9665 MB / 0.5083 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.4323, allocations: 34.86 kB / 0.5083 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004348/0.4327, allocations: 0.6823 MB / 0.509 GB, free: 8 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.4328, allocations: 60.34 kB / 0.509 GB, free: 15.96 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003186/0.4332, allocations: 214.2 kB / 0.5092 GB, free: 15.83 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002367/0.4334, allocations: 388.7 kB / 0.5096 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005153/0.4339, allocations: 260 kB / 0.5098 GB, free: 15.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/0.435, allocations: 0.9527 MB / 0.5108 GB, free: 14.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001745/0.4368, allocations: 1.295 MB / 0.512 GB, free: 12.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.672e-05/0.4368, allocations: 11.38 kB / 0.512 GB, free: 12.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002105/0.4389, allocations: 1.176 MB / 0.5132 GB, free: 12.3 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.133e-05/0.439, allocations: 16.69 kB / 0.5132 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.079e-05/0.4391, allocations: 29.09 kB / 0.5132 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.143e-05/0.4391, allocations: 33.25 kB / 0.5133 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007477/0.4399, allocations: 248.6 kB / 0.5135 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.172e-05/0.4399, allocations: 48.8 kB / 0.5136 GB, free: 12.22 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009047/0.4408, allocations: 159.4 kB / 0.5137 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.044e-05/0.4409, allocations: 68.17 kB / 0.5138 GB, free: 12.11 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.0008533/0.4418, allocations: 479.9 kB / 0.5142 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/0.4419, allocations: 76.12 kB / 0.5143 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007511/0.4427, allocations: 308 kB / 0.5146 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.4427, allocations: 2.25 kB / 0.5146 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.902e-06/0.4427, allocations: 4 kB / 0.5146 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.4427, allocations: 0 / 0.5146 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.4439, allocations: 0.7386 MB / 0.5153 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.4439, allocations: 5.469 kB / 0.5153 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000196/0.4441, allocations: 34.31 kB / 0.5154 GB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.4441, allocations: 1.469 kB / 0.5154 GB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.4441, allocations: 5.531 kB / 0.5154 GB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.4441, allocations: 0 / 0.5154 GB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4442, allocations: 0 / 0.5154 GB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006584/0.4448, allocations: 385 kB / 0.5157 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001926/0.445, allocations: 148.2 kB / 0.5159 GB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.285e-05/0.4451, allocations: 8.891 kB / 0.5159 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002641/0.4454, allocations: 15.11 kB / 0.5159 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.809e-05/0.4455, allocations: 18.73 kB / 0.5159 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.4455, allocations: 11.73 kB / 0.5159 GB, free: 10.59 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009342/0.4464, allocations: 0.6217 MB / 0.5165 GB, free: 10.25 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4464, allocations: 0 / 0.5165 GB, free: 10.25 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001096/0.4475, allocations: 216.1 kB / 0.5167 GB, free: 10.19 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.0001871/0.4477, allocations: 101.5 kB / 0.5168 GB, free: 10.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001135/0.4489, allocations: 0.5987 MB / 0.5174 GB, free: 9.754 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4489, allocations: 4 kB / 0.5174 GB, free: 9.75 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002315/0.4491, allocations: 103.8 kB / 0.5175 GB, free: 9.648 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005641/0.4497, allocations: 92.45 kB / 0.5176 GB, free: 9.559 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002581/0.4523, allocations: 1.543 MB / 0.5191 GB, free: 7.988 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008202/0.4531, allocations: 1.159 MB / 0.5203 GB, free: 6.801 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005658/0.4537, allocations: 274 kB / 0.5205 GB, free: 6.531 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.4538, allocations: 55.42 kB / 0.5206 GB, free: 6.477 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4538, allocations: 0 / 0.5206 GB, free: 6.477 MB / 398.1 MB Notification: Performance of Templates: time 0.01287/0.4667, allocations: 5.871 MB / 0.5263 GB, free: 0.6211 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Arrow.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Arrow.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Arrow -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1)