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.001239/0.001239, allocations: 101.6 kB / 16.41 MB, free: 6.445 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.001314/0.001314, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.529/1.529, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2198/0.2198, allocations: 43.52 MB / 314.1 MB, free: 456 kB / 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.001419/0.001419, allocations: 69.47 kB / 441.8 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1334, allocations: 57.79 MB / 499.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008283/0.1417, allocations: 7.059 MB / 0.4948 GB, free: 4.715 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003947/0.1457, allocations: 2.037 MB / 0.4967 GB, free: 2.672 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004033/0.1461, allocations: 35.88 kB / 0.4968 GB, free: 2.637 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001337/0.1475, allocations: 0.6229 MB / 0.4974 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000669/0.1482, allocations: 326.3 kB / 0.4977 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001888/0.1484, allocations: 47.88 kB / 0.4977 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006336/0.149, allocations: 0.6145 MB / 0.4983 GB, free: 1.027 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006801/0.1497, allocations: 0.5813 MB / 0.4989 GB, free: 448 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003676/0.1501, allocations: 302.7 kB / 0.4992 GB, free: 144 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005802/0.1507, allocations: 398.5 kB / 0.4996 GB, free: 15.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.102e-05/0.1508, allocations: 64 kB / 0.4996 GB, free: 15.69 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002377/0.151, allocations: 103.9 kB / 0.4997 GB, free: 15.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003251/0.1514, allocations: 374.9 kB / 0.5001 GB, free: 15.22 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003929/0.1518, allocations: 461.1 kB / 0.5005 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001295/0.1531, allocations: 1.276 MB / 0.5018 GB, free: 13.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.1531, allocations: 0 / 0.5018 GB, free: 13.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1531, allocations: 0 / 0.5018 GB, free: 13.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.881e-05/0.1531, allocations: 0 / 0.5018 GB, free: 13.48 MB / 398.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.002154/0.1553, allocations: 1.208 MB / 0.503 GB, free: 12.22 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.1553, allocations: 11.89 kB / 0.503 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007969/0.1561, allocations: 159.3 kB / 0.5031 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006681/0.1568, allocations: 0.4895 MB / 0.5036 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.795e-05/0.1569, allocations: 45.66 kB / 0.5037 GB, free: 11.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.624e-05/0.157, allocations: 60.09 kB / 0.5037 GB, free: 11.42 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002144/0.1591, allocations: 1.751 MB / 0.5054 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.1592, allocations: 7.938 kB / 0.5054 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.357e-05/0.1592, allocations: 27.97 kB / 0.5055 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006664/0.1599, allocations: 405.1 kB / 0.5058 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001753/0.1617, allocations: 1.199 MB / 0.507 GB, free: 7.898 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006397/0.1681, allocations: 6.556 MB / 0.5134 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004314/0.1685, allocations: 170.6 kB / 0.5136 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/0.1688, allocations: 100.7 kB / 0.5137 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.442e-05/0.1688, allocations: 11.88 kB / 0.5137 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.1688, allocations: 34.55 kB / 0.5137 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 2.955e-06/0.1689, allocations: 0 / 0.5137 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007667/0.1696, allocations: 360.5 kB / 0.5141 GB, free: 412 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.1697, allocations: 55.34 kB / 0.5141 GB, free: 344 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.1708, allocations: 0.9615 MB / 0.5151 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.1708, allocations: 29.7 kB / 0.5151 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005671/0.1714, allocations: 0.6902 MB / 0.5158 GB, free: 14.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.052e-05/0.1715, allocations: 59.42 kB / 0.5158 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002905/0.1718, allocations: 222.3 kB / 0.516 GB, free: 14.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000249/0.172, allocations: 390.8 kB / 0.5164 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000458/0.1725, allocations: 265.7 kB / 0.5166 GB, free: 13.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/0.1736, allocations: 0.9488 MB / 0.5176 GB, free: 12.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001537/0.1751, allocations: 1.297 MB / 0.5188 GB, free: 10.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.367e-05/0.1751, allocations: 8 kB / 0.5188 GB, free: 10.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00182/0.177, allocations: 1.172 MB / 0.52 GB, free: 9.559 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.926e-05/0.177, allocations: 16 kB / 0.52 GB, free: 9.543 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.908e-05/0.177, allocations: 27.98 kB / 0.52 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.487e-05/0.1771, allocations: 32.75 kB / 0.5201 GB, free: 9.484 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007114/0.1778, allocations: 247.5 kB / 0.5203 GB, free: 9.242 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.227e-05/0.1779, allocations: 51.84 kB / 0.5204 GB, free: 9.191 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007099/0.1786, allocations: 154.4 kB / 0.5205 GB, free: 9.039 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-05/0.1787, allocations: 64 kB / 0.5206 GB, free: 8.977 MB / 414.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.0006197/0.1793, allocations: 475.3 kB / 0.521 GB, free: 8.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.233e-05/0.1794, allocations: 75 kB / 0.5211 GB, free: 8.426 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006433/0.18, allocations: 320.3 kB / 0.5214 GB, free: 8.105 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/0.18, allocations: 0 / 0.5214 GB, free: 8.105 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1801, allocations: 0 / 0.5214 GB, free: 8.105 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.1801, allocations: 3.984 kB / 0.5214 GB, free: 8.102 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008337/0.1809, allocations: 0.7354 MB / 0.5221 GB, free: 7.316 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.1809, allocations: 7.938 kB / 0.5221 GB, free: 7.309 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.1811, allocations: 31.97 kB / 0.5222 GB, free: 7.277 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.1811, allocations: 0 / 0.5222 GB, free: 7.277 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.1811, allocations: 11.92 kB / 0.5222 GB, free: 7.266 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.1812, allocations: 4 kB / 0.5222 GB, free: 7.262 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1812, allocations: 0 / 0.5222 GB, free: 7.262 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000564/0.1817, allocations: 378.4 kB / 0.5225 GB, free: 6.875 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.1819, allocations: 148.1 kB / 0.5227 GB, free: 6.711 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.308e-05/0.182, allocations: 8 kB / 0.5227 GB, free: 6.703 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000244/0.1822, allocations: 7.984 kB / 0.5227 GB, free: 6.695 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.008e-05/0.1823, allocations: 19.97 kB / 0.5227 GB, free: 6.676 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.1823, allocations: 8 kB / 0.5227 GB, free: 6.668 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007433/0.183, allocations: 0.6277 MB / 0.5233 GB, free: 6.047 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1831, allocations: 0 / 0.5233 GB, free: 6.047 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008388/0.1839, allocations: 227.1 kB / 0.5235 GB, free: 5.824 MB / 414.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.0001533/0.1841, allocations: 95.28 kB / 0.5236 GB, free: 5.719 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001013/0.1851, allocations: 0.5992 MB / 0.5242 GB, free: 5.125 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1851, allocations: 0 / 0.5242 GB, free: 5.125 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002158/0.1853, allocations: 103.9 kB / 0.5243 GB, free: 5.023 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005117/0.1858, allocations: 83.22 kB / 0.5244 GB, free: 4.941 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002532/0.1884, allocations: 1.539 MB / 0.5259 GB, free: 3.375 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008071/0.1892, allocations: 1.152 MB / 0.527 GB, free: 2.195 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005875/0.1898, allocations: 282 kB / 0.5273 GB, free: 1.918 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.1899, allocations: 51.42 kB / 0.5273 GB, free: 1.867 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1899, allocations: 0 / 0.5273 GB, free: 1.867 MB / 414.1 MB Notification: Performance of Templates: time 0.2777/0.4677, allocations: 5.873 MB / 0.5331 GB, free: 39.13 MB / 414.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)