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: 112.1 kB / 16.41 MB, free: 6.027 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.001573/0.001572, allocations: 187.7 kB / 17.34 MB, free: 5.633 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.506/1.506, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2317/0.2317, allocations: 43.51 MB / 314.1 MB, free: 476 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.001725/0.001725, allocations: 63.91 kB / 441.8 MB, free: 5.703 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1218, allocations: 57.79 MB / 499.6 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.01115/0.133, allocations: 7.055 MB / 0.4948 GB, free: 4.742 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005162/0.1383, allocations: 2.029 MB / 0.4967 GB, free: 2.707 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001207/0.1395, allocations: 35.88 kB / 0.4968 GB, free: 2.672 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00192/0.1414, allocations: 0.6306 MB / 0.4974 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00116/0.1427, allocations: 326.3 kB / 0.4977 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003037/0.143, allocations: 47.88 kB / 0.4977 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001141/0.1442, allocations: 0.6184 MB / 0.4983 GB, free: 1.051 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009508/0.1451, allocations: 0.5774 MB / 0.4989 GB, free: 476 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006196/0.1458, allocations: 298.7 kB / 0.4992 GB, free: 176 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008231/0.1466, allocations: 398.5 kB / 0.4996 GB, free: 15.78 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001856/0.1468, allocations: 64 kB / 0.4996 GB, free: 15.72 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003456/0.1471, allocations: 107.9 kB / 0.4997 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004525/0.1476, allocations: 378.9 kB / 0.5001 GB, free: 15.24 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006417/0.1483, allocations: 461.1 kB / 0.5005 GB, free: 14.79 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001526/0.1498, allocations: 1.273 MB / 0.5018 GB, free: 13.51 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1498, allocations: 0 / 0.5018 GB, free: 13.51 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1498, allocations: 0 / 0.5018 GB, free: 13.51 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.879e-05/0.1499, allocations: 0 / 0.5018 GB, free: 13.51 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.002069/0.1519, allocations: 1.208 MB / 0.503 GB, free: 12.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.152, allocations: 11.89 kB / 0.503 GB, free: 12.24 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008221/0.1528, allocations: 155.4 kB / 0.5031 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006542/0.1535, allocations: 0.4933 MB / 0.5036 GB, free: 11.55 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.529e-05/0.1535, allocations: 45.66 kB / 0.5037 GB, free: 11.51 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.543e-05/0.1536, allocations: 60.09 kB / 0.5037 GB, free: 11.45 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002133/0.1558, allocations: 1.747 MB / 0.5054 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.1558, allocations: 4 kB / 0.5054 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.23e-05/0.1559, allocations: 35.97 kB / 0.5055 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007119/0.1566, allocations: 401.1 kB / 0.5058 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001897/0.1585, allocations: 1.207 MB / 0.507 GB, free: 7.922 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006811/0.1653, allocations: 6.556 MB / 0.5134 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004175/0.1658, allocations: 170.6 kB / 0.5136 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000215/0.166, allocations: 96.78 kB / 0.5137 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.45e-05/0.1661, allocations: 7.938 kB / 0.5137 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.1661, allocations: 30.56 kB / 0.5137 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 3.677e-06/0.1661, allocations: 0 / 0.5137 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008586/0.167, allocations: 368.4 kB / 0.5141 GB, free: 440 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.167, allocations: 63.34 kB / 0.5141 GB, free: 364 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/0.1681, allocations: 0.9576 MB / 0.5151 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.1682, allocations: 25.7 kB / 0.5151 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005212/0.1687, allocations: 0.698 MB / 0.5158 GB, free: 14.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.843e-05/0.1688, allocations: 59.44 kB / 0.5158 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002665/0.169, allocations: 218.3 kB / 0.516 GB, free: 14.37 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002189/0.1693, allocations: 390.8 kB / 0.5164 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004586/0.1697, allocations: 265.8 kB / 0.5167 GB, free: 13.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/0.1708, allocations: 0.9487 MB / 0.5176 GB, free: 12.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001652/0.1725, allocations: 1.293 MB / 0.5188 GB, free: 10.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.721e-05/0.1725, allocations: 8 kB / 0.5188 GB, free: 10.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002015/0.1745, allocations: 1.172 MB / 0.52 GB, free: 9.586 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.07e-05/0.1746, allocations: 16 kB / 0.52 GB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.702e-05/0.1746, allocations: 24 kB / 0.52 GB, free: 9.547 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.754e-05/0.1746, allocations: 32.81 kB / 0.5201 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007492/0.1754, allocations: 255.5 kB / 0.5203 GB, free: 9.266 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.132e-05/0.1755, allocations: 47.8 kB / 0.5204 GB, free: 9.219 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007935/0.1763, allocations: 158.4 kB / 0.5205 GB, free: 9.062 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.1764, allocations: 64 kB / 0.5206 GB, free: 9 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.0006455/0.177, allocations: 471.3 kB / 0.521 GB, free: 8.527 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.1772, allocations: 79 kB / 0.5211 GB, free: 8.449 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007526/0.1779, allocations: 308.4 kB / 0.5214 GB, free: 8.141 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.1779, allocations: 0 / 0.5214 GB, free: 8.141 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.178, allocations: 0 / 0.5214 GB, free: 8.141 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.381e-06/0.178, allocations: 0 / 0.5214 GB, free: 8.141 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.179, allocations: 0.7393 MB / 0.5221 GB, free: 7.352 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.179, allocations: 7.938 kB / 0.5221 GB, free: 7.344 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/0.1792, allocations: 35.91 kB / 0.5221 GB, free: 7.309 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.1792, allocations: 0 / 0.5221 GB, free: 7.309 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.1792, allocations: 11.92 kB / 0.5222 GB, free: 7.297 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1792, allocations: 0 / 0.5222 GB, free: 7.297 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1792, allocations: 0 / 0.5222 GB, free: 7.297 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006032/0.1798, allocations: 378.5 kB / 0.5225 GB, free: 6.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001615/0.18, allocations: 152 kB / 0.5227 GB, free: 6.742 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.895e-05/0.1801, allocations: 8 kB / 0.5227 GB, free: 6.734 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002824/0.1804, allocations: 7.984 kB / 0.5227 GB, free: 6.727 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.142e-05/0.1805, allocations: 19.95 kB / 0.5227 GB, free: 6.707 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.1805, allocations: 8 kB / 0.5227 GB, free: 6.699 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008362/0.1813, allocations: 0.62 MB / 0.5233 GB, free: 6.086 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1813, allocations: 8 kB / 0.5233 GB, free: 6.078 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009536/0.1823, allocations: 219.1 kB / 0.5235 GB, free: 5.863 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.0001861/0.1825, allocations: 103.2 kB / 0.5236 GB, free: 5.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001254/0.1838, allocations: 0.5991 MB / 0.5242 GB, free: 5.156 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.1838, allocations: 4 kB / 0.5242 GB, free: 5.152 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002496/0.184, allocations: 100.1 kB / 0.5243 GB, free: 5.055 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005773/0.1846, allocations: 86.64 kB / 0.5244 GB, free: 4.973 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002912/0.1875, allocations: 1.547 MB / 0.5259 GB, free: 3.398 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009947/0.1885, allocations: 1.144 MB / 0.527 GB, free: 2.227 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006098/0.1892, allocations: 282 kB / 0.5273 GB, free: 1.949 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.1893, allocations: 51.44 kB / 0.5273 GB, free: 1.898 MB / 414.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1893, allocations: 0 / 0.5273 GB, free: 1.898 MB / 414.1 MB Notification: Performance of Templates: time 0.2629/0.4522, allocations: 5.87 MB / 0.5331 GB, free: 39.12 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)