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.001517/0.001517, allocations: 111.1 kB / 16.41 MB, free: 6.484 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.001785/0.001786, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.514/1.514, 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.2208/0.2208, allocations: 43.53 MB / 314.1 MB, free: 456 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.00137/0.00137, allocations: 64.23 kB / 441.8 MB, free: 5.688 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1379, allocations: 57.8 MB / 499.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.008951/0.1469, allocations: 8.718 MB / 0.4964 GB, free: 3.047 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004728/0.1516, allocations: 2.251 MB / 0.4986 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008742/0.1525, allocations: 43.94 kB / 0.4986 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002773/0.1553, allocations: 1.526 MB / 0.5001 GB, free: 15.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009313/0.1563, allocations: 493.3 kB / 0.5006 GB, free: 14.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002576/0.1566, allocations: 71.84 kB / 0.5007 GB, free: 14.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009451/0.1575, allocations: 0.9565 MB / 0.5016 GB, free: 13.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001616/0.1592, allocations: 1.502 MB / 0.5031 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005699/0.1597, allocations: 0.541 MB / 0.5036 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008257/0.1606, allocations: 0.6849 MB / 0.5043 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001942/0.1608, allocations: 120 kB / 0.5044 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002941/0.1611, allocations: 120 kB / 0.5045 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007016/0.1618, allocations: 0.7402 MB / 0.5052 GB, free: 9.961 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007242/0.1625, allocations: 0.8619 MB / 0.506 GB, free: 9.094 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001963/0.1645, allocations: 2.331 MB / 0.5083 GB, free: 6.754 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1645, allocations: 0 / 0.5083 GB, free: 6.754 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1645, allocations: 3.938 kB / 0.5083 GB, free: 6.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.02e-05/0.1646, allocations: 0 / 0.5083 GB, free: 6.75 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.00233/0.1669, allocations: 1.959 MB / 0.5102 GB, free: 4.734 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.1669, allocations: 15.89 kB / 0.5103 GB, free: 4.719 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000513/0.1675, allocations: 222.1 kB / 0.5105 GB, free: 4.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009137/0.1684, allocations: 0.7225 MB / 0.5112 GB, free: 3.734 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.991e-05/0.1685, allocations: 115.4 kB / 0.5113 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000164/0.1686, allocations: 152.1 kB / 0.5114 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003584/0.1722, allocations: 3.383 MB / 0.5147 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.956e-05/0.1723, allocations: 15.88 kB / 0.5147 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/0.1724, allocations: 75.88 kB / 0.5148 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006676/0.1731, allocations: 0.6149 MB / 0.5154 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002678/0.1758, allocations: 1.858 MB / 0.5172 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2742/0.45, allocations: 13.47 MB / 0.5304 GB, free: 37.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.482e-05/0.4501, allocations: 171.7 kB / 0.5305 GB, free: 36.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.537e-05/0.4501, allocations: 82.64 kB / 0.5306 GB, free: 36.83 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.4502, allocations: 81.72 kB / 0.5307 GB, free: 36.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.4502, allocations: 106.7 kB / 0.5308 GB, free: 36.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 2.225e-06/0.4502, allocations: 0 / 0.5308 GB, free: 36.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 0.000382/0.4506, allocations: 157.9 kB / 0.531 GB, free: 36.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.4507, allocations: 128 kB / 0.5311 GB, free: 36.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002799/0.4535, allocations: 1.653 MB / 0.5327 GB, free: 36.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.497e-06/0.4535, allocations: 25.7 kB / 0.5327 GB, free: 36.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001046/0.4545, allocations: 1.359 MB / 0.534 GB, free: 35.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.4547, allocations: 44.67 kB / 0.5341 GB, free: 35.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006343/0.4553, allocations: 423.7 kB / 0.5345 GB, free: 35.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.4555, allocations: 361.7 kB / 0.5348 GB, free: 35.1 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007848/0.4563, allocations: 373 kB / 0.5352 GB, free: 35.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001509/0.4578, allocations: 1.93 MB / 0.5371 GB, free: 33.01 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002215/0.46, allocations: 2.509 MB / 0.5395 GB, free: 30.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.617e-05/0.4601, allocations: 16.75 kB / 0.5395 GB, free: 30.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003585/0.4637, allocations: 2.11 MB / 0.5416 GB, free: 30.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.534e-05/0.4638, allocations: 36.64 kB / 0.5416 GB, free: 30.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001021/0.4639, allocations: 57.22 kB / 0.5417 GB, free: 30.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001086/0.464, allocations: 77.64 kB / 0.5418 GB, free: 30.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/0.4654, allocations: 489.3 kB / 0.5422 GB, free: 30.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001626/0.4656, allocations: 108.4 kB / 0.5423 GB, free: 30.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002031/0.4676, allocations: 322.9 kB / 0.5426 GB, free: 29.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002605/0.4679, allocations: 137.4 kB / 0.5428 GB, free: 29.94 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.001525/0.4694, allocations: 0.8691 MB / 0.5436 GB, free: 29.44 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002359/0.4697, allocations: 231.4 kB / 0.5438 GB, free: 29.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002123/0.4699, allocations: 230 kB / 0.5441 GB, free: 29.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.059e-05/0.4699, allocations: 186.4 kB / 0.5442 GB, free: 28.92 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.04e-05/0.47, allocations: 181.7 kB / 0.5444 GB, free: 28.74 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.672e-05/0.47, allocations: 185.9 kB / 0.5446 GB, free: 28.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002945/0.473, allocations: 1.477 MB / 0.546 GB, free: 27.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.273e-05/0.473, allocations: 102.9 kB / 0.5461 GB, free: 27.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.973e-05/0.473, allocations: 106.9 kB / 0.5462 GB, free: 27.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-05/0.4731, allocations: 176.9 kB / 0.5464 GB, free: 27.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.794e-05/0.4731, allocations: 185.9 kB / 0.5466 GB, free: 27.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.585e-05/0.4732, allocations: 181.9 kB / 0.5468 GB, free: 27.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.501e-05/0.4732, allocations: 178.2 kB / 0.5469 GB, free: 26.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004033/0.4737, allocations: 432.8 kB / 0.5473 GB, free: 26.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004159/0.4741, allocations: 294.4 kB / 0.5476 GB, free: 26.17 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002631/0.4744, allocations: 189.8 kB / 0.5478 GB, free: 25.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003424/0.4747, allocations: 107.9 kB / 0.5479 GB, free: 25.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.4748, allocations: 185 kB / 0.5481 GB, free: 25.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.4748, allocations: 110.4 kB / 0.5482 GB, free: 25.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001938/0.4767, allocations: 1.022 MB / 0.5492 GB, free: 25.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4767, allocations: 0 / 0.5492 GB, free: 25.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002199/0.4789, allocations: 431.4 kB / 0.5496 GB, free: 25.09 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.0001775/0.4791, allocations: 169.1 kB / 0.5498 GB, free: 24.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00174/0.4809, allocations: 0.902 MB / 0.5506 GB, free: 24.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.4809, allocations: 0.9688 kB / 0.5506 GB, free: 24.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.358e-06/0.4809, allocations: 1.328 kB / 0.5506 GB, free: 24.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008282/0.4817, allocations: 0.5743 MB / 0.5512 GB, free: 24.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004898/0.4866, allocations: 2.77 MB / 0.5539 GB, free: 22.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001565/0.4882, allocations: 1.581 MB / 0.5555 GB, free: 21.89 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001212/0.4894, allocations: 494.8 kB / 0.5559 GB, free: 21.83 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.4896, allocations: 75.66 kB / 0.556 GB, free: 21.82 MB / 414.1 MB Notification: Performance of SimCode: time 1.302e-06/0.4896, allocations: 0 / 0.556 GB, free: 21.82 MB / 414.1 MB Notification: Performance of Templates: time 0.02112/0.5107, allocations: 8.823 MB / 0.5646 GB, free: 19.16 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)