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.001464/0.001464, allocations: 109.1 kB / 17.04 MB, free: 5.797 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.001647/0.001648, allocations: 195 kB / 17.98 MB, free: 5.016 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.382/1.382, allocations: 205.1 MB / 223.8 MB, free: 12.26 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.1971/0.1971, 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.001595/0.001595, allocations: 68.38 kB / 384.2 MB, free: 56.42 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09303/0.09464, allocations: 57.79 MB / 442 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.007189/0.1019, allocations: 7.053 MB / 449 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004427/0.1063, allocations: 2.041 MB / 451.1 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008206/0.1072, allocations: 27.94 kB / 451.1 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001488/0.1087, allocations: 0.6228 MB / 451.7 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008659/0.1096, allocations: 318.3 kB / 452 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002335/0.1099, allocations: 47.88 kB / 452.1 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008395/0.1107, allocations: 0.6146 MB / 452.7 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007576/0.1115, allocations: 0.5891 MB / 453.3 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004586/0.1119, allocations: 298.7 kB / 453.6 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006327/0.1126, allocations: 398.5 kB / 454 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001579/0.1128, allocations: 56 kB / 454 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000315/0.1131, allocations: 111.9 kB / 454.1 MB, free: 9.945 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003805/0.1135, allocations: 370.9 kB / 454.5 MB, free: 9.582 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000472/0.114, allocations: 461.1 kB / 454.9 MB, free: 9.129 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001201/0.1152, allocations: 1.273 MB / 456.2 MB, free: 7.852 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1152, allocations: 0 / 456.2 MB, free: 7.852 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1152, allocations: 0 / 456.2 MB, free: 7.852 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.137e-05/0.1152, allocations: 0 / 456.2 MB, free: 7.852 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.001946/0.1172, allocations: 1.2 MB / 457.4 MB, free: 6.602 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.1172, allocations: 15.89 kB / 457.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007861/0.118, allocations: 155.4 kB / 457.6 MB, free: 6.434 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007574/0.1188, allocations: 0.4895 MB / 458.1 MB, free: 5.906 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.874e-05/0.1188, allocations: 45.66 kB / 458.1 MB, free: 5.859 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.165e-05/0.1189, allocations: 64.09 kB / 458.2 MB, free: 5.797 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002154/0.1211, allocations: 1.751 MB / 459.9 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.1211, allocations: 7.938 kB / 459.9 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.199e-05/0.1212, allocations: 31.91 kB / 460 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007035/0.1219, allocations: 409.1 kB / 460.4 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00193/0.1239, allocations: 1.188 MB / 461.5 MB, free: 2.281 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00736/0.1312, allocations: 6.556 MB / 468.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004689/0.1317, allocations: 170.5 kB / 468.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002033/0.1319, allocations: 96.78 kB / 468.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.108e-05/0.132, allocations: 3.938 kB / 468.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.132, allocations: 34.5 kB / 468.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.593e-06/0.132, allocations: 0 / 468.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007835/0.1328, allocations: 372.5 kB / 468.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.1329, allocations: 55.41 kB / 468.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.134, allocations: 0.9576 MB / 469.8 MB, free: 9.746 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.134, allocations: 33.7 kB / 469.8 MB, free: 9.707 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004151/0.1344, allocations: 0.6902 MB / 470.5 MB, free: 9.004 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.942e-05/0.1345, allocations: 59.38 kB / 470.6 MB, free: 8.945 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000231/0.1347, allocations: 222.2 kB / 470.8 MB, free: 8.723 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.1349, allocations: 390.8 kB / 471.2 MB, free: 8.332 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005038/0.1354, allocations: 257.8 kB / 471.4 MB, free: 8.082 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008794/0.1363, allocations: 0.9487 MB / 472.4 MB, free: 6.785 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00149/0.1378, allocations: 1.301 MB / 473.7 MB, free: 5.133 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.188e-05/0.1378, allocations: 8 kB / 473.7 MB, free: 5.125 MB / 350.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002038/0.1399, allocations: 1.173 MB / 474.8 MB, free: 3.945 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.1399, allocations: 17.25 kB / 474.9 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.439e-05/0.1399, allocations: 24 kB / 474.9 MB, free: 3.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.705e-05/0.14, allocations: 36 kB / 474.9 MB, free: 3.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008257/0.1408, allocations: 244.2 kB / 475.1 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-05/0.1409, allocations: 51.78 kB / 475.2 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008983/0.1418, allocations: 162.4 kB / 475.4 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/0.1419, allocations: 67.98 kB / 475.4 MB, free: 3.355 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.0005915/0.1425, allocations: 467.3 kB / 475.9 MB, free: 2.887 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.829e-05/0.1426, allocations: 75 kB / 476 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007027/0.1433, allocations: 319.9 kB / 476.3 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1433, allocations: 0 / 476.3 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1433, allocations: 0 / 476.3 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1434, allocations: 4 kB / 476.3 MB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.1444, allocations: 0.7354 MB / 477 MB, free: 1.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1444, allocations: 11.88 kB / 477 MB, free: 1.695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002018/0.1446, allocations: 31.97 kB / 477 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.1446, allocations: 4 kB / 477.1 MB, free: 1.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.1446, allocations: 7.938 kB / 477.1 MB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1447, allocations: 0 / 477.1 MB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.1447, allocations: 3.984 kB / 477.1 MB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006095/0.1453, allocations: 386.4 kB / 477.4 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001684/0.1455, allocations: 148.1 kB / 477.6 MB, free: 1.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.234e-05/0.1455, allocations: 4 kB / 477.6 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002653/0.1458, allocations: 11.98 kB / 477.6 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.187e-05/0.1459, allocations: 19.97 kB / 477.6 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.1459, allocations: 0 / 477.6 MB, free: 1.055 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007227/0.1466, allocations: 0.6239 MB / 478.2 MB, free: 444 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1466, allocations: 0 / 478.2 MB, free: 444 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008296/0.1475, allocations: 219.1 kB / 478.5 MB, free: 224 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.0001486/0.1476, allocations: 103.2 kB / 478.6 MB, free: 112 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001022/0.1487, allocations: 0.5978 MB / 479.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.1487, allocations: 1.625 kB / 479.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002396/0.1489, allocations: 103.8 kB / 479.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005209/0.1495, allocations: 96.8 kB / 479.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002352/0.1518, allocations: 1.528 MB / 480.9 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007883/0.1526, allocations: 1.163 MB / 482 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006151/0.1533, allocations: 270 kB / 482.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.1534, allocations: 55.36 kB / 482.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1534, allocations: 0 / 482.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of Templates: time 0.01157/0.165, allocations: 5.647 MB / 488 MB, free: 6.633 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 gbode -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1)