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.001194/0.001199, allocations: 98.77 kB / 15.05 MB, free: 1.105 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.001245/0.001244, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.815/1.815, allocations: 205.4 MB / 222.1 MB, free: 5.75 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.3603/0.3603, allocations: 38.05 MB / 308.4 MB, free: 10.34 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.0007011/0.0007014, allocations: 20 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1487, allocations: 57.53 MB / 433.9 MB, free: 5.582 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.3065/0.4553, allocations: 34.44 MB / 468.4 MB, free: 32.65 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0193/0.4747, allocations: 7.347 MB / 475.7 MB, free: 30.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00954/0.4842, allocations: 159.9 kB / 475.9 MB, free: 30.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006809/0.4911, allocations: 1.705 MB / 477.6 MB, free: 30.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0183/0.5094, allocations: 4.832 MB / 482.4 MB, free: 28.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001771/0.5112, allocations: 97.52 kB / 482.5 MB, free: 28.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001659/0.5129, allocations: 0.6085 MB / 483.1 MB, free: 28.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002385/0.5153, allocations: 1.708 MB / 484.8 MB, free: 27.76 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005663/0.5159, allocations: 302.1 kB / 485.1 MB, free: 27.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000592/0.5165, allocations: 348.6 kB / 485.4 MB, free: 27.49 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001744/0.5167, allocations: 44.84 kB / 485.5 MB, free: 27.49 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002734/0.517, allocations: 39.84 kB / 485.5 MB, free: 27.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004839/0.5175, allocations: 0.5823 MB / 486.1 MB, free: 27.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003517/0.5178, allocations: 342 kB / 486.4 MB, free: 27.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001301/0.5191, allocations: 1.769 MB / 488.2 MB, free: 26.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.5191, allocations: 0 / 488.2 MB, free: 26.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5191, allocations: 0 / 488.2 MB, free: 26.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001026/0.5193, allocations: 4 kB / 488.2 MB, free: 26.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.002504/0.5218, allocations: 1.631 MB / 489.8 MB, free: 25.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.5218, allocations: 9.469 kB / 489.9 MB, free: 25.6 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000662/0.5225, allocations: 220 kB / 490.1 MB, free: 25.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/0.5237, allocations: 0.7108 MB / 490.8 MB, free: 24.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/0.5238, allocations: 113.1 kB / 490.9 MB, free: 24.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002273/0.5241, allocations: 155 kB / 491 MB, free: 24.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004488/0.5285, allocations: 3.358 MB / 494.4 MB, free: 23.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.441e-05/0.5286, allocations: 18.12 kB / 494.4 MB, free: 23.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001658/0.5288, allocations: 72.81 kB / 494.5 MB, free: 23.01 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000719/0.5295, allocations: 0.6206 MB / 495.1 MB, free: 22.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003156/0.5327, allocations: 1.841 MB / 497 MB, free: 22.26 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01441/0.5471, allocations: 13.52 MB / 0.4985 GB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.434e-05/0.5472, allocations: 171.1 kB / 0.4987 GB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.5473, allocations: 79.28 kB / 0.4987 GB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.5473, allocations: 111.9 kB / 0.4989 GB, free: 11.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 2.265e-06/0.5473, allocations: 3.938 kB / 0.4989 GB, free: 11.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.0004038/0.5477, allocations: 148 kB / 0.499 GB, free: 10.97 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.5478, allocations: 127.4 kB / 0.4991 GB, free: 10.83 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003125/0.5509, allocations: 1.641 MB / 0.5007 GB, free: 10.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.5509, allocations: 25.7 kB / 0.5007 GB, free: 10.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001154/0.5521, allocations: 1.368 MB / 0.5021 GB, free: 9.078 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.5522, allocations: 45.66 kB / 0.5021 GB, free: 9.062 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.684e-05/0.5523, allocations: 39.97 kB / 0.5022 GB, free: 9.031 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002664/0.5526, allocations: 440.1 kB / 0.5026 GB, free: 8.668 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008383/0.5534, allocations: 364.2 kB / 0.5029 GB, free: 8.566 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001824/0.5553, allocations: 1.916 MB / 0.5048 GB, free: 6.238 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/0.5567, allocations: 0.7745 MB / 0.5056 GB, free: 5.914 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.898e-05/0.5568, allocations: 15.97 kB / 0.5056 GB, free: 5.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.005215/0.5621, allocations: 2.101 MB / 0.5076 GB, free: 5.059 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.432e-05/0.5622, allocations: 29.08 kB / 0.5077 GB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001852/0.5624, allocations: 57.66 kB / 0.5077 GB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001876/0.5626, allocations: 82.09 kB / 0.5078 GB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001592/0.5642, allocations: 486.9 kB / 0.5082 GB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000173/0.5644, allocations: 109.3 kB / 0.5084 GB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002025/0.5664, allocations: 330.1 kB / 0.5087 GB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002543/0.5667, allocations: 137.9 kB / 0.5088 GB, free: 4.742 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001823/0.5685, allocations: 0.8684 MB / 0.5096 GB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003502/0.5689, allocations: 231.1 kB / 0.5099 GB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004644/0.5693, allocations: 234.6 kB / 0.5101 GB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.222e-05/0.5694, allocations: 178.2 kB / 0.5103 GB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-05/0.5694, allocations: 181 kB / 0.5104 GB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-05/0.5695, allocations: 182.9 kB / 0.5106 GB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003012/0.5725, allocations: 1.476 MB / 0.5121 GB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001225/0.5726, allocations: 111 kB / 0.5122 GB, free: 18.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.637e-05/0.5727, allocations: 101.5 kB / 0.5123 GB, free: 18.37 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.282e-05/0.5727, allocations: 179 kB / 0.5124 GB, free: 18.19 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.916e-05/0.5728, allocations: 189.4 kB / 0.5126 GB, free: 18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-05/0.5729, allocations: 181.9 kB / 0.5128 GB, free: 17.82 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.488e-05/0.5729, allocations: 186.1 kB / 0.513 GB, free: 17.63 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003819/0.5733, allocations: 425.1 kB / 0.5134 GB, free: 17.25 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005344/0.5739, allocations: 304.2 kB / 0.5137 GB, free: 16.96 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003824/0.5743, allocations: 178.9 kB / 0.5138 GB, free: 16.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004218/0.5747, allocations: 111.3 kB / 0.5139 GB, free: 16.67 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.04e-05/0.5748, allocations: 181.9 kB / 0.5141 GB, free: 16.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.674e-05/0.5748, allocations: 106 kB / 0.5142 GB, free: 16.38 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001895/0.5767, allocations: 1.01 MB / 0.5152 GB, free: 16.01 MB / 398.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.5767, allocations: 1.25 kB / 0.5152 GB, free: 16.01 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002247/0.579, allocations: 427.3 kB / 0.5156 GB, free: 15.89 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00016/0.5792, allocations: 173.8 kB / 0.5158 GB, free: 15.72 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001673/0.5808, allocations: 0.8895 MB / 0.5166 GB, free: 15.42 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.5808, allocations: 0.9375 kB / 0.5166 GB, free: 15.42 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.266e-06/0.5809, allocations: 0.5156 kB / 0.5166 GB, free: 15.42 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000918/0.5818, allocations: 0.6436 MB / 0.5173 GB, free: 14.83 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005989/0.5878, allocations: 3.397 MB / 0.5206 GB, free: 12.87 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001802/0.5896, allocations: 1.613 MB / 0.5222 GB, free: 11.98 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001363/0.591, allocations: 498.5 kB / 0.5226 GB, free: 11.8 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.5911, allocations: 74.31 kB / 0.5227 GB, free: 11.8 MB / 398.1 MB Notification: Performance of SimCode: time 9.81e-07/0.5912, allocations: 2.344 kB / 0.5227 GB, free: 11.8 MB / 398.1 MB Notification: Performance of Templates: time 0.01937/0.6105, allocations: 7.905 MB / 0.5304 GB, free: 7.25 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Shapes.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: