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.001552/0.001551, allocations: 103.7 kB / 16.41 MB, free: 6.445 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.001687/0.001686, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.559/1.559, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2152/0.2152, allocations: 43.53 MB / 314.1 MB, free: 444 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.001712/0.001712, allocations: 69.47 kB / 441.8 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1324, allocations: 57.78 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.009909/0.1424, allocations: 8.725 MB / 0.4964 GB, free: 3.031 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004703/0.1471, allocations: 2.255 MB / 0.4986 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009656/0.1481, allocations: 43.94 kB / 0.4986 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003041/0.1512, allocations: 1.526 MB / 0.5001 GB, free: 15.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00129/0.1525, allocations: 493.3 kB / 0.5006 GB, free: 14.71 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.1528, allocations: 71.84 kB / 0.5007 GB, free: 14.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001125/0.1539, allocations: 0.9487 MB / 0.5016 GB, free: 13.69 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001516/0.1555, allocations: 1.506 MB / 0.5031 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006226/0.1561, allocations: 0.5449 MB / 0.5036 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000854/0.157, allocations: 0.681 MB / 0.5043 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001886/0.1572, allocations: 120 kB / 0.5044 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002975/0.1575, allocations: 120 kB / 0.5045 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006848/0.1582, allocations: 0.7402 MB / 0.5052 GB, free: 9.945 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007771/0.159, allocations: 0.8619 MB / 0.506 GB, free: 9.078 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002062/0.161, allocations: 2.335 MB / 0.5083 GB, free: 6.734 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.161, allocations: 0 / 0.5083 GB, free: 6.734 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.161, allocations: 0 / 0.5083 GB, free: 6.734 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.457e-05/0.1611, allocations: 0 / 0.5083 GB, free: 6.734 MB / 398.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.002376/0.1635, allocations: 1.963 MB / 0.5102 GB, free: 4.719 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.1635, allocations: 11.89 kB / 0.5103 GB, free: 4.707 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005227/0.164, allocations: 226 kB / 0.5105 GB, free: 4.484 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009868/0.165, allocations: 0.7264 MB / 0.5112 GB, free: 3.715 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.502e-05/0.1651, allocations: 115.4 kB / 0.5113 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001936/0.1653, allocations: 148.1 kB / 0.5114 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004813/0.1702, allocations: 3.387 MB / 0.5147 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-05/0.1702, allocations: 19.81 kB / 0.5148 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001522/0.1704, allocations: 71.94 kB / 0.5148 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000853/0.1713, allocations: 0.611 MB / 0.5154 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003451/0.1747, allocations: 1.862 MB / 0.5172 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2845/0.4593, allocations: 13.47 MB / 0.5304 GB, free: 37.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.155e-05/0.4594, allocations: 169.7 kB / 0.5306 GB, free: 37.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.476e-05/0.4594, allocations: 85.89 kB / 0.5306 GB, free: 37.44 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.4594, allocations: 79.03 kB / 0.5307 GB, free: 37.37 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.4595, allocations: 107 kB / 0.5308 GB, free: 37.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 2.345e-06/0.4595, allocations: 0 / 0.5308 GB, free: 37.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 0.0003599/0.4598, allocations: 150.5 kB / 0.531 GB, free: 37.22 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.4599, allocations: 129.9 kB / 0.5311 GB, free: 37.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002334/0.4622, allocations: 1.657 MB / 0.5327 GB, free: 36.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.4623, allocations: 25.7 kB / 0.5327 GB, free: 36.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009169/0.4632, allocations: 1.363 MB / 0.5341 GB, free: 36.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.208e-05/0.4632, allocations: 42.12 kB / 0.5341 GB, free: 36.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005697/0.4638, allocations: 421.2 kB / 0.5345 GB, free: 36.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.464, allocations: 357 kB / 0.5348 GB, free: 35.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005658/0.4645, allocations: 376.1 kB / 0.5352 GB, free: 35.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/0.4659, allocations: 1.931 MB / 0.5371 GB, free: 33.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002227/0.4681, allocations: 2.505 MB / 0.5395 GB, free: 31.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.903e-05/0.4681, allocations: 16.78 kB / 0.5395 GB, free: 31.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003187/0.4713, allocations: 2.119 MB / 0.5416 GB, free: 30.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.801e-05/0.4714, allocations: 28.84 kB / 0.5416 GB, free: 30.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.987e-05/0.4715, allocations: 57.12 kB / 0.5417 GB, free: 30.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.732e-05/0.4716, allocations: 73.59 kB / 0.5418 GB, free: 30.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.4728, allocations: 487.4 kB / 0.5422 GB, free: 30.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001275/0.4729, allocations: 113.1 kB / 0.5423 GB, free: 30.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/0.4745, allocations: 329.3 kB / 0.5427 GB, free: 30.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001646/0.4747, allocations: 141 kB / 0.5428 GB, free: 30.21 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.001235/0.4759, allocations: 0.866 MB / 0.5436 GB, free: 29.72 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00024/0.4762, allocations: 229.2 kB / 0.5439 GB, free: 29.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002677/0.4765, allocations: 234.8 kB / 0.5441 GB, free: 29.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-05/0.4765, allocations: 177.3 kB / 0.5442 GB, free: 29.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-05/0.4766, allocations: 186.6 kB / 0.5444 GB, free: 29.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.001e-05/0.4766, allocations: 181.3 kB / 0.5446 GB, free: 28.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002394/0.479, allocations: 1.482 MB / 0.546 GB, free: 28.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-05/0.479, allocations: 107.1 kB / 0.5461 GB, free: 27.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.584e-05/0.4791, allocations: 103.4 kB / 0.5462 GB, free: 27.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.864e-05/0.4791, allocations: 180.2 kB / 0.5464 GB, free: 27.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.779e-05/0.4792, allocations: 179.8 kB / 0.5466 GB, free: 27.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-05/0.4792, allocations: 180.9 kB / 0.5468 GB, free: 27.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.159e-05/0.4792, allocations: 182.4 kB / 0.5469 GB, free: 27.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002058/0.4794, allocations: 433.7 kB / 0.5473 GB, free: 26.72 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002803/0.4797, allocations: 292.7 kB / 0.5476 GB, free: 26.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/0.4799, allocations: 186.1 kB / 0.5478 GB, free: 26.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002744/0.4801, allocations: 103.6 kB / 0.5479 GB, free: 26.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.964e-05/0.4802, allocations: 189.8 kB / 0.5481 GB, free: 25.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/0.4802, allocations: 111.5 kB / 0.5482 GB, free: 25.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001528/0.4818, allocations: 1.02 MB / 0.5492 GB, free: 25.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4818, allocations: 0 / 0.5492 GB, free: 25.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002347/0.4841, allocations: 431.7 kB / 0.5496 GB, free: 25.36 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.0002388/0.4844, allocations: 169.4 kB / 0.5498 GB, free: 25.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001747/0.4861, allocations: 0.9036 MB / 0.5506 GB, free: 24.9 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.4861, allocations: 0 / 0.5506 GB, free: 24.9 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.707e-06/0.4862, allocations: 0 / 0.5506 GB, free: 24.9 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008126/0.487, allocations: 0.5776 MB / 0.5512 GB, free: 24.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005769/0.4928, allocations: 2.763 MB / 0.5539 GB, free: 23.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001587/0.4944, allocations: 1.582 MB / 0.5554 GB, free: 22.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001288/0.4957, allocations: 496.3 kB / 0.5559 GB, free: 22.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/0.4958, allocations: 76.27 kB / 0.556 GB, free: 22.1 MB / 414.1 MB Notification: Performance of SimCode: time 1.113e-06/0.4958, allocations: 0 / 0.556 GB, free: 22.1 MB / 414.1 MB Notification: Performance of Templates: time 0.02195/0.5178, allocations: 8.83 MB / 0.5646 GB, free: 19.38 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)