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.001292/0.001292, allocations: 106.8 kB / 16.27 MB, free: 6 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.001265/0.001266, allocations: 186 kB / 17.19 MB, free: 5.621 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.579/1.579, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.2372/0.2372, allocations: 43.52 MB / 313.9 MB, free: 0.5273 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.001951/0.001951, allocations: 64.53 kB / 382.7 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1248, allocations: 57.78 MB / 440.5 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.007534/0.1324, allocations: 7.059 MB / 447.6 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004792/0.1373, allocations: 2.037 MB / 449.6 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/0.1384, allocations: 31.94 kB / 449.6 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001776/0.1401, allocations: 0.6267 MB / 450.3 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001444/0.1417, allocations: 310.3 kB / 450.6 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003959/0.1421, allocations: 51.88 kB / 450.6 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001144/0.1433, allocations: 0.6107 MB / 451.2 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001062/0.1443, allocations: 0.5852 MB / 451.8 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006284/0.145, allocations: 294.8 kB / 452.1 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006777/0.1457, allocations: 402.5 kB / 452.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.1458, allocations: 56 kB / 452.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003608/0.1462, allocations: 111.9 kB / 452.7 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004219/0.1466, allocations: 378.9 kB / 453 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000424/0.147, allocations: 465.1 kB / 453.5 MB, free: 9.867 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001329/0.1484, allocations: 1.218 MB / 454.7 MB, free: 8.645 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1484, allocations: 0 / 454.7 MB, free: 8.645 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1484, allocations: 0 / 454.7 MB, free: 8.645 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.1484, allocations: 0 / 454.7 MB, free: 8.645 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.002341/0.1508, allocations: 1.196 MB / 455.9 MB, free: 7.398 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.793e-05/0.1509, allocations: 19.89 kB / 455.9 MB, free: 7.379 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009178/0.1518, allocations: 151.4 kB / 456.1 MB, free: 7.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007169/0.1525, allocations: 0.4895 MB / 456.6 MB, free: 6.703 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.899e-05/0.1526, allocations: 49.64 kB / 456.6 MB, free: 6.652 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-05/0.1527, allocations: 60.09 kB / 456.7 MB, free: 6.594 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002181/0.1549, allocations: 1.747 MB / 458.4 MB, free: 4.711 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.1549, allocations: 7.938 kB / 458.4 MB, free: 4.703 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.408e-05/0.155, allocations: 27.97 kB / 458.4 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006999/0.1557, allocations: 405.2 kB / 458.8 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001875/0.1575, allocations: 1.188 MB / 460 MB, free: 3.094 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007173/0.1647, allocations: 6.599 MB / 466.6 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004417/0.1652, allocations: 174.5 kB / 466.8 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002097/0.1655, allocations: 96.78 kB / 466.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.129e-05/0.1655, allocations: 7.922 kB / 466.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.1655, allocations: 34.56 kB / 466.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 3.316e-06/0.1655, allocations: 7.984 kB / 466.9 MB, free: 11.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008365/0.1664, allocations: 364.5 kB / 467.3 MB, free: 11.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.1664, allocations: 51.41 kB / 467.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.1675, allocations: 0.9654 MB / 468.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.1675, allocations: 25.7 kB / 468.3 MB, free: 10.47 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004418/0.168, allocations: 0.6942 MB / 469 MB, free: 9.766 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.875e-05/0.168, allocations: 59.38 kB / 469.1 MB, free: 9.707 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002766/0.1683, allocations: 222.2 kB / 469.3 MB, free: 9.484 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.1685, allocations: 390.8 kB / 469.7 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004585/0.169, allocations: 253.8 kB / 469.9 MB, free: 8.848 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008471/0.1698, allocations: 0.9487 MB / 470.9 MB, free: 7.551 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/0.1712, allocations: 1.301 MB / 472.2 MB, free: 5.898 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.135e-05/0.1713, allocations: 4 kB / 472.2 MB, free: 5.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001748/0.173, allocations: 1.169 MB / 473.4 MB, free: 4.719 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.243e-05/0.1731, allocations: 16 kB / 473.4 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.06e-05/0.1731, allocations: 28 kB / 473.4 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.429e-05/0.1732, allocations: 36.03 kB / 473.4 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006946/0.1739, allocations: 247.5 kB / 473.7 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.74e-05/0.1739, allocations: 47.8 kB / 473.7 MB, free: 4.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006613/0.1746, allocations: 154.4 kB / 473.9 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.661e-05/0.1746, allocations: 67.98 kB / 473.9 MB, free: 4.133 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.000518/0.1752, allocations: 475.3 kB / 474.4 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.246e-05/0.1753, allocations: 75 kB / 474.5 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006599/0.1759, allocations: 312.2 kB / 474.8 MB, free: 3.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.176, allocations: 4 kB / 474.8 MB, free: 3.266 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.176, allocations: 8 kB / 474.8 MB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.176, allocations: 0 / 474.8 MB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008428/0.1768, allocations: 0.7393 MB / 475.5 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.1768, allocations: 3.938 kB / 475.5 MB, free: 2.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001877/0.177, allocations: 35.91 kB / 475.6 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.177, allocations: 0 / 475.6 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.1771, allocations: 0 / 475.6 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.1771, allocations: 3.984 kB / 475.6 MB, free: 2.426 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1771, allocations: 0 / 475.6 MB, free: 2.426 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005954/0.1777, allocations: 390.2 kB / 476 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.1778, allocations: 148.1 kB / 476.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.162e-05/0.1779, allocations: 0 / 476.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/0.1782, allocations: 15.98 kB / 476.1 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.694e-05/0.1782, allocations: 15.97 kB / 476.1 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.1783, allocations: 12 kB / 476.2 MB, free: 1.824 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007113/0.179, allocations: 0.62 MB / 476.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.179, allocations: 0 / 476.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008056/0.1798, allocations: 219.1 kB / 477 MB, free: 0.9922 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.00017/0.18, allocations: 107.2 kB / 477.1 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001067/0.1811, allocations: 0.6075 MB / 477.7 MB, free: 284 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.1811, allocations: 4.125 kB / 477.7 MB, free: 280 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002238/0.1813, allocations: 99.86 kB / 477.8 MB, free: 180 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005327/0.1818, allocations: 103.7 kB / 477.9 MB, free: 80 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00247/0.1843, allocations: 1.571 MB / 479.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008751/0.1852, allocations: 1.148 MB / 480.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000703/0.1859, allocations: 282 kB / 480.9 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.186, allocations: 43.44 kB / 480.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.186, allocations: 4 kB / 480.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of Templates: time 0.01197/0.198, allocations: 5.632 MB / 486.6 MB, free: 7.371 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)