Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.006979/0.006979, allocations: 99.95 kB / 15.73 MB, free: 6.473 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.001378/0.001378, allocations: 194.8 kB / 16.67 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.602/1.602, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3818/0.3818, allocations: 38 MB / 307.9 MB, free: 10.1 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.1. 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.001447/0.001447, allocations: 67.91 kB / 433 MB, free: 5.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3599, allocations: 56.47 MB / 489.4 MB, free: 19.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008267/0.3683, allocations: 7.05 MB / 496.5 MB, free: 14.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005406/0.3737, allocations: 2.03 MB / 498.5 MB, free: 13.53 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001265/0.375, allocations: 29.41 kB / 498.6 MB, free: 13.53 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001568/0.3767, allocations: 0.6339 MB / 499.2 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009411/0.3776, allocations: 326.1 kB / 499.5 MB, free: 13.03 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002304/0.3779, allocations: 50.61 kB / 499.6 MB, free: 13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007133/0.3786, allocations: 0.608 MB / 0.4884 GB, free: 12.72 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008024/0.3794, allocations: 0.5899 MB / 0.489 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004054/0.3798, allocations: 297.8 kB / 0.4893 GB, free: 12.33 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005792/0.3804, allocations: 400.3 kB / 0.4897 GB, free: 12.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001109/0.3805, allocations: 57.66 kB / 0.4897 GB, free: 12.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003114/0.3809, allocations: 114.8 kB / 0.4898 GB, free: 12.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004679/0.3813, allocations: 379.2 kB / 0.4902 GB, free: 11.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000435/0.3818, allocations: 462.5 kB / 0.4907 GB, free: 11.67 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001817/0.3836, allocations: 1.278 MB / 0.4919 GB, free: 11.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.3836, allocations: 0 / 0.4919 GB, free: 11.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.097e-06/0.3836, allocations: 1.469 kB / 0.4919 GB, free: 11.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.058e-05/0.3837, allocations: 4 kB / 0.4919 GB, free: 11.16 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.002075/0.3857, allocations: 1.189 MB / 0.4931 GB, free: 10.31 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/0.3858, allocations: 14.44 kB / 0.4931 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008121/0.3866, allocations: 150.9 kB / 0.4932 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007582/0.3874, allocations: 0.4974 MB / 0.4937 GB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.051e-05/0.3875, allocations: 47.19 kB / 0.4938 GB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.3876, allocations: 61.12 kB / 0.4938 GB, free: 9.816 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002524/0.3901, allocations: 1.744 MB / 0.4955 GB, free: 8.953 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.3901, allocations: 6.031 kB / 0.4955 GB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.744e-05/0.3902, allocations: 29.28 kB / 0.4955 GB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008301/0.391, allocations: 410.7 kB / 0.4959 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00215/0.3932, allocations: 1.194 MB / 0.4971 GB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006209/0.3994, allocations: 6.557 MB / 0.5035 GB, free: 3.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003903/0.3998, allocations: 185.1 kB / 0.5037 GB, free: 2.957 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/0.4, allocations: 92.27 kB / 0.5038 GB, free: 2.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.673e-05/0.4001, allocations: 9.297 kB / 0.5038 GB, free: 2.902 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.4001, allocations: 35.97 kB / 0.5038 GB, free: 2.859 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 2.635e-06/0.4001, allocations: 0 / 0.5038 GB, free: 2.859 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008422/0.401, allocations: 357.9 kB / 0.5042 GB, free: 2.672 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.401, allocations: 61.08 kB / 0.5042 GB, free: 2.602 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/0.4022, allocations: 0.9664 MB / 0.5052 GB, free: 2.055 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.4023, allocations: 30.73 kB / 0.5052 GB, free: 2.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003586/0.4026, allocations: 0.6825 MB / 0.5059 GB, free: 1.406 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.011e-05/0.4027, allocations: 60.2 kB / 0.5059 GB, free: 1.359 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002539/0.403, allocations: 225.8 kB / 0.5061 GB, free: 1.223 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.4031, allocations: 388.8 kB / 0.5065 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004648/0.4035, allocations: 260.1 kB / 0.5067 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009294/0.4045, allocations: 0.9488 MB / 0.5077 GB, free: 15.62 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001707/0.4062, allocations: 1.294 MB / 0.5089 GB, free: 14.3 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.752e-05/0.4062, allocations: 11.41 kB / 0.5089 GB, free: 14.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002093/0.4083, allocations: 1.162 MB / 0.5101 GB, free: 13.7 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.061e-05/0.4084, allocations: 15.62 kB / 0.5101 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.625e-05/0.4084, allocations: 34 kB / 0.5101 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.43e-05/0.4085, allocations: 31.56 kB / 0.5102 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007323/0.4092, allocations: 245.2 kB / 0.5104 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.66e-05/0.4093, allocations: 57.47 kB / 0.5105 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008121/0.4101, allocations: 159.4 kB / 0.5106 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.484e-05/0.4102, allocations: 64.44 kB / 0.5107 GB, free: 13.5 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.0007457/0.411, allocations: 480 kB / 0.5111 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.4111, allocations: 74.56 kB / 0.5112 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006814/0.4117, allocations: 308.6 kB / 0.5115 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.4118, allocations: 5.75 kB / 0.5115 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4118, allocations: 1.438 kB / 0.5115 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.4118, allocations: 3.984 kB / 0.5115 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.4128, allocations: 0.7347 MB / 0.5122 GB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.4128, allocations: 3.938 kB / 0.5122 GB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001776/0.413, allocations: 30.69 kB / 0.5122 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.413, allocations: 1.281 kB / 0.5122 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.413, allocations: 5.141 kB / 0.5123 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.413, allocations: 5.344 kB / 0.5123 GB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.4131, allocations: 0 / 0.5123 GB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005994/0.4137, allocations: 384.5 kB / 0.5126 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/0.4138, allocations: 152 kB / 0.5128 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.441e-05/0.4139, allocations: 1.375 kB / 0.5128 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002452/0.4141, allocations: 19.03 kB / 0.5128 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.314e-05/0.4142, allocations: 15.2 kB / 0.5128 GB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.4142, allocations: 3.062 kB / 0.5128 GB, free: 11.99 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007583/0.415, allocations: 0.6318 MB / 0.5134 GB, free: 11.64 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.415, allocations: 0 / 0.5134 GB, free: 11.64 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000999/0.416, allocations: 214.5 kB / 0.5136 GB, free: 11.59 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.0001744/0.4162, allocations: 105.5 kB / 0.5137 GB, free: 11.49 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001101/0.4173, allocations: 0.595 MB / 0.5143 GB, free: 11.22 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4173, allocations: 0.7812 kB / 0.5143 GB, free: 11.22 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002357/0.4176, allocations: 109.1 kB / 0.5144 GB, free: 11.17 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005419/0.4181, allocations: 91.16 kB / 0.5145 GB, free: 11.12 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003237/0.4214, allocations: 1.551 MB / 0.516 GB, free: 10.22 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009924/0.4224, allocations: 1.15 MB / 0.5171 GB, free: 9.285 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0007175/0.4231, allocations: 272.7 kB / 0.5174 GB, free: 9.16 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000179/0.4233, allocations: 59.83 kB / 0.5175 GB, free: 9.141 MB / 398.1 MB Notification: Performance of SimCode: time 8.81e-07/0.4233, allocations: 0 / 0.5175 GB, free: 9.141 MB / 398.1 MB Notification: Performance of Templates: time 0.01278/0.4361, allocations: 5.871 MB / 0.5232 GB, free: 3.82 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Arrow.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Arrow.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Arrow -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1)