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.001599/0.001599, allocations: 105 kB / 16.94 MB, free: 6.156 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.002124/0.002124, allocations: 191.3 kB / 17.86 MB, free: 5.289 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.526/1.526, allocations: 205.1 MB / 223.7 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.2103/0.2103, allocations: 43.52 MB / 314.6 MB, free: 0.5312 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.001489/0.001489, allocations: 66.31 kB / 383.4 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09208/0.09358, allocations: 57.79 MB / 441.2 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.009321/0.1029, allocations: 8.717 MB / 449.9 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007044/0.11, allocations: 2.243 MB / 452.1 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001983/0.1121, allocations: 43.94 kB / 452.2 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004845/0.1169, allocations: 1.53 MB / 453.7 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002184/0.1192, allocations: 485.2 kB / 454.2 MB, free: 9.848 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005621/0.1198, allocations: 71.84 kB / 454.3 MB, free: 9.777 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002154/0.122, allocations: 0.941 MB / 455.2 MB, free: 8.832 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002728/0.1248, allocations: 1.506 MB / 456.7 MB, free: 7.301 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001257/0.1261, allocations: 0.5371 MB / 457.2 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001606/0.1277, allocations: 0.6811 MB / 457.9 MB, free: 6.078 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004783/0.1282, allocations: 120 kB / 458 MB, free: 5.961 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006554/0.1289, allocations: 127.9 kB / 458.2 MB, free: 5.836 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009851/0.1299, allocations: 0.7363 MB / 458.9 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001184/0.1311, allocations: 0.8619 MB / 459.8 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002982/0.1341, allocations: 2.234 MB / 462 MB, free: 1.988 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.1341, allocations: 0 / 462 MB, free: 1.988 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1341, allocations: 0 / 462 MB, free: 1.988 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.023e-05/0.1342, allocations: 0 / 462 MB, free: 1.988 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.003867/0.1381, allocations: 1.952 MB / 464 MB, free: 15.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/0.1381, allocations: 15.89 kB / 464 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008291/0.139, allocations: 214 kB / 464.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001473/0.1405, allocations: 0.7341 MB / 464.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001216/0.1406, allocations: 115.4 kB / 465 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002718/0.1409, allocations: 152.1 kB / 465.2 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006031/0.1469, allocations: 3.379 MB / 468.5 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.903e-05/0.147, allocations: 19.86 kB / 468.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001906/0.1472, allocations: 71.94 kB / 468.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001098/0.1483, allocations: 0.6188 MB / 469.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003819/0.1522, allocations: 1.866 MB / 471.1 MB, free: 8.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01422/0.1664, allocations: 13.52 MB / 484.6 MB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.1666, allocations: 169.1 kB / 484.8 MB, free: 10.31 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.806e-05/0.1666, allocations: 88.14 kB / 484.9 MB, free: 10.22 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.32e-05/0.1667, allocations: 79.22 kB / 485 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.804e-05/0.1667, allocations: 113.8 kB / 485.1 MB, free: 10.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 2.425e-06/0.1667, allocations: 3.938 kB / 485.1 MB, free: 10.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 0.000358/0.1671, allocations: 152 kB / 485.2 MB, free: 9.859 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.876e-05/0.1672, allocations: 126.7 kB / 485.4 MB, free: 9.723 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002371/0.1695, allocations: 1.655 MB / 487 MB, free: 8.059 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.1696, allocations: 25.7 kB / 487 MB, free: 8.027 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001034/0.1706, allocations: 1.359 MB / 488.4 MB, free: 6.645 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.392e-05/0.1707, allocations: 43.95 kB / 488.4 MB, free: 6.602 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004861/0.1712, allocations: 422.7 kB / 488.9 MB, free: 6.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.1714, allocations: 357.9 kB / 489.2 MB, free: 5.824 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006061/0.172, allocations: 371.8 kB / 489.6 MB, free: 5.457 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001678/0.1737, allocations: 1.929 MB / 491.5 MB, free: 2.711 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002545/0.1762, allocations: 2.507 MB / 494 MB, free: 15.4 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.132e-05/0.1763, allocations: 16 kB / 494 MB, free: 15.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003858/0.1802, allocations: 2.115 MB / 496.1 MB, free: 13.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.887e-05/0.1803, allocations: 36.03 kB / 496.2 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.976e-05/0.1803, allocations: 63.92 kB / 496.2 MB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.069e-05/0.1804, allocations: 72 kB / 496.3 MB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/0.1816, allocations: 487.1 kB / 496.8 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.562e-05/0.1817, allocations: 107.6 kB / 496.9 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00171/0.1834, allocations: 312.6 kB / 497.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000185/0.1836, allocations: 144 kB / 497.3 MB, free: 12.07 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.001438/0.1851, allocations: 0.8754 MB / 498.2 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002936/0.1854, allocations: 227.3 kB / 498.4 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003242/0.1857, allocations: 232.5 kB / 498.7 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.677e-05/0.1858, allocations: 176.3 kB / 498.8 MB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.81e-05/0.1859, allocations: 188.4 kB / 499 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001594/0.1861, allocations: 184.2 kB / 499.2 MB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002097/0.1882, allocations: 1.474 MB / 0.4889 GB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.703e-05/0.1882, allocations: 108.9 kB / 0.489 GB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.471e-05/0.1883, allocations: 105 kB / 0.4891 GB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.926e-05/0.1883, allocations: 176.3 kB / 0.4893 GB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.165e-05/0.1884, allocations: 192.2 kB / 0.4895 GB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.954e-05/0.1885, allocations: 180.2 kB / 0.4897 GB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.03e-05/0.1886, allocations: 188.2 kB / 0.4898 GB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003032/0.1889, allocations: 421.4 kB / 0.4902 GB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003899/0.1893, allocations: 304.3 kB / 0.4905 GB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002984/0.1896, allocations: 180.3 kB / 0.4907 GB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003563/0.1899, allocations: 108.9 kB / 0.4908 GB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.475e-05/0.19, allocations: 180.2 kB / 0.491 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.176e-05/0.1901, allocations: 101 kB / 0.4911 GB, free: 6.301 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001388/0.1915, allocations: 1.022 MB / 0.4921 GB, free: 5.281 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1915, allocations: 7.938 kB / 0.4921 GB, free: 5.273 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001709/0.1932, allocations: 434 kB / 0.4925 GB, free: 4.848 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.0001857/0.1934, allocations: 178.5 kB / 0.4927 GB, free: 4.664 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00138/0.1948, allocations: 0.8951 MB / 0.4935 GB, free: 3.781 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.1948, allocations: 1 kB / 0.4935 GB, free: 3.781 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.246e-06/0.1948, allocations: 0 / 0.4935 GB, free: 3.781 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008701/0.1957, allocations: 0.5829 MB / 0.4941 GB, free: 3.191 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005261/0.2009, allocations: 2.976 MB / 0.497 GB, free: 180 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001821/0.2028, allocations: 1.583 MB / 0.4986 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002137/0.203, allocations: 91.44 kB / 0.4986 GB, free: 14.46 MB / 398.1 MB Notification: Performance of SimCode: time 9.02e-07/0.203, allocations: 0 / 0.4986 GB, free: 14.46 MB / 398.1 MB Notification: Performance of Templates: time 0.03193/0.235, allocations: 17.77 MB / 0.516 GB, free: 12.7 MB / 414.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 -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1)