Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.002238/0.002238, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002458/0.002458, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.757/1.757, allocations: 205.1 MB / 222.4 MB, free: 4.59 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.347/0.347, allocations: 39.94 MB / 309.7 MB, free: 9.273 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.2. 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.001805/0.001805, allocations: 70.39 kB / 377.6 MB, free: 12.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1502, allocations: 56.89 MB / 434.5 MB, free: 3.695 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01063/0.1609, allocations: 8.72 MB / 443.2 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006945/0.1679, allocations: 2.239 MB / 445.5 MB, free: 8.688 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00137/0.1693, allocations: 39.94 kB / 445.5 MB, free: 8.648 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002925/0.1723, allocations: 1.534 MB / 447 MB, free: 7.109 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001073/0.1734, allocations: 473.2 kB / 447.5 MB, free: 6.645 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002877/0.1737, allocations: 71.89 kB / 447.6 MB, free: 6.574 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001034/0.1747, allocations: 0.941 MB / 448.5 MB, free: 5.629 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00161/0.1763, allocations: 1.51 MB / 450 MB, free: 4.094 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006193/0.177, allocations: 0.5449 MB / 450.6 MB, free: 3.547 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008186/0.1778, allocations: 0.6811 MB / 451.2 MB, free: 2.863 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001712/0.178, allocations: 120 kB / 451.4 MB, free: 2.746 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000333/0.1783, allocations: 131.9 kB / 451.5 MB, free: 2.617 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000729/0.1791, allocations: 0.7363 MB / 452.2 MB, free: 1.879 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008422/0.1799, allocations: 0.858 MB / 453.1 MB, free: 1.016 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2814/0.4613, allocations: 2.223 MB / 455.3 MB, free: 39.67 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.423e-05/0.4614, allocations: 3.688 kB / 455.3 MB, free: 39.67 MB / 382.1 MB Notification: Performance of FrontEnd: time 6.171e-06/0.4614, allocations: 2.75 kB / 455.3 MB, free: 39.67 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001883/0.4616, allocations: 0 / 455.3 MB, free: 39.67 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.004267/0.4659, allocations: 1.955 MB / 457.3 MB, free: 38.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.09e-05/0.466, allocations: 12.33 kB / 457.3 MB, free: 38.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007702/0.4668, allocations: 212.6 kB / 457.5 MB, free: 38.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.4678, allocations: 0.7216 MB / 458.2 MB, free: 38.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.773e-05/0.4679, allocations: 115.4 kB / 458.3 MB, free: 38.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001436/0.468, allocations: 149.9 kB / 458.5 MB, free: 38.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003453/0.4715, allocations: 3.386 MB / 461.8 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.521e-05/0.4716, allocations: 15.88 kB / 461.9 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001396/0.4717, allocations: 74.94 kB / 461.9 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008055/0.4725, allocations: 0.6134 MB / 462.6 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002882/0.4754, allocations: 1.858 MB / 464.4 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009581/0.485, allocations: 13.53 MB / 477.9 MB, free: 26.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.333e-05/0.4852, allocations: 168.5 kB / 478.1 MB, free: 26.67 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.157e-05/0.4852, allocations: 81.45 kB / 478.2 MB, free: 26.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.4852, allocations: 79.28 kB / 478.3 MB, free: 26.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.4852, allocations: 112.9 kB / 478.4 MB, free: 26.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 2.104e-06/0.4853, allocations: 0 / 478.4 MB, free: 26.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002359/0.4855, allocations: 159.5 kB / 478.5 MB, free: 26.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.4855, allocations: 126.7 kB / 478.6 MB, free: 26.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001593/0.4871, allocations: 1.656 MB / 480.3 MB, free: 25.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.126e-06/0.4872, allocations: 27.86 kB / 480.3 MB, free: 25.49 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006307/0.4878, allocations: 1.366 MB / 481.7 MB, free: 24.44 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.18e-05/0.4878, allocations: 42.12 kB / 481.7 MB, free: 24.42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004014/0.4882, allocations: 423.5 kB / 482.2 MB, free: 24.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.4884, allocations: 359.8 kB / 482.5 MB, free: 23.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004704/0.4889, allocations: 369.5 kB / 482.9 MB, free: 23.78 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001233/0.4901, allocations: 1.937 MB / 484.8 MB, free: 21.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002125/0.4922, allocations: 2.509 MB / 487.3 MB, free: 19.03 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.606e-05/0.4923, allocations: 15.94 kB / 487.3 MB, free: 19.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003171/0.4955, allocations: 2.108 MB / 489.4 MB, free: 18.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.107e-05/0.4955, allocations: 35.31 kB / 489.5 MB, free: 18.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.94e-05/0.4956, allocations: 60.19 kB / 489.5 MB, free: 18.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.565e-05/0.4957, allocations: 77.81 kB / 489.6 MB, free: 18.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/0.4968, allocations: 487.3 kB / 490.1 MB, free: 18.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.631e-05/0.4969, allocations: 107.7 kB / 490.2 MB, free: 18.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/0.4984, allocations: 320.7 kB / 490.5 MB, free: 18.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.4985, allocations: 137 kB / 490.6 MB, free: 18.29 MB / 382.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.001121/0.4996, allocations: 0.8659 MB / 491.5 MB, free: 17.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.4998, allocations: 226.3 kB / 491.7 MB, free: 17.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001636/0.4999, allocations: 233.5 kB / 491.9 MB, free: 17.51 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.491e-05/0.5, allocations: 176.3 kB / 492.1 MB, free: 17.33 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.509e-05/0.5, allocations: 179.2 kB / 492.3 MB, free: 17.15 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.1e-05/0.5, allocations: 188.2 kB / 492.5 MB, free: 16.96 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001451/0.5015, allocations: 1.474 MB / 494 MB, free: 16.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-05/0.5015, allocations: 104.9 kB / 494.1 MB, free: 16.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.688e-05/0.5016, allocations: 107.2 kB / 494.2 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.771e-05/0.5016, allocations: 180.2 kB / 494.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.201e-05/0.5017, allocations: 182.4 kB / 494.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.46e-05/0.5017, allocations: 187.2 kB / 494.7 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.016e-05/0.5017, allocations: 183.8 kB / 494.9 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000194/0.5019, allocations: 427.7 kB / 495.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002305/0.5022, allocations: 297.6 kB / 495.6 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/0.5023, allocations: 183.3 kB / 495.8 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000252/0.5026, allocations: 110.2 kB / 495.9 MB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.357e-05/0.5026, allocations: 185.5 kB / 496.1 MB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.5027, allocations: 109 kB / 496.2 MB, free: 13.99 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0012/0.5039, allocations: 1.016 MB / 497.2 MB, free: 13.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5039, allocations: 0 / 497.2 MB, free: 13.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001806/0.5057, allocations: 432.1 kB / 497.6 MB, free: 13.5 MB / 382.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.0001968/0.5059, allocations: 180 kB / 497.8 MB, free: 13.33 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001384/0.5073, allocations: 0.8995 MB / 498.7 MB, free: 13.03 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.5073, allocations: 0 / 498.7 MB, free: 13.03 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.895e-06/0.5073, allocations: 1.094 kB / 498.7 MB, free: 13.03 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000766/0.5081, allocations: 0.5734 MB / 499.2 MB, free: 12.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004998/0.5131, allocations: 2.806 MB / 0.4903 GB, free: 11.15 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001311/0.5144, allocations: 1.58 MB / 0.4918 GB, free: 10.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001203/0.5156, allocations: 493.4 kB / 0.4923 GB, free: 10.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.5158, allocations: 73.84 kB / 0.4924 GB, free: 10.2 MB / 382.1 MB Notification: Performance of SimCode: time 8.42e-07/0.5158, allocations: 0 / 0.4924 GB, free: 10.2 MB / 382.1 MB Notification: Performance of Templates: time 0.02968/0.5455, allocations: 8.389 MB / 0.5006 GB, free: 9.602 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Shapes.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1)