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.0009012/0.0009012, allocations: 96.59 kB / 15.68 MB, free: 488 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.0009622/0.0009622, allocations: 171.9 kB / 16.56 MB, free: 6.379 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.434/1.434, allocations: 205.4 MB / 222.7 MB, free: 5.684 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.3651/0.3651, allocations: 43.55 MB / 314.5 MB, free: 8.785 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.0004819/0.0004819, allocations: 15.98 kB / 383.9 MB, free: 8.039 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1167, allocations: 58.85 MB / 442.7 MB, free: 13.08 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.2325/0.3493, allocations: 17.99 MB / 460.7 MB, free: 35.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009967/0.3593, allocations: 4.267 MB / 465 MB, free: 35.44 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005232/0.3646, allocations: 77.22 kB / 465.1 MB, free: 35.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002849/0.3674, allocations: 0.8582 MB / 465.9 MB, free: 35.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008703/0.3762, allocations: 2.565 MB / 468.5 MB, free: 35.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009228/0.3771, allocations: 49.86 kB / 468.5 MB, free: 35.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009665/0.3781, allocations: 413.2 kB / 469 MB, free: 35.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001191/0.3793, allocations: 0.7811 MB / 469.7 MB, free: 34.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003558/0.3797, allocations: 203.5 kB / 469.9 MB, free: 34.87 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004639/0.3802, allocations: 266.5 kB / 470.2 MB, free: 34.81 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001247/0.3803, allocations: 28.53 kB / 470.2 MB, free: 34.81 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000259/0.3806, allocations: 70.34 kB / 470.3 MB, free: 34.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002751/0.3809, allocations: 320.5 kB / 470.6 MB, free: 34.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002452/0.3811, allocations: 196 kB / 470.8 MB, free: 34.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009035/0.382, allocations: 0.9544 MB / 471.7 MB, free: 34.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.382, allocations: 0 / 471.7 MB, free: 34.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.382, allocations: 0 / 471.7 MB, free: 34.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.424e-05/0.3821, allocations: 0 / 471.7 MB, free: 34.62 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.002113/0.3842, allocations: 1.052 MB / 472.8 MB, free: 33.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.3843, allocations: 8.375 kB / 472.8 MB, free: 33.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.3853, allocations: 166.3 kB / 473 MB, free: 33.87 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008702/0.3862, allocations: 491 kB / 473.4 MB, free: 33.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.617e-05/0.3863, allocations: 46.19 kB / 473.5 MB, free: 33.56 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.3864, allocations: 58.05 kB / 473.5 MB, free: 33.56 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002345/0.3887, allocations: 1.739 MB / 475.3 MB, free: 33.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.908e-05/0.3888, allocations: 7.031 kB / 475.3 MB, free: 33.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.76e-05/0.3889, allocations: 30.3 kB / 475.3 MB, free: 33.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007542/0.3896, allocations: 407.7 kB / 475.7 MB, free: 33.15 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00215/0.3918, allocations: 1.191 MB / 476.9 MB, free: 32.92 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005762/0.3976, allocations: 6.609 MB / 483.5 MB, free: 27.97 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003846/0.398, allocations: 174 kB / 483.7 MB, free: 27.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/0.398, allocations: 11.23 kB / 483.7 MB, free: 27.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.398, allocations: 34.56 kB / 483.7 MB, free: 27.85 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 2.835e-06/0.3981, allocations: 0 / 483.7 MB, free: 27.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008157/0.3989, allocations: 384.3 kB / 484.1 MB, free: 27.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.3989, allocations: 51.41 kB / 484.2 MB, free: 27.65 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.4, allocations: 0.9606 MB / 485.1 MB, free: 27.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.4, allocations: 29.7 kB / 485.2 MB, free: 27.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000365/0.4004, allocations: 0.6904 MB / 485.8 MB, free: 26.67 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.529e-05/0.4004, allocations: 62.06 kB / 485.9 MB, free: 26.63 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/0.4004, allocations: 15.34 kB / 485.9 MB, free: 26.62 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.4006, allocations: 396.5 kB / 486.3 MB, free: 26.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003718/0.4009, allocations: 255.8 kB / 486.6 MB, free: 26.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005974/0.4016, allocations: 0.9547 MB / 487.5 MB, free: 25.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005544/0.4021, allocations: 466 kB / 488 MB, free: 24.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/0.4021, allocations: 14.64 kB / 488 MB, free: 24.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001518/0.4037, allocations: 1.171 MB / 489.2 MB, free: 24.51 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.001e-05/0.4037, allocations: 14.78 kB / 489.2 MB, free: 24.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.111e-05/0.4037, allocations: 26.88 kB / 489.2 MB, free: 24.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.421e-05/0.4038, allocations: 35.78 kB / 489.2 MB, free: 24.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006685/0.4045, allocations: 252.2 kB / 489.5 MB, free: 24.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.203e-05/0.4045, allocations: 52.25 kB / 489.5 MB, free: 24.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008936/0.4054, allocations: 168.8 kB / 489.7 MB, free: 24.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.161e-05/0.4055, allocations: 64.41 kB / 489.8 MB, free: 24.35 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005669/0.4061, allocations: 470.4 kB / 490.2 MB, free: 24.08 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-05/0.4062, allocations: 76.92 kB / 490.3 MB, free: 24.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005771/0.4067, allocations: 330 kB / 490.6 MB, free: 23.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.4068, allocations: 0 / 490.6 MB, free: 23.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.4068, allocations: 4 kB / 490.6 MB, free: 23.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.4068, allocations: 0 / 490.6 MB, free: 23.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008047/0.4076, allocations: 0.7411 MB / 491.4 MB, free: 23.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4076, allocations: 0 / 491.4 MB, free: 23.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/0.4078, allocations: 35.16 kB / 491.4 MB, free: 23.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.4078, allocations: 3.094 kB / 491.4 MB, free: 23.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.4078, allocations: 3.609 kB / 491.4 MB, free: 23.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.4078, allocations: 0 / 491.4 MB, free: 23.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.4078, allocations: 0 / 491.4 MB, free: 23.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000526/0.4084, allocations: 397.7 kB / 491.8 MB, free: 23.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001614/0.4085, allocations: 157.6 kB / 491.9 MB, free: 23.17 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.089e-05/0.4086, allocations: 5.078 kB / 491.9 MB, free: 23.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002511/0.4089, allocations: 16.86 kB / 492 MB, free: 23.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.73e-05/0.4089, allocations: 18.23 kB / 492 MB, free: 23.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.409, allocations: 2.375 kB / 492 MB, free: 23.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007454/0.4097, allocations: 0.6182 MB / 492.6 MB, free: 22.92 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4097, allocations: 0 / 492.6 MB, free: 22.92 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001138/0.4109, allocations: 216.1 kB / 492.8 MB, free: 22.86 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 (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.0001538/0.411, allocations: 109.2 kB / 492.9 MB, free: 22.76 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001095/0.4121, allocations: 0.6017 MB / 493.5 MB, free: 22.58 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.4122, allocations: 1.344 kB / 493.5 MB, free: 22.58 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002396/0.4124, allocations: 112.8 kB / 493.6 MB, free: 22.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004349/0.4128, allocations: 83.91 kB / 493.7 MB, free: 22.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002996/0.4158, allocations: 1.874 MB / 495.6 MB, free: 21.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009553/0.4168, allocations: 1.175 MB / 496.8 MB, free: 20.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008381/0.4177, allocations: 279.2 kB / 497 MB, free: 20.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.4178, allocations: 50.92 kB / 497.1 MB, free: 20.61 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4178, allocations: 0 / 497.1 MB, free: 20.61 MB / 382.1 MB Notification: Performance of Templates: time 0.01323/0.431, allocations: 5.185 MB / 0.4905 GB, free: 20.23 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: