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.00109/0.00109, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001173/0.001173, allocations: 194.9 kB / 16.14 MB, free: 6.711 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.8/1.8, allocations: 205.1 MB / 222 MB, free: 4.789 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.3988/0.3988, allocations: 39.93 MB / 309.3 MB, free: 9.637 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.001419/0.001419, allocations: 66.56 kB / 376.9 MB, free: 13.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.154, allocations: 56.89 MB / 433.8 MB, free: 4.414 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.3189/0.473, allocations: 21.03 MB / 454.8 MB, free: 35.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009639/0.4827, allocations: 4.337 MB / 459.2 MB, free: 35.44 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003804/0.4865, allocations: 82.44 kB / 459.3 MB, free: 35.44 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0014/0.488, allocations: 0.615 MB / 459.9 MB, free: 35.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006962/0.4887, allocations: 287.9 kB / 460.2 MB, free: 35.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002268/0.4889, allocations: 42.17 kB / 460.2 MB, free: 35.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006793/0.4896, allocations: 0.9346 MB / 461.1 MB, free: 35.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006435/0.4903, allocations: 0.573 MB / 461.7 MB, free: 35.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002768/0.4906, allocations: 269.5 kB / 462 MB, free: 35.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004472/0.491, allocations: 424.3 kB / 462.4 MB, free: 35.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.942e-05/0.4911, allocations: 41.72 kB / 462.4 MB, free: 35.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002404/0.4914, allocations: 112.1 kB / 462.5 MB, free: 35.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003024/0.4917, allocations: 364.4 kB / 462.9 MB, free: 35.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003077/0.492, allocations: 445 kB / 463.3 MB, free: 34.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008315/0.4928, allocations: 1.211 MB / 464.5 MB, free: 34.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4929, allocations: 4 kB / 464.5 MB, free: 34.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.4929, allocations: 3.219 kB / 464.5 MB, free: 34.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.706e-05/0.4929, allocations: 0 / 464.5 MB, free: 34.36 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.0017/0.4946, allocations: 1.183 MB / 465.7 MB, free: 33.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.624e-05/0.4947, allocations: 9.844 kB / 465.7 MB, free: 33.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008275/0.4955, allocations: 158.6 kB / 465.9 MB, free: 33.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006675/0.4962, allocations: 0.4913 MB / 466.4 MB, free: 33.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.939e-05/0.4963, allocations: 47.48 kB / 466.4 MB, free: 33.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.37e-05/0.4963, allocations: 63.02 kB / 466.5 MB, free: 33.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001982/0.4983, allocations: 1.742 MB / 468.2 MB, free: 32.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.535e-05/0.4984, allocations: 11.38 kB / 468.2 MB, free: 32.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.896e-05/0.4984, allocations: 29.5 kB / 468.3 MB, free: 32.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006918/0.4991, allocations: 405.2 kB / 468.7 MB, free: 32.15 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001609/0.5008, allocations: 1.189 MB / 469.8 MB, free: 31.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005204/0.506, allocations: 6.608 MB / 476.5 MB, free: 26.81 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000354/0.5064, allocations: 168.8 kB / 476.6 MB, free: 26.74 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.5066, allocations: 95.22 kB / 476.7 MB, free: 26.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.5066, allocations: 9.953 kB / 476.7 MB, free: 26.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.5066, allocations: 38.61 kB / 476.8 MB, free: 26.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.863e-06/0.5066, allocations: 6.844 kB / 476.8 MB, free: 26.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006906/0.5073, allocations: 361.2 kB / 477.1 MB, free: 26.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.5074, allocations: 51.41 kB / 477.2 MB, free: 26.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008649/0.5082, allocations: 0.9622 MB / 478.1 MB, free: 26.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.5083, allocations: 25.7 kB / 478.2 MB, free: 26.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003199/0.5086, allocations: 0.6961 MB / 478.9 MB, free: 25.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/0.5086, allocations: 62.42 kB / 478.9 MB, free: 25.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002036/0.5088, allocations: 218.5 kB / 479.1 MB, free: 25.33 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.509, allocations: 390.3 kB / 479.5 MB, free: 24.99 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000369/0.5093, allocations: 264.8 kB / 479.8 MB, free: 24.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006311/0.51, allocations: 0.9475 MB / 480.7 MB, free: 23.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.5111, allocations: 1.298 MB / 482 MB, free: 22.63 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/0.5111, allocations: 9.562 kB / 482 MB, free: 22.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001476/0.5126, allocations: 1.165 MB / 483.2 MB, free: 22.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.5126, allocations: 15.69 kB / 483.2 MB, free: 22.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.115e-05/0.5126, allocations: 25.19 kB / 483.2 MB, free: 22.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.275e-05/0.5127, allocations: 32.34 kB / 483.3 MB, free: 22.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000637/0.5133, allocations: 250 kB / 483.5 MB, free: 22.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.302e-05/0.5133, allocations: 46.7 kB / 483.6 MB, free: 22.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006209/0.514, allocations: 158.6 kB / 483.7 MB, free: 22.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-05/0.514, allocations: 68.69 kB / 483.8 MB, free: 22.02 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.0005071/0.5146, allocations: 481 kB / 484.2 MB, free: 21.74 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.943e-05/0.5147, allocations: 75.47 kB / 484.3 MB, free: 21.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006137/0.5153, allocations: 309.9 kB / 484.6 MB, free: 21.58 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.5153, allocations: 0 / 484.6 MB, free: 21.58 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.5153, allocations: 3.375 kB / 484.6 MB, free: 21.58 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.5153, allocations: 2.906 kB / 484.6 MB, free: 21.58 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008423/0.5162, allocations: 0.7348 MB / 485.4 MB, free: 21.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.5162, allocations: 0 / 485.4 MB, free: 21.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001798/0.5164, allocations: 36 kB / 485.4 MB, free: 21.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.5164, allocations: 6.906 kB / 485.4 MB, free: 21.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.5164, allocations: 4 kB / 485.4 MB, free: 21.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.5164, allocations: 0 / 485.4 MB, free: 21.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.5164, allocations: 7.062 kB / 485.4 MB, free: 21.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005196/0.5169, allocations: 387.2 kB / 485.8 MB, free: 20.97 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.5171, allocations: 157.1 kB / 485.9 MB, free: 20.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.17e-05/0.5171, allocations: 0 / 485.9 MB, free: 20.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/0.5174, allocations: 17.2 kB / 486 MB, free: 20.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.371e-05/0.5175, allocations: 16.11 kB / 486 MB, free: 20.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.5175, allocations: 3.125 kB / 486 MB, free: 20.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006503/0.5182, allocations: 0.6226 MB / 486.6 MB, free: 20.58 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.813e-06/0.5182, allocations: 0 / 486.6 MB, free: 20.58 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008221/0.519, allocations: 219 kB / 486.8 MB, free: 20.52 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.0001667/0.5192, allocations: 99.38 kB / 486.9 MB, free: 20.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009202/0.5201, allocations: 0.5985 MB / 487.5 MB, free: 20.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.5201, allocations: 0 / 487.5 MB, free: 20.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002037/0.5203, allocations: 108.2 kB / 487.6 MB, free: 20.22 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005345/0.5209, allocations: 85.73 kB / 487.7 MB, free: 20.17 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002261/0.5231, allocations: 1.954 MB / 489.7 MB, free: 19.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006638/0.5238, allocations: 1.15 MB / 490.8 MB, free: 18.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007278/0.5245, allocations: 283.6 kB / 491.1 MB, free: 18.19 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.5247, allocations: 50.28 kB / 491.1 MB, free: 18.18 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.5247, allocations: 0 / 491.1 MB, free: 18.18 MB / 382.1 MB Notification: Performance of Templates: time 0.01457/0.5393, allocations: 5.345 MB / 496.5 MB, free: 17.81 MB / 382.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)