Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001165/0.001164, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00147/0.00147, allocations: 190.1 kB / 16.25 MB, free: 6.625 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.679/1.679, allocations: 205.1 MB / 222.1 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3399/0.3399, allocations: 37.97 MB / 307.4 MB, free: 10.07 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.1. 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.001427/0.001427, allocations: 66.41 kB / 374.7 MB, free: 15.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1336, allocations: 56.47 MB / 431.2 MB, free: 6.98 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.2648/0.3985, allocations: 40.22 MB / 471.4 MB, free: 32.58 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01594/0.4145, allocations: 7.281 MB / 478.7 MB, free: 28.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00973/0.4243, allocations: 160.5 kB / 478.9 MB, free: 28.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002895/0.4272, allocations: 1.479 MB / 480.3 MB, free: 27.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001287/0.4285, allocations: 430.8 kB / 480.8 MB, free: 27.6 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002672/0.4288, allocations: 65.84 kB / 480.8 MB, free: 27.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008743/0.4297, allocations: 0.9522 MB / 481.8 MB, free: 27.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001424/0.4311, allocations: 1.609 MB / 483.4 MB, free: 26.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005713/0.4317, allocations: 0.543 MB / 483.9 MB, free: 26.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006984/0.4324, allocations: 0.7561 MB / 484.7 MB, free: 25.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001473/0.4326, allocations: 116.9 kB / 484.8 MB, free: 25.9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002855/0.4329, allocations: 130.7 kB / 484.9 MB, free: 25.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004768/0.4334, allocations: 0.7469 MB / 485.7 MB, free: 25.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005657/0.4339, allocations: 0.8627 MB / 486.5 MB, free: 25.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001575/0.4355, allocations: 2.245 MB / 488.8 MB, free: 24.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.4355, allocations: 0 / 488.8 MB, free: 24.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4356, allocations: 3.188 kB / 488.8 MB, free: 24.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.755e-05/0.4356, allocations: 0 / 488.8 MB, free: 24.14 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.002159/0.4378, allocations: 1.958 MB / 490.7 MB, free: 22.87 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.4378, allocations: 13.11 kB / 490.8 MB, free: 22.87 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005931/0.4384, allocations: 211.7 kB / 491 MB, free: 22.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007856/0.4392, allocations: 0.7248 MB / 491.7 MB, free: 22.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.587e-05/0.4393, allocations: 114.1 kB / 491.8 MB, free: 22.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/0.4394, allocations: 150.9 kB / 491.9 MB, free: 22.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003317/0.4428, allocations: 3.387 MB / 495.3 MB, free: 20.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.866e-05/0.4428, allocations: 17.5 kB / 495.3 MB, free: 20.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/0.4429, allocations: 73.5 kB / 495.4 MB, free: 20.26 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006134/0.4435, allocations: 0.6152 MB / 496 MB, free: 20.15 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003492/0.447, allocations: 1.862 MB / 497.9 MB, free: 19.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01234/0.4594, allocations: 13.54 MB / 0.4994 GB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.707e-05/0.4595, allocations: 175 kB / 0.4996 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.078e-05/0.4595, allocations: 80.14 kB / 0.4997 GB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.4596, allocations: 76.38 kB / 0.4998 GB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.4596, allocations: 118.5 kB / 0.4999 GB, free: 8.223 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.853e-06/0.4596, allocations: 4 kB / 0.4999 GB, free: 8.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.000265/0.4599, allocations: 152.6 kB / 0.5 GB, free: 8.117 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.4599, allocations: 126.7 kB / 0.5001 GB, free: 7.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002408/0.4623, allocations: 1.653 MB / 0.5018 GB, free: 7.344 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.4624, allocations: 26.5 kB / 0.5018 GB, free: 7.312 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008918/0.4633, allocations: 1.359 MB / 0.5031 GB, free: 6.234 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.932e-05/0.4633, allocations: 45.3 kB / 0.5032 GB, free: 6.219 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005045/0.4638, allocations: 421.7 kB / 0.5036 GB, free: 6.004 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.464, allocations: 360.1 kB / 0.5039 GB, free: 5.676 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006131/0.4646, allocations: 372.8 kB / 0.5043 GB, free: 5.574 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001418/0.466, allocations: 1.928 MB / 0.5061 GB, free: 3.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00197/0.468, allocations: 2.511 MB / 0.5086 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.726e-05/0.468, allocations: 16.59 kB / 0.5086 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003473/0.4715, allocations: 2.113 MB / 0.5107 GB, free: 15.7 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.69e-05/0.4716, allocations: 33.45 kB / 0.5107 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.87e-05/0.4717, allocations: 57.06 kB / 0.5108 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.115e-05/0.4718, allocations: 74.19 kB / 0.5108 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/0.4729, allocations: 486.5 kB / 0.5113 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001228/0.4731, allocations: 109.9 kB / 0.5114 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001569/0.4747, allocations: 326.6 kB / 0.5117 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001639/0.4748, allocations: 138.8 kB / 0.5118 GB, free: 15.38 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.001278/0.4761, allocations: 0.8619 MB / 0.5127 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002372/0.4764, allocations: 227.5 kB / 0.5129 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002352/0.4766, allocations: 233.9 kB / 0.5131 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.542e-05/0.4767, allocations: 177.9 kB / 0.5133 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.918e-05/0.4768, allocations: 178.3 kB / 0.5135 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.73e-05/0.4768, allocations: 186.2 kB / 0.5136 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002079/0.4789, allocations: 1.473 MB / 0.5151 GB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.413e-05/0.479, allocations: 110.5 kB / 0.5152 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.442e-05/0.479, allocations: 110.9 kB / 0.5153 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.468e-05/0.4791, allocations: 178.2 kB / 0.5155 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.115e-05/0.4792, allocations: 186.5 kB / 0.5156 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.644e-05/0.4792, allocations: 177.2 kB / 0.5158 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-05/0.4793, allocations: 185.5 kB / 0.516 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002705/0.4796, allocations: 433 kB / 0.5164 GB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003203/0.4799, allocations: 301.5 kB / 0.5167 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001686/0.4801, allocations: 178.5 kB / 0.5168 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002934/0.4804, allocations: 106.7 kB / 0.517 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.71e-05/0.4805, allocations: 182.1 kB / 0.5171 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-05/0.4805, allocations: 102.9 kB / 0.5172 GB, free: 11.03 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001416/0.4819, allocations: 1.02 MB / 0.5182 GB, free: 10.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4819, allocations: 3.938 kB / 0.5182 GB, free: 10.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001899/0.4838, allocations: 436.4 kB / 0.5186 GB, free: 10.53 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.0001911/0.484, allocations: 177.2 kB / 0.5188 GB, free: 10.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001465/0.4855, allocations: 0.9001 MB / 0.5197 GB, free: 10.06 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4855, allocations: 0 / 0.5197 GB, free: 10.06 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.875e-06/0.4855, allocations: 0 / 0.5197 GB, free: 10.06 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008886/0.4864, allocations: 0.575 MB / 0.5202 GB, free: 9.547 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004973/0.4914, allocations: 3.583 MB / 0.5237 GB, free: 7.398 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001576/0.493, allocations: 1.576 MB / 0.5253 GB, free: 6.516 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001348/0.4944, allocations: 493 kB / 0.5258 GB, free: 6.457 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.4945, allocations: 76.03 kB / 0.5258 GB, free: 6.449 MB / 398.1 MB Notification: Performance of SimCode: time 1.031e-06/0.4945, allocations: 0 / 0.5258 GB, free: 6.449 MB / 398.1 MB Notification: Performance of Templates: time 0.0175/0.512, allocations: 8.383 MB / 0.534 GB, free: 1.113 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Shapes.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1)