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.001095/0.001095, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.009629/0.009629, allocations: 168.7 kB / 16.26 MB, free: 6.652 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.832/1.832, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.4037/0.4037, allocations: 40 MB / 310.7 MB, free: 9.914 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.0005483/0.0005483, allocations: 12 kB / 379.4 MB, free: 12.26 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1203, allocations: 57.96 MB / 437.4 MB, free: 2.199 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.3118/0.4321, allocations: 39.12 MB / 476.5 MB, free: 29.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02195/0.4542, allocations: 7.276 MB / 483.8 MB, free: 25.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009763/0.464, allocations: 160.5 kB / 484 MB, free: 25.87 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009855/0.465, allocations: 188.2 kB / 484.1 MB, free: 25.78 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001527/0.4666, allocations: 441.6 kB / 484.6 MB, free: 25.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002897/0.4669, allocations: 68.61 kB / 484.6 MB, free: 25.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001553/0.4684, allocations: 1.621 MB / 486.3 MB, free: 24.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002311/0.4707, allocations: 1.884 MB / 488.1 MB, free: 24.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005457/0.4713, allocations: 367.7 kB / 488.5 MB, free: 24.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006829/0.472, allocations: 0.56 MB / 489.1 MB, free: 23.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.755e-05/0.4721, allocations: 45.5 kB / 489.1 MB, free: 23.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002396/0.4723, allocations: 53.16 kB / 489.2 MB, free: 23.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004537/0.4728, allocations: 0.6456 MB / 489.8 MB, free: 23.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004879/0.4733, allocations: 0.7693 MB / 490.6 MB, free: 23.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001426/0.4747, allocations: 2.139 MB / 492.7 MB, free: 22.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.4747, allocations: 0 / 492.7 MB, free: 22.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.4748, allocations: 0 / 492.7 MB, free: 22.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.277e-05/0.4748, allocations: 0 / 492.7 MB, free: 22.38 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.001882/0.4767, allocations: 1.608 MB / 494.3 MB, free: 21.31 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.4768, allocations: 8.219 kB / 494.3 MB, free: 21.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005209/0.4773, allocations: 217.1 kB / 494.5 MB, free: 21.19 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008424/0.4781, allocations: 0.7201 MB / 495.3 MB, free: 20.69 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.594e-05/0.4782, allocations: 116 kB / 495.4 MB, free: 20.63 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/0.4784, allocations: 149.6 kB / 495.5 MB, free: 20.58 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003414/0.4818, allocations: 3.386 MB / 498.9 MB, free: 18.76 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.386e-05/0.4819, allocations: 24.92 kB / 498.9 MB, free: 18.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/0.482, allocations: 73.39 kB / 499 MB, free: 18.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00064/0.4826, allocations: 0.623 MB / 499.6 MB, free: 18.58 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003241/0.4859, allocations: 1.852 MB / 0.4897 GB, free: 17.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01459/0.5005, allocations: 13.52 MB / 0.5029 GB, free: 7.137 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.197e-05/0.5006, allocations: 170.5 kB / 0.5031 GB, free: 6.961 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.156e-05/0.5007, allocations: 80.14 kB / 0.5032 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.5007, allocations: 75.89 kB / 0.5032 GB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/0.5007, allocations: 119.2 kB / 0.5034 GB, free: 6.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 4.148e-06/0.5007, allocations: 4 kB / 0.5034 GB, free: 6.676 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.0003377/0.5011, allocations: 148.7 kB / 0.5035 GB, free: 6.578 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/0.5011, allocations: 131.3 kB / 0.5036 GB, free: 6.438 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00295/0.5041, allocations: 1.654 MB / 0.5052 GB, free: 5.801 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.5041, allocations: 25.7 kB / 0.5053 GB, free: 5.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001253/0.5054, allocations: 1.361 MB / 0.5066 GB, free: 4.691 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.13e-05/0.5055, allocations: 43.91 kB / 0.5066 GB, free: 4.676 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002666/0.5057, allocations: 184.2 kB / 0.5068 GB, free: 4.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.5059, allocations: 359.4 kB / 0.5072 GB, free: 4.262 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005976/0.5065, allocations: 372.5 kB / 0.5075 GB, free: 4.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001897/0.5084, allocations: 1.933 MB / 0.5094 GB, free: 1.832 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002436/0.5108, allocations: 2.507 MB / 0.5118 GB, free: 15.14 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.593e-05/0.5109, allocations: 17.36 kB / 0.5119 GB, free: 15.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003864/0.5147, allocations: 2.112 MB / 0.5139 GB, free: 14.29 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.107e-05/0.5148, allocations: 28.75 kB / 0.514 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.984e-05/0.5149, allocations: 57.19 kB / 0.514 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001099/0.515, allocations: 77.89 kB / 0.5141 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/0.5163, allocations: 494.8 kB / 0.5146 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001279/0.5164, allocations: 112.6 kB / 0.5147 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001755/0.5182, allocations: 326.3 kB / 0.515 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001815/0.5184, allocations: 138.9 kB / 0.5151 GB, free: 13.96 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.001539/0.52, allocations: 0.8618 MB / 0.5159 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002659/0.5202, allocations: 231.6 kB / 0.5162 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002322/0.5205, allocations: 230.6 kB / 0.5164 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.755e-05/0.5205, allocations: 177.9 kB / 0.5166 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.948e-05/0.5206, allocations: 181.6 kB / 0.5167 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-05/0.5207, allocations: 178.2 kB / 0.5169 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002279/0.523, allocations: 1.482 MB / 0.5183 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.186e-05/0.523, allocations: 109.7 kB / 0.5184 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.538e-05/0.5231, allocations: 107 kB / 0.5186 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.525e-05/0.5232, allocations: 182.6 kB / 0.5187 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-05/0.5232, allocations: 180.9 kB / 0.5189 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.113e-05/0.5233, allocations: 181.9 kB / 0.5191 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.87e-05/0.5234, allocations: 178.5 kB / 0.5192 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003406/0.5238, allocations: 437 kB / 0.5197 GB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003909/0.5242, allocations: 300 kB / 0.5199 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001721/0.5244, allocations: 182.7 kB / 0.5201 GB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002958/0.5247, allocations: 103.6 kB / 0.5202 GB, free: 9.902 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.838e-05/0.5247, allocations: 182.3 kB / 0.5204 GB, free: 9.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.636e-05/0.5248, allocations: 109.5 kB / 0.5205 GB, free: 9.605 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001575/0.5264, allocations: 1.016 MB / 0.5215 GB, free: 9.242 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5264, allocations: 0 / 0.5215 GB, free: 9.242 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002176/0.5286, allocations: 432.1 kB / 0.5219 GB, free: 9.117 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.0002175/0.5288, allocations: 184.7 kB / 0.5221 GB, free: 8.941 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001716/0.5305, allocations: 0.8947 MB / 0.523 GB, free: 8.645 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5305, allocations: 0 / 0.523 GB, free: 8.645 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.697e-06/0.5305, allocations: 2.062 kB / 0.523 GB, free: 8.645 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009301/0.5315, allocations: 0.6479 MB / 0.5236 GB, free: 8.047 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005537/0.537, allocations: 3.603 MB / 0.5271 GB, free: 5.902 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001526/0.5386, allocations: 1.58 MB / 0.5286 GB, free: 5.016 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001251/0.5398, allocations: 496.9 kB / 0.5291 GB, free: 4.953 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.54, allocations: 75.53 kB / 0.5292 GB, free: 4.945 MB / 398.1 MB Notification: Performance of SimCode: time 1.343e-06/0.54, allocations: 0 / 0.5292 GB, free: 4.945 MB / 398.1 MB Notification: Performance of Templates: time 0.01886/0.5588, allocations: 8.056 MB / 0.5371 GB, free: 14.92 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Shapes.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: