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.00121/0.00121, allocations: 110.2 kB / 17.04 MB, free: 5.352 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.001195/0.001195, allocations: 194.1 kB / 17.97 MB, free: 4.891 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.543/1.543, allocations: 205.1 MB / 223.8 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.2302/0.2302, allocations: 43.52 MB / 314.7 MB, free: 484 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.002226/0.002226, allocations: 64.5 kB / 384.2 MB, free: 56.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1302, allocations: 57.8 MB / 442 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.006662/0.1369, allocations: 7.043 MB / 449 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00429/0.1412, allocations: 2.041 MB / 451.1 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007565/0.142, allocations: 28 kB / 451.1 MB, free: 13 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001408/0.1434, allocations: 0.6267 MB / 451.7 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007777/0.1443, allocations: 318.3 kB / 452 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002044/0.1445, allocations: 47.88 kB / 452.1 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006863/0.1452, allocations: 0.6146 MB / 452.7 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007625/0.146, allocations: 0.5852 MB / 453.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003772/0.1463, allocations: 294.8 kB / 453.6 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005357/0.1469, allocations: 402.5 kB / 453.9 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.949e-05/0.147, allocations: 60 kB / 454 MB, free: 10.06 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002427/0.1472, allocations: 103.9 kB / 454.1 MB, free: 9.957 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000346/0.1476, allocations: 382.9 kB / 454.5 MB, free: 9.582 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003988/0.148, allocations: 461.1 kB / 454.9 MB, free: 9.129 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001245/0.1493, allocations: 1.276 MB / 456.2 MB, free: 7.848 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.1493, allocations: 0 / 456.2 MB, free: 7.848 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1493, allocations: 0 / 456.2 MB, free: 7.848 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.406e-05/0.1493, allocations: 0 / 456.2 MB, free: 7.848 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.001897/0.1512, allocations: 1.196 MB / 457.4 MB, free: 6.602 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.1513, allocations: 11.89 kB / 457.4 MB, free: 6.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007755/0.152, allocations: 155.4 kB / 457.6 MB, free: 6.438 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007303/0.1528, allocations: 0.4972 MB / 458.1 MB, free: 5.902 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.086e-05/0.1528, allocations: 45.66 kB / 458.1 MB, free: 5.855 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.109e-05/0.1529, allocations: 60.09 kB / 458.2 MB, free: 5.797 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002059/0.155, allocations: 1.755 MB / 459.9 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/0.155, allocations: 3.938 kB / 459.9 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.96e-05/0.1551, allocations: 35.89 kB / 460 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006586/0.1558, allocations: 401.2 kB / 460.4 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001776/0.1576, allocations: 1.184 MB / 461.5 MB, free: 2.289 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006514/0.1641, allocations: 6.56 MB / 468.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004126/0.1645, allocations: 166.5 kB / 468.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002153/0.1648, allocations: 100.8 kB / 468.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.045e-05/0.1648, allocations: 7.938 kB / 468.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001025/0.1649, allocations: 30.56 kB / 468.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 2.164e-06/0.1649, allocations: 0 / 468.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008181/0.1658, allocations: 376.5 kB / 468.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000137/0.1659, allocations: 51.41 kB / 468.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/0.167, allocations: 0.9615 MB / 469.8 MB, free: 9.746 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.1671, allocations: 29.7 kB / 469.8 MB, free: 9.711 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004842/0.1676, allocations: 0.6863 MB / 470.5 MB, free: 9.012 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.866e-05/0.1676, allocations: 63.36 kB / 470.6 MB, free: 8.949 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002635/0.1679, allocations: 218.2 kB / 470.8 MB, free: 8.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002702/0.1682, allocations: 394.8 kB / 471.2 MB, free: 8.336 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005669/0.1688, allocations: 257.8 kB / 471.4 MB, free: 8.086 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001354/0.1701, allocations: 0.9487 MB / 472.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001643/0.1718, allocations: 1.297 MB / 473.6 MB, free: 5.141 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.48e-05/0.1718, allocations: 8 kB / 473.7 MB, free: 5.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001885/0.1737, allocations: 1.173 MB / 474.8 MB, free: 3.953 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.311e-05/0.1738, allocations: 16 kB / 474.8 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.598e-05/0.1738, allocations: 24 kB / 474.9 MB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.061e-05/0.1739, allocations: 35.98 kB / 474.9 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007214/0.1746, allocations: 251.5 kB / 475.1 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.302e-05/0.1746, allocations: 48.33 kB / 475.2 MB, free: 3.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007412/0.1754, allocations: 158.4 kB / 475.4 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.742e-05/0.1755, allocations: 64 kB / 475.4 MB, free: 3.367 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.0006122/0.1761, allocations: 471.3 kB / 475.9 MB, free: 2.895 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.32e-05/0.1762, allocations: 75 kB / 475.9 MB, free: 2.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006381/0.1768, allocations: 316.4 kB / 476.3 MB, free: 2.504 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.1769, allocations: 0 / 476.3 MB, free: 2.504 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.789e-06/0.1769, allocations: 4 kB / 476.3 MB, free: 2.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1769, allocations: 0 / 476.3 MB, free: 2.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000894/0.1778, allocations: 0.7393 MB / 477 MB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.1778, allocations: 7.875 kB / 477 MB, free: 1.703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001927/0.178, allocations: 39.91 kB / 477 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.178, allocations: 0 / 477 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.178, allocations: 3.938 kB / 477.1 MB, free: 1.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1781, allocations: 4 kB / 477.1 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.1781, allocations: 0 / 477.1 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006738/0.1787, allocations: 386.3 kB / 477.4 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001666/0.1789, allocations: 144.1 kB / 477.6 MB, free: 1.105 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.533e-05/0.179, allocations: 11.98 kB / 477.6 MB, free: 1.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002501/0.1793, allocations: 7.984 kB / 477.6 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.479e-05/0.1793, allocations: 15.98 kB / 477.6 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/0.1794, allocations: 7.984 kB / 477.6 MB, free: 1.062 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007478/0.1801, allocations: 0.62 MB / 478.2 MB, free: 456 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1801, allocations: 0 / 478.2 MB, free: 456 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009002/0.181, allocations: 223.1 kB / 478.5 MB, free: 232 kB / 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.0002247/0.1813, allocations: 103.2 kB / 478.6 MB, free: 120 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001052/0.1823, allocations: 0.5979 MB / 479.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1823, allocations: 0 / 479.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002576/0.1826, allocations: 105.3 kB / 479.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000565/0.1832, allocations: 96.78 kB / 479.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003179/0.1864, allocations: 1.536 MB / 480.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001007/0.1874, allocations: 1.155 MB / 482 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006459/0.188, allocations: 278 kB / 482.3 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.1882, allocations: 59.36 kB / 482.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1882, allocations: 3.938 kB / 482.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of Templates: time 0.0138/0.202, allocations: 5.628 MB / 488 MB, free: 6.645 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 -s cvode -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1)