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.001217/0.001217, allocations: 104 kB / 16.94 MB, free: 6.184 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.001226/0.001226, allocations: 191.4 kB / 17.86 MB, free: 5.289 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.461/1.461, allocations: 205.1 MB / 223.7 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2097/0.2097, allocations: 43.51 MB / 314.6 MB, free: 0.543 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.001825/0.001826, allocations: 67.5 kB / 383.4 MB, free: 56.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1061, allocations: 57.8 MB / 441.2 MB, free: 6.938 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.006954/0.1131, allocations: 7.06 MB / 448.2 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00449/0.1176, allocations: 2.033 MB / 450.3 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.1187, allocations: 27.94 kB / 450.3 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001638/0.1203, allocations: 0.6189 MB / 450.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.1214, allocations: 322.3 kB / 451.2 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002768/0.1217, allocations: 47.88 kB / 451.3 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009961/0.1227, allocations: 0.6068 MB / 451.9 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009208/0.1237, allocations: 0.5968 MB / 452.5 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005777/0.1243, allocations: 294.8 kB / 452.8 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007841/0.1251, allocations: 398.5 kB / 453.2 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001897/0.1253, allocations: 60 kB / 453.2 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003858/0.1257, allocations: 111.9 kB / 453.3 MB, free: 10.72 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004448/0.1261, allocations: 378.9 kB / 453.7 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006244/0.1267, allocations: 453.2 kB / 454.1 MB, free: 9.902 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001402/0.1282, allocations: 1.23 MB / 455.4 MB, free: 8.668 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.1282, allocations: 0 / 455.4 MB, free: 8.668 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1282, allocations: 0 / 455.4 MB, free: 8.668 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.726e-05/0.1282, allocations: 3.938 kB / 455.4 MB, free: 8.664 MB / 334.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.002633/0.1309, allocations: 1.185 MB / 456.6 MB, free: 7.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.1309, allocations: 15.89 kB / 456.6 MB, free: 7.414 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009179/0.1319, allocations: 155.4 kB / 456.7 MB, free: 7.262 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008402/0.1327, allocations: 0.4895 MB / 457.2 MB, free: 6.734 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.602e-05/0.1328, allocations: 49.66 kB / 457.3 MB, free: 6.684 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.1329, allocations: 64.09 kB / 457.3 MB, free: 6.621 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002405/0.1353, allocations: 1.751 MB / 459.1 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.366e-05/0.1353, allocations: 7.938 kB / 459.1 MB, free: 4.727 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.208e-05/0.1354, allocations: 27.97 kB / 459.1 MB, free: 4.699 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007469/0.1362, allocations: 413.1 kB / 459.5 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002163/0.1383, allocations: 1.184 MB / 460.7 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008094/0.1465, allocations: 6.599 MB / 467.3 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004278/0.1469, allocations: 174.5 kB / 467.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002174/0.1472, allocations: 92.78 kB / 467.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.384e-05/0.1472, allocations: 11.92 kB / 467.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.1472, allocations: 34.56 kB / 467.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 2.124e-06/0.1472, allocations: 4 kB / 467.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009029/0.1482, allocations: 360.6 kB / 468 MB, free: 11.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.1482, allocations: 55.41 kB / 468 MB, free: 11.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001179/0.1494, allocations: 0.9576 MB / 469 MB, free: 10.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.1494, allocations: 33.7 kB / 469 MB, free: 10.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004685/0.1499, allocations: 0.6864 MB / 469.7 MB, free: 9.797 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.358e-05/0.15, allocations: 67.36 kB / 469.8 MB, free: 9.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002618/0.1503, allocations: 222.1 kB / 470 MB, free: 9.508 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.1504, allocations: 386.8 kB / 470.4 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000452/0.1509, allocations: 261.8 kB / 470.6 MB, free: 8.867 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009188/0.1518, allocations: 0.9449 MB / 471.6 MB, free: 7.574 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001511/0.1534, allocations: 1.297 MB / 472.9 MB, free: 5.926 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.097e-05/0.1534, allocations: 8 kB / 472.9 MB, free: 5.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002018/0.1554, allocations: 1.173 MB / 474 MB, free: 4.738 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.411e-05/0.1555, allocations: 16 kB / 474.1 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.902e-05/0.1555, allocations: 24 kB / 474.1 MB, free: 4.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.755e-05/0.1555, allocations: 36.06 kB / 474.1 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007531/0.1563, allocations: 251.5 kB / 474.4 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.463e-05/0.1564, allocations: 43.86 kB / 474.4 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008736/0.1572, allocations: 154.4 kB / 474.6 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.279e-05/0.1574, allocations: 71.94 kB / 474.6 MB, free: 4.152 MB / 350.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.0006837/0.158, allocations: 471.3 kB / 475.1 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/0.1582, allocations: 78.94 kB / 475.2 MB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007489/0.159, allocations: 308.3 kB / 475.5 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.301e-06/0.159, allocations: 4 kB / 475.5 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.159, allocations: 4 kB / 475.5 MB, free: 3.285 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.159, allocations: 3.938 kB / 475.5 MB, free: 3.281 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/0.1601, allocations: 0.7432 MB / 476.2 MB, free: 2.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.1601, allocations: 3.938 kB / 476.2 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001942/0.1603, allocations: 31.97 kB / 476.3 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.1603, allocations: 0 / 476.3 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.1604, allocations: 8 kB / 476.3 MB, free: 2.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.1604, allocations: 0 / 476.3 MB, free: 2.445 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1604, allocations: 0 / 476.3 MB, free: 2.445 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006425/0.161, allocations: 394.4 kB / 476.6 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001814/0.1612, allocations: 144.1 kB / 476.8 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.5e-05/0.1613, allocations: 3.984 kB / 476.8 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002696/0.1616, allocations: 11.98 kB / 476.8 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.276e-05/0.1617, allocations: 11.98 kB / 476.8 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.1617, allocations: 11.98 kB / 476.8 MB, free: 1.844 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008078/0.1625, allocations: 0.6239 MB / 477.4 MB, free: 1.223 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1625, allocations: 0 / 477.4 MB, free: 1.223 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000936/0.1635, allocations: 223.1 kB / 477.7 MB, free: 1.004 MB / 350.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.0001596/0.1636, allocations: 95.25 kB / 477.8 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001183/0.1648, allocations: 0.6069 MB / 478.4 MB, free: 308 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1649, allocations: 4.25 kB / 478.4 MB, free: 304 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002434/0.1651, allocations: 111.6 kB / 478.5 MB, free: 196 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005325/0.1656, allocations: 84.09 kB / 478.6 MB, free: 112 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002823/0.1685, allocations: 1.67 MB / 480.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008789/0.1694, allocations: 1.159 MB / 481.4 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001722/0.1696, allocations: 55.42 kB / 481.4 MB, free: 13.16 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1696, allocations: 0 / 481.4 MB, free: 13.16 MB / 366.1 MB Notification: Performance of Templates: time 0.0172/0.1868, allocations: 10.45 MB / 491.9 MB, free: 2.727 MB / 366.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)