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.001303/0.001302, allocations: 106.6 kB / 17.03 MB, free: 6.102 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.001239/0.00124, allocations: 194.9 kB / 17.96 MB, free: 5.195 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.5/1.5, 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.2405/0.2405, allocations: 43.52 MB / 314.7 MB, free: 488 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.002618/0.002619, allocations: 68.89 kB / 384.2 MB, free: 56.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1478, allocations: 57.8 MB / 442 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01164/0.1595, allocations: 8.71 MB / 450.7 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006551/0.1662, allocations: 2.251 MB / 452.9 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00141/0.1676, allocations: 43.94 kB / 453 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003727/0.1714, allocations: 1.53 MB / 454.5 MB, free: 9.562 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00177/0.1732, allocations: 477.3 kB / 455 MB, free: 9.094 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003681/0.1736, allocations: 71.84 kB / 455 MB, free: 9.023 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001479/0.1751, allocations: 0.9487 MB / 456 MB, free: 8.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002215/0.1773, allocations: 1.506 MB / 457.5 MB, free: 6.539 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009125/0.1782, allocations: 0.5449 MB / 458 MB, free: 5.992 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001156/0.1794, allocations: 0.681 MB / 458.7 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002376/0.1797, allocations: 120 kB / 458.8 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003576/0.18, allocations: 128 kB / 458.9 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008057/0.1809, allocations: 0.7286 MB / 459.7 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001015/0.1819, allocations: 0.8619 MB / 460.5 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002516/0.1844, allocations: 2.335 MB / 462.9 MB, free: 1.125 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.1844, allocations: 0 / 462.9 MB, free: 1.125 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1844, allocations: 4 kB / 462.9 MB, free: 1.121 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.268e-05/0.1845, allocations: 0 / 462.9 MB, free: 1.121 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.002763/0.1873, allocations: 1.963 MB / 464.8 MB, free: 15.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.1873, allocations: 15.89 kB / 464.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006335/0.188, allocations: 214.1 kB / 465.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/0.1892, allocations: 0.7225 MB / 465.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.692e-05/0.1893, allocations: 111.4 kB / 465.9 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000158/0.1894, allocations: 152.1 kB / 466 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00389/0.1933, allocations: 3.387 MB / 469.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.725e-05/0.1934, allocations: 15.88 kB / 469.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/0.1936, allocations: 71.94 kB / 469.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008474/0.1944, allocations: 0.6188 MB / 470.1 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003176/0.1976, allocations: 1.869 MB / 472 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01322/0.2108, allocations: 13.48 MB / 485.5 MB, free: 9.656 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.211, allocations: 173.1 kB / 485.7 MB, free: 9.477 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.824e-05/0.2111, allocations: 80.14 kB / 485.7 MB, free: 9.395 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.446e-05/0.2111, allocations: 79.22 kB / 485.8 MB, free: 9.316 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.371e-05/0.2112, allocations: 105.8 kB / 485.9 MB, free: 9.203 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 3.256e-06/0.2112, allocations: 0 / 485.9 MB, free: 9.203 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 0.0003018/0.2115, allocations: 156 kB / 486.1 MB, free: 9.043 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.2116, allocations: 130.7 kB / 486.2 MB, free: 8.902 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002034/0.2137, allocations: 1.651 MB / 487.8 MB, free: 7.242 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.2137, allocations: 25.7 kB / 487.9 MB, free: 7.211 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009167/0.2146, allocations: 1.359 MB / 489.2 MB, free: 5.828 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/0.2147, allocations: 43.95 kB / 489.3 MB, free: 5.785 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004265/0.2151, allocations: 426.7 kB / 489.7 MB, free: 5.359 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.2153, allocations: 357.9 kB / 490 MB, free: 5.004 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005103/0.2158, allocations: 375.8 kB / 490.4 MB, free: 4.633 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001743/0.2175, allocations: 1.925 MB / 492.3 MB, free: 1.891 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002413/0.2199, allocations: 2.507 MB / 494.8 MB, free: 14.58 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.269e-05/0.22, allocations: 20 kB / 494.9 MB, free: 14.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003108/0.2231, allocations: 2.119 MB / 497 MB, free: 12.44 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.296e-05/0.2232, allocations: 31.98 kB / 497 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.877e-05/0.2232, allocations: 56 kB / 497.1 MB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.813e-05/0.2233, allocations: 76 kB / 497.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/0.2244, allocations: 483.1 kB / 497.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.199e-05/0.2245, allocations: 107.6 kB / 497.7 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/0.2261, allocations: 317 kB / 498 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/0.2262, allocations: 140 kB / 498.2 MB, free: 11.25 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.001166/0.2274, allocations: 0.8754 MB / 499 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002352/0.2276, allocations: 227.3 kB / 499.3 MB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002371/0.2279, allocations: 236.5 kB / 499.5 MB, free: 9.891 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001055/0.228, allocations: 180.3 kB / 499.7 MB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001081/0.2281, allocations: 176.4 kB / 499.8 MB, free: 9.527 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001139/0.2282, allocations: 184.2 kB / 0.4883 GB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001915/0.2301, allocations: 1.477 MB / 0.4897 GB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-05/0.2302, allocations: 112.9 kB / 0.4898 GB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.675e-05/0.2303, allocations: 105 kB / 0.4899 GB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.62e-05/0.2303, allocations: 184.2 kB / 0.4901 GB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.389e-05/0.2304, allocations: 184.2 kB / 0.4903 GB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.394e-05/0.2305, allocations: 180.3 kB / 0.4905 GB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.986e-05/0.2306, allocations: 188.2 kB / 0.4906 GB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002821/0.2309, allocations: 425.3 kB / 0.4911 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003318/0.2312, allocations: 300.4 kB / 0.4913 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/0.2314, allocations: 180.2 kB / 0.4915 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003079/0.2317, allocations: 108.9 kB / 0.4916 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.505e-05/0.2318, allocations: 184.2 kB / 0.4918 GB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.911e-05/0.2319, allocations: 108.9 kB / 0.4919 GB, free: 5.469 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001196/0.2331, allocations: 1.014 MB / 0.4929 GB, free: 4.457 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2331, allocations: 0 / 0.4929 GB, free: 4.457 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001664/0.2347, allocations: 438.1 kB / 0.4933 GB, free: 4.027 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.0001705/0.2349, allocations: 170.5 kB / 0.4935 GB, free: 3.852 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001321/0.2362, allocations: 0.8997 MB / 0.4943 GB, free: 2.965 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.2363, allocations: 0 / 0.4943 GB, free: 2.965 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.919e-06/0.2363, allocations: 4 kB / 0.4943 GB, free: 2.961 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008082/0.2371, allocations: 0.579 MB / 0.4949 GB, free: 2.379 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004489/0.2416, allocations: 2.756 MB / 0.4976 GB, free: 15.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00145/0.2431, allocations: 1.583 MB / 0.4991 GB, free: 13.97 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001167/0.2442, allocations: 495.4 kB / 0.4996 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.2444, allocations: 75.44 kB / 0.4997 GB, free: 13.41 MB / 398.1 MB Notification: Performance of SimCode: time 2.374e-06/0.2444, allocations: 0 / 0.4997 GB, free: 13.41 MB / 398.1 MB Notification: Performance of Templates: time 0.01836/0.2627, allocations: 8.387 MB / 0.5079 GB, free: 5.043 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 cvode -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1)