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.001067/0.001067, allocations: 104.4 kB / 16.64 MB, free: 6.82 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.001084/0.001084, allocations: 194.5 kB / 17.56 MB, free: 5.945 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.437/1.437, allocations: 205.1 MB / 223.4 MB, free: 12.43 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.209/0.209, allocations: 43.52 MB / 314.3 MB, free: 0.6992 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.001416/0.001416, allocations: 66 kB / 382.9 MB, free: 56.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1057, allocations: 57.79 MB / 440.7 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.01837/0.1241, allocations: 21.04 MB / 461.7 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01009/0.1342, allocations: 4.305 MB / 466 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004421/0.1387, allocations: 75.88 kB / 466.1 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001854/0.1406, allocations: 0.6037 MB / 466.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001053/0.1417, allocations: 286.7 kB / 467 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002825/0.142, allocations: 39.95 kB / 467 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009325/0.1429, allocations: 0.6185 MB / 467.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001039/0.144, allocations: 0.6164 MB / 468.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000578/0.1446, allocations: 298.8 kB / 468.5 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007396/0.1453, allocations: 438.4 kB / 469 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001706/0.1455, allocations: 56 kB / 469 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003402/0.1458, allocations: 115.9 kB / 469.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004332/0.1463, allocations: 382.9 kB / 469.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005725/0.1469, allocations: 461.1 kB / 469.9 MB, free: 9.941 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.148, allocations: 0.9939 MB / 470.9 MB, free: 8.945 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1481, allocations: 0 / 470.9 MB, free: 8.945 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.807e-06/0.1481, allocations: 0 / 470.9 MB, free: 8.945 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.193e-05/0.1481, allocations: 11.88 kB / 471 MB, free: 8.934 MB / 350.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.002531/0.1507, allocations: 1.192 MB / 472.1 MB, free: 7.691 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.1507, allocations: 15.89 kB / 472.2 MB, free: 7.676 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008863/0.1516, allocations: 155.4 kB / 472.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007579/0.1524, allocations: 0.4895 MB / 472.8 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.71e-05/0.1525, allocations: 45.66 kB / 472.8 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.41e-05/0.1526, allocations: 64.09 kB / 472.9 MB, free: 6.887 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002504/0.1551, allocations: 1.747 MB / 474.7 MB, free: 5.008 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.072e-05/0.1551, allocations: 3.938 kB / 474.7 MB, free: 5.004 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.409e-05/0.1552, allocations: 31.97 kB / 474.7 MB, free: 4.973 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007318/0.1559, allocations: 409.1 kB / 475.1 MB, free: 4.574 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002082/0.158, allocations: 1.184 MB / 476.3 MB, free: 3.387 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007411/0.1654, allocations: 6.599 MB / 482.9 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004304/0.1659, allocations: 170.5 kB / 483 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002048/0.1661, allocations: 96.83 kB / 483.1 MB, free: 12.26 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.619e-05/0.1662, allocations: 11.94 kB / 483.1 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.1662, allocations: 38.5 kB / 483.2 MB, free: 12.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 2.305e-06/0.1662, allocations: 0 / 483.2 MB, free: 12.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008856/0.1671, allocations: 356.5 kB / 483.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.1672, allocations: 51.41 kB / 483.6 MB, free: 11.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/0.1684, allocations: 0.9654 MB / 484.5 MB, free: 10.81 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.1685, allocations: 25.7 kB / 484.6 MB, free: 10.78 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004759/0.169, allocations: 0.702 MB / 485.3 MB, free: 10.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.958e-05/0.169, allocations: 59.38 kB / 485.3 MB, free: 10 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002766/0.1693, allocations: 222.2 kB / 485.6 MB, free: 9.781 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.1695, allocations: 394.8 kB / 485.9 MB, free: 9.387 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004534/0.17, allocations: 257.8 kB / 486.2 MB, free: 9.137 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009561/0.1709, allocations: 0.9448 MB / 487.1 MB, free: 7.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001599/0.1725, allocations: 1.297 MB / 488.4 MB, free: 6.191 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-05/0.1726, allocations: 12 kB / 488.4 MB, free: 6.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002143/0.1747, allocations: 1.166 MB / 489.6 MB, free: 5.008 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.464e-05/0.1748, allocations: 16 kB / 489.6 MB, free: 4.992 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.064e-05/0.1748, allocations: 24.09 kB / 489.6 MB, free: 4.969 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.409e-05/0.1749, allocations: 36 kB / 489.7 MB, free: 4.934 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007886/0.1757, allocations: 251.5 kB / 489.9 MB, free: 4.688 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.781e-05/0.1757, allocations: 43.86 kB / 490 MB, free: 4.645 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008472/0.1766, allocations: 154.4 kB / 490.1 MB, free: 4.492 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.641e-05/0.1767, allocations: 67.98 kB / 490.2 MB, free: 4.426 MB / 366.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.0006299/0.1773, allocations: 471.3 kB / 490.6 MB, free: 3.957 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/0.1775, allocations: 82.94 kB / 490.7 MB, free: 3.875 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007039/0.1782, allocations: 319.8 kB / 491 MB, free: 3.559 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.1782, allocations: 0 / 491 MB, free: 3.559 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.1782, allocations: 4 kB / 491 MB, free: 3.555 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1782, allocations: 0 / 491 MB, free: 3.555 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.1793, allocations: 0.7431 MB / 491.8 MB, free: 2.762 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.1793, allocations: 3.938 kB / 491.8 MB, free: 2.758 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/0.1795, allocations: 35.97 kB / 491.8 MB, free: 2.723 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.1795, allocations: 0 / 491.8 MB, free: 2.723 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.1796, allocations: 0 / 491.8 MB, free: 2.723 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.1796, allocations: 4 kB / 491.8 MB, free: 2.719 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.1796, allocations: 0 / 491.8 MB, free: 2.719 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006121/0.1802, allocations: 386.4 kB / 492.2 MB, free: 2.324 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001737/0.1804, allocations: 148.1 kB / 492.4 MB, free: 2.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.162e-05/0.1805, allocations: 7.938 kB / 492.4 MB, free: 2.152 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000275/0.1808, allocations: 11.98 kB / 492.4 MB, free: 2.141 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.882e-05/0.1809, allocations: 19.95 kB / 492.4 MB, free: 2.121 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.1809, allocations: 8 kB / 492.4 MB, free: 2.113 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007808/0.1817, allocations: 0.62 MB / 493 MB, free: 1.496 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1817, allocations: 0 / 493 MB, free: 1.496 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009457/0.1826, allocations: 223.2 kB / 493.2 MB, free: 1.277 MB / 366.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.0001731/0.1828, allocations: 95.23 kB / 493.3 MB, free: 1.176 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001104/0.1839, allocations: 0.615 MB / 493.9 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1839, allocations: 4 kB / 494 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000227/0.1842, allocations: 103.9 kB / 494.1 MB, free: 472 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005846/0.1848, allocations: 92.86 kB / 494.1 MB, free: 380 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003128/0.1879, allocations: 2.057 MB / 496.2 MB, free: 14.28 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008569/0.1888, allocations: 1.151 MB / 497.4 MB, free: 13.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001774/0.189, allocations: 63.42 kB / 497.4 MB, free: 13.04 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.189, allocations: 0 / 497.4 MB, free: 13.04 MB / 382.1 MB Notification: Performance of Templates: time 0.01847/0.2074, allocations: 10.45 MB / 0.496 GB, free: 2.605 MB / 382.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)