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.00125/0.00125, allocations: 119.2 kB / 17.08 MB, free: 5.969 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.001211/0.001211, allocations: 197.2 kB / 18.02 MB, free: 5.047 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.455/1.455, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.52 MB / 314.8 MB, free: 452 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.001673/0.001673, allocations: 77.45 kB / 442.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1238, allocations: 57.78 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.009841/0.1337, allocations: 8.726 MB / 0.497 GB, free: 3.031 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00496/0.1387, allocations: 2.251 MB / 0.4992 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001456/0.1402, allocations: 43.94 kB / 0.4993 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003221/0.1434, allocations: 1.53 MB / 0.5008 GB, free: 15.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001481/0.145, allocations: 469.2 kB / 0.5012 GB, free: 14.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003855/0.1454, allocations: 71.89 kB / 0.5013 GB, free: 14.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001512/0.1469, allocations: 0.941 MB / 0.5022 GB, free: 13.72 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00196/0.1489, allocations: 1.51 MB / 0.5037 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009179/0.1498, allocations: 0.541 MB / 0.5042 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001142/0.151, allocations: 0.681 MB / 0.5049 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000369/0.1514, allocations: 120 kB / 0.505 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005368/0.1519, allocations: 127.9 kB / 0.5051 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008244/0.1527, allocations: 0.7363 MB / 0.5058 GB, free: 9.973 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001268/0.154, allocations: 0.858 MB / 0.5067 GB, free: 9.109 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002562/0.1566, allocations: 2.339 MB / 0.509 GB, free: 6.762 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.1566, allocations: 0 / 0.509 GB, free: 6.762 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.1566, allocations: 0 / 0.509 GB, free: 6.762 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001245/0.1568, allocations: 3.938 kB / 0.509 GB, free: 6.758 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.003424/0.1602, allocations: 1.959 MB / 0.5109 GB, free: 4.742 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.1602, allocations: 11.89 kB / 0.5109 GB, free: 4.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005676/0.1608, allocations: 214.1 kB / 0.5111 GB, free: 4.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.1618, allocations: 0.7263 MB / 0.5118 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.197e-05/0.1619, allocations: 115.4 kB / 0.5119 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001701/0.1621, allocations: 156.1 kB / 0.5121 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003864/0.166, allocations: 3.379 MB / 0.5154 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.78e-05/0.166, allocations: 19.81 kB / 0.5154 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/0.1662, allocations: 67.95 kB / 0.5154 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006682/0.1668, allocations: 0.6227 MB / 0.5161 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002759/0.1696, allocations: 1.858 MB / 0.5179 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2496/0.4192, allocations: 13.47 MB / 0.531 GB, free: 37.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.438e-05/0.4193, allocations: 173 kB / 0.5312 GB, free: 36.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.106e-05/0.4193, allocations: 80.94 kB / 0.5313 GB, free: 36.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.4194, allocations: 84.06 kB / 0.5313 GB, free: 36.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.4194, allocations: 106.4 kB / 0.5314 GB, free: 36.65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 2.124e-06/0.4194, allocations: 4.594 kB / 0.5314 GB, free: 36.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 0.0003794/0.4198, allocations: 148.2 kB / 0.5316 GB, free: 36.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.4198, allocations: 129 kB / 0.5317 GB, free: 36.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002201/0.422, allocations: 1.656 MB / 0.5333 GB, free: 36.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.743e-06/0.422, allocations: 25.7 kB / 0.5334 GB, free: 36.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007576/0.4228, allocations: 1.362 MB / 0.5347 GB, free: 35.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.454e-05/0.4229, allocations: 45.75 kB / 0.5347 GB, free: 35.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004314/0.4233, allocations: 422.8 kB / 0.5351 GB, free: 35.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.4234, allocations: 360.9 kB / 0.5355 GB, free: 35.1 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005367/0.424, allocations: 370.4 kB / 0.5358 GB, free: 35.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001152/0.4251, allocations: 1.928 MB / 0.5377 GB, free: 33.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001858/0.427, allocations: 2.511 MB / 0.5402 GB, free: 30.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.272e-05/0.4271, allocations: 16.69 kB / 0.5402 GB, free: 30.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003196/0.4303, allocations: 2.119 MB / 0.5422 GB, free: 30.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.558e-05/0.4303, allocations: 30.53 kB / 0.5423 GB, free: 30.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.615e-05/0.4304, allocations: 57.41 kB / 0.5423 GB, free: 30.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.232e-05/0.4305, allocations: 76.84 kB / 0.5424 GB, free: 30.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/0.4317, allocations: 489.3 kB / 0.5429 GB, free: 30.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.876e-05/0.4318, allocations: 108.5 kB / 0.543 GB, free: 30.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/0.4333, allocations: 322.4 kB / 0.5433 GB, free: 29.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001628/0.4335, allocations: 138.6 kB / 0.5434 GB, free: 29.91 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.001131/0.4346, allocations: 0.8721 MB / 0.5443 GB, free: 29.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002156/0.4348, allocations: 226.6 kB / 0.5445 GB, free: 29.24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000237/0.4351, allocations: 234.8 kB / 0.5447 GB, free: 29.08 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.538e-05/0.4351, allocations: 178.4 kB / 0.5449 GB, free: 28.9 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.897e-05/0.4351, allocations: 177.5 kB / 0.545 GB, free: 28.72 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.797e-05/0.4352, allocations: 190.1 kB / 0.5452 GB, free: 28.53 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002038/0.4372, allocations: 1.478 MB / 0.5467 GB, free: 27.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.708e-05/0.4372, allocations: 107 kB / 0.5468 GB, free: 27.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.677e-05/0.4373, allocations: 102.8 kB / 0.5469 GB, free: 27.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.673e-05/0.4373, allocations: 178.2 kB / 0.547 GB, free: 27.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.931e-05/0.4373, allocations: 182.8 kB / 0.5472 GB, free: 27.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.634e-05/0.4374, allocations: 182.4 kB / 0.5474 GB, free: 27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.38e-05/0.4374, allocations: 180.8 kB / 0.5476 GB, free: 26.81 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002057/0.4376, allocations: 429 kB / 0.548 GB, free: 26.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002871/0.4379, allocations: 298.5 kB / 0.5483 GB, free: 26.15 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/0.438, allocations: 185.9 kB / 0.5484 GB, free: 25.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002689/0.4383, allocations: 108.9 kB / 0.5485 GB, free: 25.86 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.4383, allocations: 181.1 kB / 0.5487 GB, free: 25.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.4384, allocations: 114.8 kB / 0.5488 GB, free: 25.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001414/0.4398, allocations: 1.016 MB / 0.5498 GB, free: 25.19 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4398, allocations: 3.938 kB / 0.5498 GB, free: 25.19 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001957/0.4418, allocations: 428 kB / 0.5502 GB, free: 25.07 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.0001546/0.4419, allocations: 177.6 kB / 0.5504 GB, free: 24.9 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001689/0.4436, allocations: 0.8934 MB / 0.5513 GB, free: 24.6 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.4436, allocations: 2 kB / 0.5513 GB, free: 24.6 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.026e-06/0.4437, allocations: 1.375 kB / 0.5513 GB, free: 24.6 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009285/0.4446, allocations: 0.576 MB / 0.5518 GB, free: 24.08 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005061/0.4497, allocations: 2.949 MB / 0.5547 GB, free: 22.63 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001385/0.4511, allocations: 1.579 MB / 0.5563 GB, free: 21.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/0.4513, allocations: 92.09 kB / 0.5563 GB, free: 21.75 MB / 414.1 MB Notification: Performance of SimCode: time 6.22e-07/0.4513, allocations: 0 / 0.5563 GB, free: 21.75 MB / 414.1 MB Notification: Performance of Templates: time 0.02886/0.4802, allocations: 18.22 MB / 0.5741 GB, free: 11.3 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)