Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Arrow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Arrow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001512/0.001512, allocations: 178.2 kB / 16.41 MB, free: 5.57 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.626/1.626, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00101/0.00101, allocations: 96.78 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3517/0.3517, allocations: 43.56 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004294/0.0004299, allocations: 19.98 kB / 431.4 MB, free: 5.93 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1411, allocations: 58.85 MB / 490.2 MB, free: 10.99 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.2688/0.4099, allocations: 18.96 MB / 0.4973 GB, free: 34.39 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01137/0.4214, allocations: 4.1 MB / 0.5013 GB, free: 33.71 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004827/0.4262, allocations: 79.97 kB / 0.5013 GB, free: 33.7 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003209/0.4295, allocations: 0.8133 MB / 0.5021 GB, free: 33.52 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007623/0.4371, allocations: 2.284 MB / 0.5044 GB, free: 32.79 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006654/0.4378, allocations: 46.28 kB / 0.5044 GB, free: 32.77 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008404/0.4386, allocations: 0.7562 MB / 0.5052 GB, free: 32.49 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001112/0.4398, allocations: 0.789 MB / 0.5059 GB, free: 32.17 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003663/0.4401, allocations: 249.3 kB / 0.5062 GB, free: 32.08 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004613/0.4406, allocations: 373.1 kB / 0.5065 GB, free: 31.97 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.212e-05/0.4407, allocations: 28.28 kB / 0.5065 GB, free: 31.97 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002356/0.4409, allocations: 77.22 kB / 0.5066 GB, free: 31.96 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002686/0.4412, allocations: 333.1 kB / 0.5069 GB, free: 31.86 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001267/0.4414, allocations: 192.7 kB / 0.5071 GB, free: 31.72 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008653/0.4422, allocations: 0.957 MB / 0.5081 GB, free: 31.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.4422, allocations: 4 kB / 0.5081 GB, free: 31.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4422, allocations: 1.156 kB / 0.5081 GB, free: 31.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.4423, allocations: 0 / 0.5081 GB, free: 31.54 MB / 378.7 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.001575/0.4438, allocations: 1.043 MB / 0.5091 GB, free: 30.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.4439, allocations: 13.34 kB / 0.5091 GB, free: 30.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007811/0.4447, allocations: 157.4 kB / 0.5092 GB, free: 30.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006258/0.4453, allocations: 485.3 kB / 0.5097 GB, free: 30.37 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.249e-05/0.4454, allocations: 51.11 kB / 0.5098 GB, free: 30.35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.4455, allocations: 58.22 kB / 0.5098 GB, free: 30.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001948/0.4475, allocations: 1.743 MB / 0.5115 GB, free: 29.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.4475, allocations: 7 kB / 0.5115 GB, free: 29.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.054e-05/0.4476, allocations: 28.23 kB / 0.5115 GB, free: 29.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006303/0.4482, allocations: 409.6 kB / 0.5119 GB, free: 29.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001608/0.4498, allocations: 1.195 MB / 0.5131 GB, free: 29.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00511/0.4549, allocations: 6.595 MB / 0.5195 GB, free: 24.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003686/0.4553, allocations: 186.6 kB / 0.5197 GB, free: 24.01 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001978/0.4555, allocations: 97.52 kB / 0.5198 GB, free: 23.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.4556, allocations: 8.641 kB / 0.5198 GB, free: 23.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.4556, allocations: 38.56 kB / 0.5199 GB, free: 23.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.813e-06/0.4556, allocations: 0 / 0.5199 GB, free: 23.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007691/0.4564, allocations: 377.5 kB / 0.5202 GB, free: 23.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.4564, allocations: 54.44 kB / 0.5203 GB, free: 23.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009051/0.4573, allocations: 0.9612 MB / 0.5212 GB, free: 23.33 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.4574, allocations: 32.77 kB / 0.5212 GB, free: 23.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003468/0.4577, allocations: 0.6883 MB / 0.5219 GB, free: 22.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.4578, allocations: 59.67 kB / 0.522 GB, free: 22.71 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.952e-05/0.4578, allocations: 22.94 kB / 0.522 GB, free: 22.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.4579, allocations: 392.7 kB / 0.5224 GB, free: 22.35 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000381/0.4583, allocations: 263.6 kB / 0.5226 GB, free: 22.28 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006204/0.4589, allocations: 0.9509 MB / 0.5235 GB, free: 21.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005622/0.4595, allocations: 472.2 kB / 0.524 GB, free: 21.05 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/0.4595, allocations: 6.594 kB / 0.524 GB, free: 21.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001484/0.461, allocations: 1.169 MB / 0.5251 GB, free: 20.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.461, allocations: 16.44 kB / 0.5252 GB, free: 20.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.07e-05/0.4611, allocations: 25.69 kB / 0.5252 GB, free: 20.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.925e-05/0.4611, allocations: 38.81 kB / 0.5252 GB, free: 20.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007125/0.4618, allocations: 253.2 kB / 0.5255 GB, free: 20.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.411e-05/0.4619, allocations: 42.47 kB / 0.5255 GB, free: 20.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006824/0.4626, allocations: 167.2 kB / 0.5257 GB, free: 20.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-05/0.4626, allocations: 68.02 kB / 0.5257 GB, free: 20.44 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005339/0.4632, allocations: 477.1 kB / 0.5262 GB, free: 20.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.986e-05/0.4633, allocations: 72.31 kB / 0.5263 GB, free: 20.12 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005961/0.4639, allocations: 329.1 kB / 0.5266 GB, free: 20 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.4639, allocations: 0 / 0.5266 GB, free: 20 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.4639, allocations: 3.344 kB / 0.5266 GB, free: 20 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.4639, allocations: 0 / 0.5266 GB, free: 20 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007722/0.4647, allocations: 0.7413 MB / 0.5273 GB, free: 19.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.4647, allocations: 7.109 kB / 0.5273 GB, free: 19.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001825/0.4649, allocations: 34.08 kB / 0.5273 GB, free: 19.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.4649, allocations: 3.312 kB / 0.5273 GB, free: 19.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.4649, allocations: 4 kB / 0.5273 GB, free: 19.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.4649, allocations: 0 / 0.5273 GB, free: 19.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4649, allocations: 0 / 0.5273 GB, free: 19.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005457/0.4655, allocations: 392.1 kB / 0.5277 GB, free: 19.4 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.4656, allocations: 156.3 kB / 0.5279 GB, free: 19.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.755e-05/0.4657, allocations: 6.406 kB / 0.5279 GB, free: 19.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002597/0.466, allocations: 20.91 kB / 0.5279 GB, free: 19.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.178e-05/0.466, allocations: 12.94 kB / 0.5279 GB, free: 19.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.466, allocations: 3.156 kB / 0.5279 GB, free: 19.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006541/0.4667, allocations: 0.6208 MB / 0.5285 GB, free: 19 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4667, allocations: 0 / 0.5285 GB, free: 19 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008452/0.4676, allocations: 226.8 kB / 0.5287 GB, free: 18.94 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000136/0.4677, allocations: 97.19 kB / 0.5288 GB, free: 18.85 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009261/0.4686, allocations: 0.6078 MB / 0.5294 GB, free: 18.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4687, allocations: 0 / 0.5294 GB, free: 18.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002026/0.4689, allocations: 117 kB / 0.5295 GB, free: 18.63 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005205/0.4694, allocations: 81.75 kB / 0.5296 GB, free: 18.58 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002298/0.4717, allocations: 1.99 MB / 0.5315 GB, free: 17.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005401/0.4723, allocations: 1.15 MB / 0.5327 GB, free: 16.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.4724, allocations: 59.5 kB / 0.5327 GB, free: 16.65 MB / 378.7 MB Notification: Performance of SimCode: time 8.22e-07/0.4724, allocations: 3.156 kB / 0.5327 GB, free: 16.65 MB / 378.7 MB Notification: Performance of Templates: time 0.02024/0.4927, allocations: 10.3 MB / 0.5428 GB, free: 14.3 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Arrow.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Arrow.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Arrow --alarm=480 > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1)