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.001642/0.001642, allocations: 102 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00193/0.00193, allocations: 185.2 kB / 16.92 MB, free: 6.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.629/1.629, allocations: 205.4 MB / 223.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.412/0.412, allocations: 43.57 MB / 315 MB, free: 8.773 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: Performance of FrontEnd - loaded program: time 0.0005513/0.0005517, allocations: 27.98 kB / 384.6 MB, free: 7.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1346, allocations: 58.87 MB / 443.4 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.2803/0.4149, allocations: 20.33 MB / 463.8 MB, free: 36.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009942/0.4249, allocations: 4.299 MB / 468.1 MB, free: 35.51 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003497/0.4285, allocations: 78.34 kB / 468.1 MB, free: 35.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005474/0.429, allocations: 106.8 kB / 468.3 MB, free: 35.47 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001047/0.4301, allocations: 286.6 kB / 468.5 MB, free: 35.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002279/0.4303, allocations: 45.89 kB / 468.6 MB, free: 35.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009419/0.4313, allocations: 0.9265 MB / 469.5 MB, free: 35.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001351/0.4326, allocations: 0.8906 MB / 470.4 MB, free: 35.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000315/0.433, allocations: 233 kB / 470.6 MB, free: 35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004867/0.4335, allocations: 379.9 kB / 471 MB, free: 34.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.086e-05/0.4335, allocations: 26.84 kB / 471 MB, free: 34.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002381/0.4338, allocations: 88.06 kB / 471.1 MB, free: 34.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002696/0.4341, allocations: 341.8 kB / 471.4 MB, free: 34.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003261/0.4344, allocations: 447.4 kB / 471.9 MB, free: 34.67 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009857/0.4354, allocations: 1.18 MB / 473.1 MB, free: 34.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.4354, allocations: 0 / 473.1 MB, free: 34.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.606e-06/0.4354, allocations: 0 / 473.1 MB, free: 34.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.771e-05/0.4355, allocations: 0 / 473.1 MB, free: 34.45 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.00175/0.4372, allocations: 1.024 MB / 474.1 MB, free: 33.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.4373, allocations: 9.219 kB / 474.1 MB, free: 33.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008431/0.4381, allocations: 160.8 kB / 474.2 MB, free: 33.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006212/0.4388, allocations: 499.8 kB / 474.7 MB, free: 33.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.595e-05/0.4388, allocations: 45.27 kB / 474.8 MB, free: 33.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-05/0.4389, allocations: 61.94 kB / 474.8 MB, free: 33.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00188/0.4408, allocations: 1.752 MB / 476.6 MB, free: 32.99 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/0.4408, allocations: 7.031 kB / 476.6 MB, free: 32.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.71e-05/0.4409, allocations: 29.16 kB / 476.6 MB, free: 32.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006446/0.4416, allocations: 408.7 kB / 477 MB, free: 32.97 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001698/0.4433, allocations: 1.201 MB / 478.2 MB, free: 32.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005419/0.4487, allocations: 6.608 MB / 484.8 MB, free: 27.63 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000431/0.4492, allocations: 184.2 kB / 485 MB, free: 27.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002085/0.4494, allocations: 96.84 kB / 485.1 MB, free: 27.53 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.402e-05/0.4494, allocations: 13.28 kB / 485.1 MB, free: 27.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.4495, allocations: 35.06 kB / 485.2 MB, free: 27.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 3.136e-06/0.4495, allocations: 4 kB / 485.2 MB, free: 27.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008477/0.4503, allocations: 386.6 kB / 485.5 MB, free: 27.33 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.4504, allocations: 54.78 kB / 485.6 MB, free: 27.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.4515, allocations: 0.9624 MB / 486.6 MB, free: 26.88 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.4515, allocations: 29.64 kB / 486.6 MB, free: 26.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000427/0.4519, allocations: 0.6907 MB / 487.3 MB, free: 26.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.949e-05/0.452, allocations: 59.72 kB / 487.3 MB, free: 26.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.4521, allocations: 101.8 kB / 487.4 MB, free: 26.2 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.4522, allocations: 388.6 kB / 487.8 MB, free: 25.86 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003874/0.4526, allocations: 268.4 kB / 488.1 MB, free: 25.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006398/0.4533, allocations: 0.955 MB / 489 MB, free: 24.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/0.4544, allocations: 1.31 MB / 490.3 MB, free: 23.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.487e-06/0.4544, allocations: 6 kB / 490.3 MB, free: 23.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001556/0.4559, allocations: 1.183 MB / 491.5 MB, free: 23.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/0.456, allocations: 15.47 kB / 491.5 MB, free: 23.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.312e-05/0.456, allocations: 24.16 kB / 491.6 MB, free: 23.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.729e-05/0.456, allocations: 31.34 kB / 491.6 MB, free: 23.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006616/0.4567, allocations: 255.3 kB / 491.8 MB, free: 23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.196e-05/0.4568, allocations: 50.59 kB / 491.9 MB, free: 22.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007054/0.4575, allocations: 163.4 kB / 492.1 MB, free: 22.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.069e-05/0.4576, allocations: 65 kB / 492.1 MB, free: 22.89 MB / 382.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.0005913/0.4582, allocations: 468.9 kB / 492.6 MB, free: 22.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.294e-05/0.4582, allocations: 80.22 kB / 492.7 MB, free: 22.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006231/0.4589, allocations: 324.4 kB / 493 MB, free: 22.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.4589, allocations: 3.5 kB / 493 MB, free: 22.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.4589, allocations: 0 / 493 MB, free: 22.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.4589, allocations: 0 / 493 MB, free: 22.45 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009397/0.4599, allocations: 0.7372 MB / 493.7 MB, free: 22.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.4599, allocations: 2.75 kB / 493.7 MB, free: 22.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001989/0.4601, allocations: 36.83 kB / 493.7 MB, free: 22.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.4601, allocations: 0 / 493.7 MB, free: 22.08 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.4601, allocations: 12.81 kB / 493.8 MB, free: 22.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.4601, allocations: 5.406 kB / 493.8 MB, free: 22.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4601, allocations: 0 / 493.8 MB, free: 22.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005964/0.4607, allocations: 399.8 kB / 494.2 MB, free: 21.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.4609, allocations: 157 kB / 494.3 MB, free: 21.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.637e-05/0.461, allocations: 0 / 494.3 MB, free: 21.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002607/0.4612, allocations: 18.31 kB / 494.3 MB, free: 21.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.265e-05/0.4613, allocations: 12.31 kB / 494.3 MB, free: 21.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.4613, allocations: 9.094 kB / 494.3 MB, free: 21.69 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009639/0.4623, allocations: 0.624 MB / 495 MB, free: 21.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4623, allocations: 5.062 kB / 495 MB, free: 21.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001152/0.4635, allocations: 216 kB / 495.2 MB, free: 21.39 MB / 382.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.0001517/0.4636, allocations: 101.6 kB / 495.3 MB, free: 21.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001163/0.4648, allocations: 0.6078 MB / 495.9 MB, free: 21.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.4648, allocations: 0 / 495.9 MB, free: 21.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002586/0.4651, allocations: 117.6 kB / 496 MB, free: 21.08 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005886/0.4657, allocations: 84.55 kB / 496.1 MB, free: 21.03 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002649/0.4683, allocations: 1.99 MB / 498.1 MB, free: 19.87 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007517/0.4691, allocations: 1.15 MB / 499.2 MB, free: 19.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007429/0.4698, allocations: 279.3 kB / 499.5 MB, free: 19.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.47, allocations: 50.55 kB / 499.6 MB, free: 19.04 MB / 382.1 MB Notification: Performance of SimCode: time 8.51e-07/0.47, allocations: 0 / 499.6 MB, free: 19.04 MB / 382.1 MB Notification: Performance of Templates: time 0.0145/0.4845, allocations: 5.297 MB / 0.493 GB, free: 18.68 MB / 382.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)