Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.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.Shapes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 106.9 kB / 17.03 MB, free: 5.664 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.0009924/0.0009924, allocations: 192.1 kB / 17.96 MB, free: 5.066 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.369/1.369, allocations: 205.1 MB / 223.8 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.2014/0.2014, allocations: 43.53 MB / 314.7 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.001449/0.001449, allocations: 67.84 kB / 384.2 MB, free: 56.33 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09978/0.1012, allocations: 57.8 MB / 442 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.007756/0.109, allocations: 8.7 MB / 450.7 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005484/0.1145, allocations: 2.255 MB / 452.9 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001607/0.1162, allocations: 43.94 kB / 453 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0031/0.1193, allocations: 1.526 MB / 454.5 MB, free: 9.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001257/0.1206, allocations: 481.2 kB / 455 MB, free: 9.098 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003393/0.121, allocations: 67.91 kB / 455 MB, free: 9.031 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001329/0.1223, allocations: 0.9448 MB / 456 MB, free: 8.082 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001681/0.124, allocations: 1.51 MB / 457.5 MB, free: 6.547 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008053/0.1248, allocations: 0.5332 MB / 458 MB, free: 6.012 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009564/0.1258, allocations: 0.6888 MB / 458.7 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002299/0.126, allocations: 116 kB / 458.8 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002704/0.1263, allocations: 127.9 kB / 458.9 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005895/0.1269, allocations: 0.7363 MB / 459.7 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007043/0.1276, allocations: 0.8619 MB / 460.5 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001893/0.1295, allocations: 2.335 MB / 462.9 MB, free: 1.133 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1295, allocations: 0 / 462.9 MB, free: 1.133 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1295, allocations: 0 / 462.9 MB, free: 1.133 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.248e-05/0.1296, allocations: 0 / 462.9 MB, free: 1.133 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: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.00231/0.1319, allocations: 1.955 MB / 464.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.1319, allocations: 15.89 kB / 464.8 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005203/0.1324, allocations: 218.1 kB / 465.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/0.1337, allocations: 0.7263 MB / 465.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.86e-05/0.1337, allocations: 115.4 kB / 465.9 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001729/0.1339, allocations: 156.1 kB / 466 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003759/0.1377, allocations: 3.383 MB / 469.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.805e-05/0.1377, allocations: 11.88 kB / 469.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/0.1379, allocations: 79.92 kB / 469.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006835/0.1386, allocations: 0.6149 MB / 470.1 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002673/0.1413, allocations: 1.866 MB / 472 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01107/0.1523, allocations: 13.47 MB / 485.5 MB, free: 9.672 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.377e-05/0.1525, allocations: 173.1 kB / 485.6 MB, free: 9.492 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.765e-05/0.1525, allocations: 80.14 kB / 485.7 MB, free: 9.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.1525, allocations: 79.22 kB / 485.8 MB, free: 9.332 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/0.1526, allocations: 105.8 kB / 485.9 MB, free: 9.219 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 1.994e-06/0.1526, allocations: 0 / 485.9 MB, free: 9.219 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002141/0.1528, allocations: 156.1 kB / 486.1 MB, free: 9.059 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.699e-05/0.1529, allocations: 130.7 kB / 486.2 MB, free: 8.918 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001877/0.1548, allocations: 1.659 MB / 487.8 MB, free: 7.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.1548, allocations: 25.7 kB / 487.9 MB, free: 7.219 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008216/0.1556, allocations: 1.359 MB / 489.2 MB, free: 5.836 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.858e-05/0.1557, allocations: 43.95 kB / 489.3 MB, free: 5.793 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004132/0.1561, allocations: 422.7 kB / 489.7 MB, free: 5.371 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.1563, allocations: 361.9 kB / 490 MB, free: 5.012 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004857/0.1567, allocations: 367.8 kB / 490.4 MB, free: 4.648 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001687/0.1584, allocations: 1.937 MB / 492.3 MB, free: 1.895 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002544/0.161, allocations: 2.507 MB / 494.8 MB, free: 14.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.09e-05/0.161, allocations: 16 kB / 494.9 MB, free: 14.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002999/0.164, allocations: 2.115 MB / 497 MB, free: 12.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.007e-05/0.1641, allocations: 29.25 kB / 497 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.923e-05/0.1641, allocations: 60 kB / 497.1 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.071e-05/0.1642, allocations: 72 kB / 497.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.1653, allocations: 495 kB / 497.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.291e-05/0.1654, allocations: 107.6 kB / 497.7 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/0.1667, allocations: 312.6 kB / 498 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001319/0.1669, allocations: 140 kB / 498.2 MB, free: 11.26 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 260 * Number of states: 0 () * Number of discrete variables: 39 (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],cone.color[3],cone.color[2],cone.color[1],spring.color[3],spring.color[2],spring.color[1],gearwheel.color[3],gearwheel.color[2],gearwheel.color[1],beam.color[3],beam.color[2],beam.color[1],pipe.color[3],pipe.color[2],pipe.color[1],cylinder.color[3],cylinder.color[2],cylinder.color[1],sphere.color[3],sphere.color[2],sphere.color[1],box.color[3],box.color[2],box.color[1],fixed.color[3],fixed.color[2],fixed.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (260): * Single equations (assignments): 260 * 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.001041/0.1679, allocations: 0.8707 MB / 499 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/0.1681, allocations: 231.3 kB / 499.2 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001729/0.1683, allocations: 232.5 kB / 499.5 MB, free: 9.902 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.975e-05/0.1683, allocations: 184.2 kB / 499.7 MB, free: 9.715 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.368e-05/0.1684, allocations: 176.4 kB / 499.8 MB, free: 9.535 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.641e-05/0.1685, allocations: 192.3 kB / 0.4883 GB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00152/0.17, allocations: 1.474 MB / 0.4897 GB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.594e-05/0.17, allocations: 108.9 kB / 0.4898 GB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.271e-05/0.1701, allocations: 104.9 kB / 0.4899 GB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.272e-05/0.1702, allocations: 192.2 kB / 0.4901 GB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.636e-05/0.1703, allocations: 176.3 kB / 0.4903 GB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.028e-05/0.1703, allocations: 184.2 kB / 0.4905 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.761e-05/0.1704, allocations: 176.3 kB / 0.4906 GB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002394/0.1707, allocations: 433.3 kB / 0.491 GB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002913/0.171, allocations: 296.4 kB / 0.4913 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000155/0.1711, allocations: 184.2 kB / 0.4915 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002643/0.1714, allocations: 105 kB / 0.4916 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.612e-05/0.1715, allocations: 180.2 kB / 0.4918 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.359e-05/0.1715, allocations: 105 kB / 0.4919 GB, free: 5.488 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001189/0.1727, allocations: 1.022 MB / 0.4929 GB, free: 4.469 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1727, allocations: 4 kB / 0.4929 GB, free: 4.465 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00146/0.1742, allocations: 430.1 kB / 0.4933 GB, free: 4.043 MB / 382.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 (0): * Single equations (assignments): 0 * 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.0001683/0.1743, allocations: 170.5 kB / 0.4935 GB, free: 3.867 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001152/0.1755, allocations: 0.9075 MB / 0.4943 GB, free: 2.973 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.1755, allocations: 8.125 kB / 0.4943 GB, free: 2.965 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.804e-06/0.1755, allocations: 0 / 0.4943 GB, free: 2.965 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007796/0.1763, allocations: 0.5682 MB / 0.4949 GB, free: 2.391 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003728/0.1801, allocations: 2.764 MB / 0.4976 GB, free: 15.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001311/0.1814, allocations: 1.583 MB / 0.4991 GB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001014/0.1824, allocations: 491.4 kB / 0.4996 GB, free: 13.49 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.1825, allocations: 75.44 kB / 0.4997 GB, free: 13.42 MB / 398.1 MB Notification: Performance of SimCode: time 9.72e-07/0.1825, allocations: 0 / 0.4997 GB, free: 13.42 MB / 398.1 MB Notification: Performance of Templates: time 0.01698/0.1995, allocations: 8.392 MB / 0.5079 GB, free: 5.047 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1)