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.001333/0.001332, 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.001307/0.001307, allocations: 189.6 kB / 16.25 MB, free: 6.629 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.769/1.769, allocations: 205.1 MB / 222.1 MB, free: 4.73 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.3487/0.3487, allocations: 39.93 MB / 309.4 MB, free: 9.332 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.001616/0.001616, allocations: 63.91 kB / 377.1 MB, free: 13.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1502, allocations: 56.88 MB / 434 MB, free: 4.027 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.3243/0.4746, allocations: 40.22 MB / 474.2 MB, free: 30.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01998/0.4947, allocations: 7.278 MB / 481.5 MB, free: 26.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01215/0.5068, allocations: 160.4 kB / 481.6 MB, free: 26.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003814/0.5108, allocations: 1.481 MB / 483.1 MB, free: 25.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002308/0.5132, allocations: 432.7 kB / 483.5 MB, free: 25.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003796/0.5136, allocations: 61.2 kB / 483.6 MB, free: 25.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001431/0.515, allocations: 0.9526 MB / 484.6 MB, free: 24.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001674/0.5167, allocations: 1.624 MB / 486.2 MB, free: 24.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007394/0.5175, allocations: 0.5419 MB / 486.7 MB, free: 23.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000824/0.5183, allocations: 0.7532 MB / 487.5 MB, free: 23.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001641/0.5185, allocations: 117.5 kB / 487.6 MB, free: 23.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003078/0.5188, allocations: 129.9 kB / 487.7 MB, free: 23.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005179/0.5193, allocations: 0.7401 MB / 488.5 MB, free: 23.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006812/0.52, allocations: 0.8677 MB / 489.3 MB, free: 22.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002219/0.5222, allocations: 2.239 MB / 491.6 MB, free: 21.87 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.017e-05/0.5223, allocations: 0 / 491.6 MB, free: 21.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.427e-06/0.5223, allocations: 0 / 491.6 MB, free: 21.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.483e-05/0.5223, allocations: 0 / 491.6 MB, free: 21.87 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.003337/0.5257, allocations: 1.969 MB / 493.5 MB, free: 20.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.395e-05/0.5257, allocations: 13.33 kB / 493.5 MB, free: 20.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006234/0.5264, allocations: 222 kB / 493.8 MB, free: 20.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.5274, allocations: 0.7123 MB / 494.5 MB, free: 19.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.019e-05/0.5275, allocations: 120 kB / 494.6 MB, free: 19.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000164/0.5277, allocations: 150.1 kB / 494.7 MB, free: 19.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004165/0.5318, allocations: 3.378 MB / 498.1 MB, free: 18.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.799e-05/0.5319, allocations: 19.06 kB / 498.1 MB, free: 18.03 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001296/0.532, allocations: 77.59 kB / 498.2 MB, free: 17.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009732/0.533, allocations: 0.6152 MB / 498.8 MB, free: 17.87 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004245/0.5373, allocations: 1.862 MB / 0.489 GB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01679/0.5541, allocations: 13.53 MB / 0.5022 GB, free: 6.418 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.5542, allocations: 174.8 kB / 0.5023 GB, free: 6.238 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.831e-05/0.5543, allocations: 80.14 kB / 0.5024 GB, free: 6.156 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.5543, allocations: 76.03 kB / 0.5025 GB, free: 6.082 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.495e-05/0.5543, allocations: 111.3 kB / 0.5026 GB, free: 5.965 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 3.416e-06/0.5544, allocations: 0 / 0.5026 GB, free: 5.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.0005643/0.5549, allocations: 155.7 kB / 0.5027 GB, free: 5.859 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/0.555, allocations: 128.7 kB / 0.5029 GB, free: 5.723 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003613/0.5586, allocations: 1.661 MB / 0.5045 GB, free: 5.078 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.5587, allocations: 29.64 kB / 0.5045 GB, free: 5.043 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001755/0.5604, allocations: 1.357 MB / 0.5058 GB, free: 3.969 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/0.5606, allocations: 43.84 kB / 0.5059 GB, free: 3.953 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001197/0.5618, allocations: 425.6 kB / 0.5063 GB, free: 3.734 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002681/0.5621, allocations: 355.7 kB / 0.5066 GB, free: 3.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001163/0.5633, allocations: 372.6 kB / 0.507 GB, free: 3.309 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00242/0.5657, allocations: 1.932 MB / 0.5089 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003678/0.5694, allocations: 2.507 MB / 0.5113 GB, free: 14.29 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001238/0.5695, allocations: 16.41 kB / 0.5113 GB, free: 14.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.00523/0.5748, allocations: 2.118 MB / 0.5134 GB, free: 13.43 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.132e-05/0.5749, allocations: 29.69 kB / 0.5134 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001344/0.575, allocations: 56.91 kB / 0.5135 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00015/0.5752, allocations: 73.53 kB / 0.5135 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/0.5768, allocations: 490.7 kB / 0.514 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002513/0.577, allocations: 116.1 kB / 0.5141 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002568/0.5796, allocations: 327.8 kB / 0.5144 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002949/0.5799, allocations: 138.8 kB / 0.5146 GB, free: 13.11 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.001928/0.5819, allocations: 0.862 MB / 0.5154 GB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004441/0.5823, allocations: 228.8 kB / 0.5156 GB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000396/0.5827, allocations: 229.3 kB / 0.5158 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-05/0.5828, allocations: 182 kB / 0.516 GB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.974e-05/0.5829, allocations: 180.9 kB / 0.5162 GB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.106e-05/0.583, allocations: 178 kB / 0.5164 GB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00383/0.5868, allocations: 1.473 MB / 0.5178 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.872e-05/0.5869, allocations: 111.7 kB / 0.5179 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.528e-05/0.5869, allocations: 108.9 kB / 0.518 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.779e-05/0.587, allocations: 186.7 kB / 0.5182 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.906e-05/0.5871, allocations: 178.3 kB / 0.5184 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-05/0.5872, allocations: 182.2 kB / 0.5185 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.736e-05/0.5872, allocations: 178 kB / 0.5187 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005084/0.5878, allocations: 437.4 kB / 0.5191 GB, free: 9.621 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006301/0.5884, allocations: 296.4 kB / 0.5194 GB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004252/0.5888, allocations: 182.5 kB / 0.5196 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004761/0.5893, allocations: 104.5 kB / 0.5197 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.006e-05/0.5894, allocations: 176.9 kB / 0.5198 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.525e-05/0.5895, allocations: 110.2 kB / 0.5199 GB, free: 8.766 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001937/0.5914, allocations: 1.024 MB / 0.5209 GB, free: 8.395 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5914, allocations: 0 / 0.5209 GB, free: 8.395 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002674/0.5941, allocations: 427.8 kB / 0.5214 GB, free: 8.273 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.000213/0.5943, allocations: 174.7 kB / 0.5215 GB, free: 8.109 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002033/0.5964, allocations: 0.8985 MB / 0.5224 GB, free: 7.809 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.5964, allocations: 448 / 0.5224 GB, free: 7.809 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.588e-06/0.5964, allocations: 9.188 kB / 0.5224 GB, free: 7.801 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001787/0.5982, allocations: 0.5747 MB / 0.523 GB, free: 7.281 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008363/0.6066, allocations: 3.59 MB / 0.5265 GB, free: 5.125 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00251/0.6091, allocations: 1.579 MB / 0.528 GB, free: 4.238 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001582/0.6107, allocations: 492.4 kB / 0.5285 GB, free: 4.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002388/0.611, allocations: 75.16 kB / 0.5286 GB, free: 4.172 MB / 398.1 MB Notification: Performance of SimCode: time 2.124e-06/0.611, allocations: 7.938 kB / 0.5286 GB, free: 4.164 MB / 398.1 MB Notification: Performance of Templates: time 0.02096/0.632, allocations: 8.371 MB / 0.5367 GB, free: 12.94 MB / 414.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)