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.001211/0.001211, allocations: 113.8 kB / 17.08 MB, free: 5.945 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.001213/0.001213, allocations: 194.5 kB / 18.01 MB, free: 5.031 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.422/1.422, allocations: 205.1 MB / 223.9 MB, free: 12.27 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.1976/0.1976, allocations: 43.51 MB / 314.8 MB, free: 472 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.001651/0.001651, allocations: 65.45 kB / 442.5 MB, free: 5.691 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1278, allocations: 57.79 MB / 0.4885 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.009041/0.1369, allocations: 7.064 MB / 0.4954 GB, free: 4.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004436/0.1414, allocations: 2.03 MB / 0.4974 GB, free: 2.695 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009946/0.1424, allocations: 31.88 kB / 0.4974 GB, free: 2.664 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001656/0.1441, allocations: 0.6306 MB / 0.498 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001052/0.1452, allocations: 330.3 kB / 0.4984 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002696/0.1455, allocations: 47.88 kB / 0.4984 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009382/0.1464, allocations: 0.6223 MB / 0.499 GB, free: 1.035 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008645/0.1473, allocations: 0.5774 MB / 0.4996 GB, free: 460 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005227/0.1479, allocations: 298.7 kB / 0.4999 GB, free: 160 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006976/0.1486, allocations: 402.5 kB / 0.5002 GB, free: 15.76 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001653/0.1487, allocations: 56 kB / 0.5003 GB, free: 15.71 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003161/0.1491, allocations: 111.9 kB / 0.5004 GB, free: 15.6 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003832/0.1495, allocations: 374.9 kB / 0.5008 GB, free: 15.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005339/0.15, allocations: 461.1 kB / 0.5012 GB, free: 14.78 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001307/0.1513, allocations: 1.276 MB / 0.5025 GB, free: 13.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.1513, allocations: 4 kB / 0.5025 GB, free: 13.49 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1513, allocations: 0 / 0.5025 GB, free: 13.49 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.393e-05/0.1514, allocations: 0 / 0.5025 GB, free: 13.49 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.002458/0.1539, allocations: 1.196 MB / 0.5036 GB, free: 12.24 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.1539, allocations: 11.89 kB / 0.5036 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008485/0.1548, allocations: 155.4 kB / 0.5038 GB, free: 12.08 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007801/0.1556, allocations: 0.4934 MB / 0.5043 GB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.218e-05/0.1556, allocations: 45.66 kB / 0.5043 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.442e-05/0.1557, allocations: 72.08 kB / 0.5044 GB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002385/0.1581, allocations: 1.743 MB / 0.5061 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.816e-05/0.1582, allocations: 7.938 kB / 0.5061 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.289e-05/0.1582, allocations: 27.97 kB / 0.5061 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007371/0.159, allocations: 409.1 kB / 0.5065 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002177/0.1612, allocations: 1.199 MB / 0.5077 GB, free: 7.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007758/0.1689, allocations: 6.548 MB / 0.5141 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004707/0.1695, allocations: 186.5 kB / 0.5142 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002345/0.1697, allocations: 92.78 kB / 0.5143 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.081e-05/0.1698, allocations: 7.938 kB / 0.5143 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.1698, allocations: 34.56 kB / 0.5144 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 3.246e-06/0.1698, allocations: 0 / 0.5144 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008976/0.1707, allocations: 360.5 kB / 0.5147 GB, free: 428 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.1708, allocations: 59.28 kB / 0.5148 GB, free: 356 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001353/0.1722, allocations: 0.9654 MB / 0.5157 GB, free: 15.37 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.1722, allocations: 25.7 kB / 0.5157 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005483/0.1727, allocations: 0.698 MB / 0.5164 GB, free: 14.63 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.9e-05/0.1728, allocations: 59.44 kB / 0.5165 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002731/0.1731, allocations: 218.3 kB / 0.5167 GB, free: 14.35 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002087/0.1733, allocations: 386.8 kB / 0.5171 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004906/0.1738, allocations: 257.8 kB / 0.5173 GB, free: 13.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009755/0.1748, allocations: 0.9527 MB / 0.5182 GB, free: 12.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001686/0.1765, allocations: 1.29 MB / 0.5195 GB, free: 10.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.016e-05/0.1766, allocations: 8 kB / 0.5195 GB, free: 10.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002173/0.1787, allocations: 1.176 MB / 0.5207 GB, free: 9.578 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.982e-05/0.1788, allocations: 16 kB / 0.5207 GB, free: 9.562 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.563e-05/0.1788, allocations: 28.88 kB / 0.5207 GB, free: 9.535 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.981e-05/0.1789, allocations: 32 kB / 0.5207 GB, free: 9.504 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007699/0.1797, allocations: 251.5 kB / 0.521 GB, free: 9.258 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-05/0.1797, allocations: 47.8 kB / 0.521 GB, free: 9.211 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008338/0.1806, allocations: 158.4 kB / 0.5212 GB, free: 9.055 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.953e-05/0.1807, allocations: 67.98 kB / 0.5212 GB, free: 8.988 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.0006763/0.1813, allocations: 463.4 kB / 0.5217 GB, free: 8.523 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.1815, allocations: 82.98 kB / 0.5217 GB, free: 8.441 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007386/0.1822, allocations: 316.3 kB / 0.522 GB, free: 8.125 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.1822, allocations: 4 kB / 0.5221 GB, free: 8.121 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.1823, allocations: 0 / 0.5221 GB, free: 8.121 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.1823, allocations: 0 / 0.5221 GB, free: 8.121 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.1834, allocations: 0.7393 MB / 0.5228 GB, free: 7.332 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.1834, allocations: 3.938 kB / 0.5228 GB, free: 7.328 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002087/0.1836, allocations: 35.97 kB / 0.5228 GB, free: 7.293 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.1836, allocations: 0 / 0.5228 GB, free: 7.293 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.1836, allocations: 3.938 kB / 0.5228 GB, free: 7.289 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.1836, allocations: 3.938 kB / 0.5228 GB, free: 7.285 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1836, allocations: 0 / 0.5228 GB, free: 7.285 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006244/0.1843, allocations: 386.5 kB / 0.5232 GB, free: 6.891 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002006/0.1845, allocations: 148.1 kB / 0.5233 GB, free: 6.727 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.1846, allocations: 3.938 kB / 0.5233 GB, free: 6.723 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003065/0.1849, allocations: 15.98 kB / 0.5233 GB, free: 6.707 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.608e-05/0.185, allocations: 15.97 kB / 0.5234 GB, free: 6.691 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.185, allocations: 4 kB / 0.5234 GB, free: 6.688 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000877/0.1859, allocations: 0.6317 MB / 0.524 GB, free: 6.062 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1859, allocations: 0 / 0.524 GB, free: 6.062 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009825/0.1869, allocations: 219.1 kB / 0.5242 GB, free: 5.848 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.0001747/0.1871, allocations: 103.2 kB / 0.5243 GB, free: 5.734 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001139/0.1882, allocations: 0.595 MB / 0.5249 GB, free: 5.145 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1882, allocations: 0 / 0.5249 GB, free: 5.145 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002322/0.1885, allocations: 108.4 kB / 0.525 GB, free: 5.039 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005866/0.1891, allocations: 81.72 kB / 0.5251 GB, free: 4.961 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002981/0.1921, allocations: 1.65 MB / 0.5267 GB, free: 3.277 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009347/0.193, allocations: 1.148 MB / 0.5278 GB, free: 2.102 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.1932, allocations: 59.42 kB / 0.5278 GB, free: 2.043 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1932, allocations: 3.938 kB / 0.5278 GB, free: 2.039 MB / 414.1 MB Notification: Performance of Templates: time 0.2341/0.4273, allocations: 10.54 MB / 0.5381 GB, free: 37.6 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)