Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.007398/0.007398, allocations: 104.2 kB / 15.74 MB, free: 6.059 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.001217/0.001217, allocations: 196.2 kB / 16.68 MB, free: 5.969 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.702/1.702, allocations: 205.1 MB / 222.6 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1966/0.1966, allocations: 38.01 MB / 307.9 MB, free: 5.965 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: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 71.89 kB / 433 MB, free: 14.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1268, allocations: 56.48 MB / 489.5 MB, free: 5.977 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.009755/0.1366, allocations: 8.707 MB / 498.2 MB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006195/0.1428, allocations: 2.247 MB / 0.4887 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001419/0.1443, allocations: 43.94 kB / 0.4887 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003064/0.1474, allocations: 1.534 MB / 0.4902 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001494/0.149, allocations: 497.2 kB / 0.4907 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002965/0.1493, allocations: 75.84 kB / 0.4908 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001093/0.1504, allocations: 0.9449 MB / 0.4917 GB, free: 7.875 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001626/0.152, allocations: 1.51 MB / 0.4932 GB, free: 6.336 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006981/0.1527, allocations: 0.5294 MB / 0.4937 GB, free: 5.805 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008479/0.1536, allocations: 0.685 MB / 0.4944 GB, free: 5.117 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001871/0.1538, allocations: 120 kB / 0.4945 GB, free: 5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003106/0.1541, allocations: 123.9 kB / 0.4946 GB, free: 4.879 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006453/0.1548, allocations: 0.7402 MB / 0.4953 GB, free: 4.137 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007372/0.1555, allocations: 0.858 MB / 0.4961 GB, free: 3.273 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002174/0.1577, allocations: 2.346 MB / 0.4984 GB, free: 0.918 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.1577, allocations: 0 / 0.4984 GB, free: 0.918 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1577, allocations: 0 / 0.4984 GB, free: 0.918 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.312e-05/0.1577, allocations: 0 / 0.4984 GB, free: 0.918 MB / 382.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.00239/0.1601, allocations: 1.951 MB / 0.5003 GB, free: 14.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.612e-05/0.1602, allocations: 11.89 kB / 0.5004 GB, free: 14.9 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005951/0.1608, allocations: 218.2 kB / 0.5006 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.1619, allocations: 0.7341 MB / 0.5013 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/0.162, allocations: 115.4 kB / 0.5014 GB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000184/0.1622, allocations: 152.1 kB / 0.5015 GB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003797/0.166, allocations: 3.383 MB / 0.5048 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.507e-05/0.1661, allocations: 15.88 kB / 0.5049 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001369/0.1662, allocations: 71.94 kB / 0.5049 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006681/0.1669, allocations: 0.611 MB / 0.5055 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002768/0.1697, allocations: 1.862 MB / 0.5073 GB, free: 7.367 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01164/0.1813, allocations: 13.47 MB / 0.5205 GB, free: 9.469 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.1815, allocations: 177.1 kB / 0.5207 GB, free: 9.285 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.806e-05/0.1815, allocations: 84.12 kB / 0.5207 GB, free: 9.199 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.574e-05/0.1816, allocations: 87.16 kB / 0.5208 GB, free: 9.113 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.484e-05/0.1816, allocations: 105.8 kB / 0.5209 GB, free: 9 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.593e-06/0.1816, allocations: 0 / 0.5209 GB, free: 9 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002765/0.1819, allocations: 148.1 kB / 0.5211 GB, free: 8.848 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.864e-05/0.182, allocations: 130.7 kB / 0.5212 GB, free: 8.707 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001886/0.1839, allocations: 1.651 MB / 0.5228 GB, free: 7.047 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.1839, allocations: 29.7 kB / 0.5228 GB, free: 7.012 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008902/0.1848, allocations: 1.363 MB / 0.5242 GB, free: 5.625 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.215e-05/0.1849, allocations: 43.95 kB / 0.5242 GB, free: 5.582 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000408/0.1853, allocations: 422.8 kB / 0.5246 GB, free: 5.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1854, allocations: 357.9 kB / 0.5249 GB, free: 4.805 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004794/0.1859, allocations: 375.8 kB / 0.5253 GB, free: 4.434 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001471/0.1874, allocations: 1.929 MB / 0.5272 GB, free: 1.688 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3086/0.496, allocations: 2.504 MB / 0.5296 GB, free: 46.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.704e-05/0.4961, allocations: 16.69 kB / 0.5297 GB, free: 46.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003635/0.4997, allocations: 2.118 MB / 0.5317 GB, free: 45.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.809e-05/0.4998, allocations: 29.47 kB / 0.5317 GB, free: 45.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.66e-05/0.4999, allocations: 58.14 kB / 0.5318 GB, free: 45.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001025/0.5, allocations: 74.91 kB / 0.5319 GB, free: 45.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/0.5011, allocations: 488 kB / 0.5323 GB, free: 45.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001095/0.5012, allocations: 108.7 kB / 0.5324 GB, free: 45.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/0.5026, allocations: 326.3 kB / 0.5328 GB, free: 45.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001484/0.5028, allocations: 138.4 kB / 0.5329 GB, free: 45.48 MB / 414.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.0011/0.5039, allocations: 0.8738 MB / 0.5337 GB, free: 44.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/0.5041, allocations: 233.1 kB / 0.534 GB, free: 44.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001805/0.5043, allocations: 225.1 kB / 0.5342 GB, free: 44.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.094e-05/0.5043, allocations: 189.2 kB / 0.5344 GB, free: 44.53 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.839e-05/0.5043, allocations: 178.4 kB / 0.5345 GB, free: 44.35 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.225e-05/0.5044, allocations: 182.3 kB / 0.5347 GB, free: 44.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001702/0.5061, allocations: 1.482 MB / 0.5361 GB, free: 43.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.805e-05/0.5061, allocations: 105.5 kB / 0.5362 GB, free: 43.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.711e-05/0.5061, allocations: 106.8 kB / 0.5364 GB, free: 43.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.059e-05/0.5062, allocations: 179.1 kB / 0.5365 GB, free: 42.99 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/0.5062, allocations: 180.9 kB / 0.5367 GB, free: 42.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.392e-05/0.5062, allocations: 178.1 kB / 0.5369 GB, free: 42.63 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.921e-05/0.5063, allocations: 186 kB / 0.537 GB, free: 42.44 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/0.5064, allocations: 428.3 kB / 0.5375 GB, free: 42.08 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002095/0.5067, allocations: 296.7 kB / 0.5377 GB, free: 41.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.5068, allocations: 178.7 kB / 0.5379 GB, free: 41.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/0.507, allocations: 107.9 kB / 0.538 GB, free: 41.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/0.5071, allocations: 182.5 kB / 0.5382 GB, free: 41.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.5071, allocations: 103 kB / 0.5383 GB, free: 41.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001332/0.5084, allocations: 1.02 MB / 0.5393 GB, free: 40.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5084, allocations: 0 / 0.5393 GB, free: 40.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001718/0.5102, allocations: 435.8 kB / 0.5397 GB, free: 40.73 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 (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.0001362/0.5103, allocations: 180.5 kB / 0.5399 GB, free: 40.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001553/0.5119, allocations: 0.8985 MB / 0.5407 GB, free: 40.26 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.5119, allocations: 0.5 kB / 0.5407 GB, free: 40.26 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.176e-06/0.5119, allocations: 0.5 kB / 0.5407 GB, free: 40.26 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007606/0.5127, allocations: 0.5768 MB / 0.5413 GB, free: 39.74 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004183/0.5168, allocations: 2.764 MB / 0.544 GB, free: 38.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001459/0.5183, allocations: 1.581 MB / 0.5455 GB, free: 37.53 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001223/0.5196, allocations: 494.9 kB / 0.546 GB, free: 37.48 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.5197, allocations: 75.36 kB / 0.5461 GB, free: 37.47 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.5197, allocations: 3.938 kB / 0.5461 GB, free: 37.46 MB / 414.1 MB Notification: Performance of Templates: time 0.02219/0.5419, allocations: 8.832 MB / 0.5547 GB, free: 35.11 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Shapes.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1)