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.001238/0.001238, allocations: 112.2 kB / 17.08 MB, free: 6.016 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.001164/0.001164, allocations: 191.1 kB / 18.01 MB, free: 5.098 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.414/1.414, allocations: 205.1 MB / 223.9 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.2092/0.2092, allocations: 43.52 MB / 314.8 MB, free: 460 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.00174/0.00174, allocations: 63.89 kB / 442.5 MB, free: 5.688 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1185, allocations: 57.78 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.009821/0.1283, allocations: 8.726 MB / 0.497 GB, free: 3.055 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005249/0.1336, allocations: 2.251 MB / 0.4992 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001555/0.1352, allocations: 39.94 kB / 0.4993 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003214/0.1385, allocations: 1.534 MB / 0.5008 GB, free: 15.22 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001444/0.1399, allocations: 469.3 kB / 0.5012 GB, free: 14.76 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004063/0.1404, allocations: 71.84 kB / 0.5013 GB, free: 14.69 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001515/0.1419, allocations: 0.9449 MB / 0.5022 GB, free: 13.74 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001902/0.1438, allocations: 1.506 MB / 0.5037 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009607/0.1448, allocations: 0.541 MB / 0.5042 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001162/0.146, allocations: 0.6849 MB / 0.5049 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003789/0.1464, allocations: 116 kB / 0.505 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000514/0.1469, allocations: 128 kB / 0.5051 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007986/0.1477, allocations: 0.7363 MB / 0.5058 GB, free: 9.996 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001247/0.1489, allocations: 0.858 MB / 0.5067 GB, free: 9.133 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002485/0.1514, allocations: 2.331 MB / 0.5089 GB, free: 6.793 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1515, allocations: 0 / 0.5089 GB, free: 6.793 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1515, allocations: 0 / 0.5089 GB, free: 6.793 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.723e-05/0.1516, allocations: 3.938 kB / 0.509 GB, free: 6.789 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.00368/0.1553, allocations: 1.971 MB / 0.5109 GB, free: 4.762 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.1553, allocations: 11.89 kB / 0.5109 GB, free: 4.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007312/0.1561, allocations: 214.1 kB / 0.5111 GB, free: 4.539 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.1572, allocations: 0.7225 MB / 0.5118 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.714e-05/0.1573, allocations: 119.4 kB / 0.5119 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001901/0.1575, allocations: 152.1 kB / 0.5121 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004476/0.162, allocations: 3.379 MB / 0.5154 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.575e-05/0.1621, allocations: 11.88 kB / 0.5154 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001524/0.1622, allocations: 75.94 kB / 0.5154 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007048/0.163, allocations: 0.6226 MB / 0.516 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003294/0.1663, allocations: 1.862 MB / 0.5179 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2632/0.4295, allocations: 13.47 MB / 0.531 GB, free: 37.08 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.549e-05/0.4296, allocations: 168.4 kB / 0.5312 GB, free: 36.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.9e-05/0.4297, allocations: 86.52 kB / 0.5313 GB, free: 36.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.4297, allocations: 80.19 kB / 0.5313 GB, free: 36.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.4297, allocations: 107.6 kB / 0.5314 GB, free: 36.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.683e-06/0.4297, allocations: 0 / 0.5314 GB, free: 36.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 0.0003799/0.4301, allocations: 150.9 kB / 0.5316 GB, free: 36.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.4302, allocations: 130.7 kB / 0.5317 GB, free: 36.47 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00302/0.4332, allocations: 1.659 MB / 0.5333 GB, free: 36.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.4332, allocations: 25.7 kB / 0.5334 GB, free: 36.26 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001335/0.4346, allocations: 1.359 MB / 0.5347 GB, free: 35.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.4347, allocations: 45.44 kB / 0.5347 GB, free: 35.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007454/0.4355, allocations: 419.2 kB / 0.5351 GB, free: 35.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.4356, allocations: 358 kB / 0.5355 GB, free: 35.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007416/0.4364, allocations: 376.4 kB / 0.5358 GB, free: 35.08 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001405/0.4378, allocations: 1.924 MB / 0.5377 GB, free: 33 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002261/0.4401, allocations: 2.511 MB / 0.5402 GB, free: 30.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001216/0.4402, allocations: 16.75 kB / 0.5402 GB, free: 30.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.004175/0.4444, allocations: 2.117 MB / 0.5422 GB, free: 30.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.031e-05/0.4445, allocations: 29.25 kB / 0.5423 GB, free: 30.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001415/0.4447, allocations: 58.5 kB / 0.5423 GB, free: 30.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001634/0.4448, allocations: 73.19 kB / 0.5424 GB, free: 30.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/0.4463, allocations: 496.8 kB / 0.5429 GB, free: 30.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001869/0.4465, allocations: 109 kB / 0.543 GB, free: 30.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001953/0.4485, allocations: 324.4 kB / 0.5433 GB, free: 29.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002791/0.4488, allocations: 139.2 kB / 0.5434 GB, free: 29.95 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.001442/0.4502, allocations: 0.8677 MB / 0.5443 GB, free: 29.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002451/0.4505, allocations: 230.9 kB / 0.5445 GB, free: 29.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003053/0.4508, allocations: 230.4 kB / 0.5447 GB, free: 29.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.773e-05/0.4508, allocations: 178 kB / 0.5449 GB, free: 28.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.881e-05/0.4509, allocations: 182.4 kB / 0.545 GB, free: 28.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.235e-05/0.4509, allocations: 182.1 kB / 0.5452 GB, free: 28.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002845/0.4538, allocations: 1.486 MB / 0.5467 GB, free: 27.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.869e-05/0.4538, allocations: 101.9 kB / 0.5468 GB, free: 27.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.688e-05/0.4538, allocations: 103 kB / 0.5469 GB, free: 27.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.063e-05/0.4538, allocations: 182.3 kB / 0.547 GB, free: 27.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.854e-05/0.4539, allocations: 177 kB / 0.5472 GB, free: 27.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.456e-05/0.4539, allocations: 186.5 kB / 0.5474 GB, free: 27.03 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.446e-05/0.4539, allocations: 178.4 kB / 0.5476 GB, free: 26.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003135/0.4543, allocations: 432.8 kB / 0.548 GB, free: 26.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003709/0.4546, allocations: 294.2 kB / 0.5482 GB, free: 26.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002416/0.4549, allocations: 182.7 kB / 0.5484 GB, free: 26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003479/0.4552, allocations: 107.1 kB / 0.5485 GB, free: 25.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.4553, allocations: 186.4 kB / 0.5487 GB, free: 25.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.4553, allocations: 113.7 kB / 0.5488 GB, free: 25.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001747/0.4571, allocations: 1.02 MB / 0.5498 GB, free: 25.22 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4571, allocations: 0 / 0.5498 GB, free: 25.22 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002275/0.4594, allocations: 427.8 kB / 0.5502 GB, free: 25.1 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.0001684/0.4595, allocations: 173.8 kB / 0.5504 GB, free: 24.94 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001815/0.4614, allocations: 0.8981 MB / 0.5513 GB, free: 24.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.4614, allocations: 1.125 kB / 0.5513 GB, free: 24.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.258e-06/0.4614, allocations: 5.562 kB / 0.5513 GB, free: 24.63 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.4625, allocations: 0.5791 MB / 0.5518 GB, free: 24.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00651/0.4691, allocations: 2.942 MB / 0.5547 GB, free: 22.67 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002074/0.4712, allocations: 1.585 MB / 0.5563 GB, free: 21.79 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002501/0.4714, allocations: 90.97 kB / 0.5563 GB, free: 21.78 MB / 414.1 MB Notification: Performance of SimCode: time 9.31e-07/0.4715, allocations: 1.062 kB / 0.5563 GB, free: 21.78 MB / 414.1 MB Notification: Performance of Templates: time 0.03169/0.5032, allocations: 17.97 MB / 0.5739 GB, free: 11.62 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)