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.005948/0.005949, allocations: 100.1 kB / 15.87 MB, free: 6.309 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.001328/0.001328, allocations: 195.5 kB / 16.79 MB, free: 6.238 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.624/1.624, allocations: 205.1 MB / 222.6 MB, free: 4.734 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3553/0.3553, allocations: 43.49 MB / 313.5 MB, free: 8.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: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 71.12 kB / 382 MB, free: 8.496 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1484, allocations: 57.79 MB / 439.8 MB, free: 14.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.2744/0.4228, allocations: 40.22 MB / 480 MB, free: 26.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01811/0.441, allocations: 7.315 MB / 487.3 MB, free: 22.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01322/0.4543, allocations: 167.5 kB / 487.5 MB, free: 22.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003168/0.4575, allocations: 1.514 MB / 489 MB, free: 21.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001581/0.4591, allocations: 451.9 kB / 489.5 MB, free: 21.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002815/0.4594, allocations: 60.05 kB / 489.5 MB, free: 21.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001438/0.4609, allocations: 1.629 MB / 491.2 MB, free: 20.47 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001605/0.4625, allocations: 1.579 MB / 492.7 MB, free: 19.9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005557/0.463, allocations: 0.5073 MB / 493.2 MB, free: 19.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007891/0.4638, allocations: 0.7446 MB / 494 MB, free: 19.35 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000173/0.464, allocations: 108.5 kB / 494.1 MB, free: 19.35 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003548/0.4644, allocations: 124.9 kB / 494.2 MB, free: 19.33 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005911/0.465, allocations: 0.7354 MB / 494.9 MB, free: 19.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008538/0.4658, allocations: 0.8453 MB / 495.8 MB, free: 18.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002607/0.4685, allocations: 2.224 MB / 498 MB, free: 17.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.4685, allocations: 4 kB / 498 MB, free: 17.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4685, allocations: 1.062 kB / 498 MB, free: 17.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.681e-05/0.4686, allocations: 0 / 498 MB, free: 17.61 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.003319/0.4719, allocations: 1.957 MB / 500 MB, free: 16.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.472, allocations: 12.64 kB / 500 MB, free: 16.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007247/0.4727, allocations: 212.2 kB / 0.4885 GB, free: 16.22 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.4737, allocations: 0.7169 MB / 0.4892 GB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.068e-05/0.4738, allocations: 121.2 kB / 0.4893 GB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001894/0.474, allocations: 149 kB / 0.4894 GB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004318/0.4783, allocations: 3.38 MB / 0.4927 GB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.66e-05/0.4784, allocations: 17.16 kB / 0.4928 GB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/0.4785, allocations: 74.28 kB / 0.4928 GB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008367/0.4794, allocations: 0.6135 MB / 0.4934 GB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003016/0.4824, allocations: 1.86 MB / 0.4952 GB, free: 13.01 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01025/0.4926, allocations: 13.53 MB / 0.5085 GB, free: 2.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.546e-05/0.4927, allocations: 171.4 kB / 0.5086 GB, free: 2.004 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.168e-05/0.4928, allocations: 84.08 kB / 0.5087 GB, free: 1.918 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.4928, allocations: 80.75 kB / 0.5088 GB, free: 1.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.4928, allocations: 110.5 kB / 0.5089 GB, free: 1.723 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.753e-06/0.4928, allocations: 0 / 0.5089 GB, free: 1.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002276/0.4931, allocations: 149.2 kB / 0.509 GB, free: 1.625 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.4931, allocations: 126.7 kB / 0.5091 GB, free: 1.488 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00204/0.4951, allocations: 1.658 MB / 0.5108 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.722e-06/0.4952, allocations: 25.7 kB / 0.5108 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007682/0.4959, allocations: 1.363 MB / 0.5121 GB, free: 15.73 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.281e-05/0.496, allocations: 44 kB / 0.5122 GB, free: 15.71 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004366/0.4964, allocations: 426.3 kB / 0.5126 GB, free: 15.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.4966, allocations: 355.4 kB / 0.5129 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005841/0.4972, allocations: 376.7 kB / 0.5133 GB, free: 15.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001569/0.4988, allocations: 1.93 MB / 0.5151 GB, free: 12.74 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002276/0.501, allocations: 2.51 MB / 0.5176 GB, free: 10.05 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.118e-05/0.5011, allocations: 16.34 kB / 0.5176 GB, free: 10.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.00327/0.5044, allocations: 2.112 MB / 0.5197 GB, free: 9.195 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.663e-05/0.5044, allocations: 30.31 kB / 0.5197 GB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.785e-05/0.5045, allocations: 61.89 kB / 0.5198 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.49e-05/0.5046, allocations: 73.06 kB / 0.5198 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/0.5058, allocations: 492.5 kB / 0.5203 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001139/0.5059, allocations: 109 kB / 0.5204 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/0.5075, allocations: 321.2 kB / 0.5207 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001639/0.5077, allocations: 138.2 kB / 0.5208 GB, free: 8.879 MB / 398.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.001402/0.5091, allocations: 0.8667 MB / 0.5217 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002114/0.5093, allocations: 232.3 kB / 0.5219 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002148/0.5095, allocations: 224.8 kB / 0.5221 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.77e-05/0.5096, allocations: 183.7 kB / 0.5223 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.795e-05/0.5097, allocations: 180.8 kB / 0.5225 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.481e-05/0.5097, allocations: 185 kB / 0.5227 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001875/0.5116, allocations: 1.483 MB / 0.5241 GB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.531e-05/0.5117, allocations: 103.5 kB / 0.5242 GB, free: 6.617 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.666e-05/0.5117, allocations: 108.9 kB / 0.5243 GB, free: 6.504 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.732e-05/0.5118, allocations: 178.4 kB / 0.5245 GB, free: 6.324 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.986e-05/0.5118, allocations: 182.7 kB / 0.5246 GB, free: 6.141 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.334e-05/0.5119, allocations: 184.2 kB / 0.5248 GB, free: 5.953 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.432e-05/0.5119, allocations: 181.1 kB / 0.525 GB, free: 5.773 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.5122, allocations: 427.9 kB / 0.5254 GB, free: 5.387 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002375/0.5124, allocations: 297.5 kB / 0.5257 GB, free: 5.109 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001594/0.5126, allocations: 186.8 kB / 0.5259 GB, free: 4.922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002549/0.5129, allocations: 103.1 kB / 0.526 GB, free: 4.816 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.94e-05/0.5129, allocations: 182.6 kB / 0.5261 GB, free: 4.633 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.55e-05/0.513, allocations: 106.9 kB / 0.5262 GB, free: 4.523 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001139/0.5141, allocations: 1.015 MB / 0.5272 GB, free: 4.16 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5141, allocations: 0 / 0.5272 GB, free: 4.16 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001747/0.5159, allocations: 427.6 kB / 0.5276 GB, free: 4.039 MB / 398.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.0001702/0.516, allocations: 182.7 kB / 0.5278 GB, free: 3.867 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001372/0.5174, allocations: 0.8983 MB / 0.5287 GB, free: 3.477 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.5174, allocations: 0 / 0.5287 GB, free: 3.477 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.5e-06/0.5174, allocations: 4 kB / 0.5287 GB, free: 3.473 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.5185, allocations: 0.6555 MB / 0.5293 GB, free: 2.824 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006006/0.5245, allocations: 3.592 MB / 0.5328 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001353/0.5259, allocations: 1.576 MB / 0.5344 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001294/0.5272, allocations: 495.4 kB / 0.5349 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.5273, allocations: 75.44 kB / 0.5349 GB, free: 13.19 MB / 414.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5273, allocations: 0 / 0.5349 GB, free: 13.19 MB / 414.1 MB Notification: Performance of Templates: time 0.01816/0.5455, allocations: 8.09 MB / 0.5428 GB, free: 5.156 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)