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.001237/0.001237, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001261/0.001261, allocations: 192.1 kB / 16.13 MB, free: 6.707 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.71/1.71, allocations: 205.1 MB / 222 MB, free: 4.766 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.4013/0.4013, allocations: 39.95 MB / 309.3 MB, free: 9.652 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.001682/0.001682, allocations: 66.56 kB / 376.9 MB, free: 13.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1638, allocations: 56.89 MB / 433.8 MB, free: 4.414 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.3333/0.4972, allocations: 40.22 MB / 474 MB, free: 30.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01986/0.5171, allocations: 7.313 MB / 481.3 MB, free: 26.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01279/0.53, allocations: 164.6 kB / 481.5 MB, free: 26.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00412/0.5342, allocations: 1.528 MB / 483 MB, free: 25.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002189/0.5364, allocations: 439.8 kB / 483.5 MB, free: 25.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003893/0.5368, allocations: 67.72 kB / 483.5 MB, free: 25.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00207/0.5389, allocations: 1.618 MB / 485.1 MB, free: 24.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001897/0.5408, allocations: 1.582 MB / 486.7 MB, free: 24.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006743/0.5415, allocations: 0.5064 MB / 487.2 MB, free: 23.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008283/0.5423, allocations: 0.7423 MB / 488 MB, free: 23.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001663/0.5425, allocations: 106.8 kB / 488.1 MB, free: 23.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003361/0.5429, allocations: 131.7 kB / 488.2 MB, free: 23.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000559/0.5434, allocations: 0.732 MB / 488.9 MB, free: 23.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006058/0.544, allocations: 0.8559 MB / 489.8 MB, free: 22.72 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001639/0.5457, allocations: 2.215 MB / 492 MB, free: 21.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.5457, allocations: 1.312 kB / 492 MB, free: 21.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.5457, allocations: 0 / 492 MB, free: 21.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.835e-05/0.5458, allocations: 3.312 kB / 492 MB, free: 21.86 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.002428/0.5482, allocations: 1.959 MB / 494 MB, free: 20.58 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.5482, allocations: 13.94 kB / 494 MB, free: 20.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000585/0.5488, allocations: 213.5 kB / 494.2 MB, free: 20.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009323/0.5498, allocations: 0.7156 MB / 494.9 MB, free: 19.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.777e-05/0.5499, allocations: 115.8 kB / 495 MB, free: 19.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001566/0.55, allocations: 151.5 kB / 495.2 MB, free: 19.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003928/0.554, allocations: 3.386 MB / 498.6 MB, free: 18.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.316e-05/0.554, allocations: 14.31 kB / 498.6 MB, free: 18.03 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001264/0.5542, allocations: 73.84 kB / 498.6 MB, free: 17.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009244/0.5551, allocations: 0.613 MB / 499.3 MB, free: 17.87 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003795/0.5589, allocations: 1.869 MB / 0.4894 GB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01747/0.5764, allocations: 13.52 MB / 0.5026 GB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.596e-05/0.5765, allocations: 175.2 kB / 0.5027 GB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.166e-05/0.5766, allocations: 84.17 kB / 0.5028 GB, free: 6.145 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.5766, allocations: 79.94 kB / 0.5029 GB, free: 6.066 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/0.5766, allocations: 110.9 kB / 0.503 GB, free: 5.949 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 3.727e-06/0.5767, allocations: 0 / 0.503 GB, free: 5.949 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.0003527/0.577, allocations: 152.2 kB / 0.5032 GB, free: 5.848 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.266e-05/0.5771, allocations: 133 kB / 0.5033 GB, free: 5.707 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00274/0.5798, allocations: 1.656 MB / 0.5049 GB, free: 5.066 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.5799, allocations: 25.7 kB / 0.5049 GB, free: 5.035 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001276/0.5811, allocations: 1.356 MB / 0.5062 GB, free: 3.961 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.3e-05/0.5812, allocations: 43.88 kB / 0.5063 GB, free: 3.945 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006497/0.5819, allocations: 422.3 kB / 0.5067 GB, free: 3.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.5821, allocations: 360.3 kB / 0.507 GB, free: 3.402 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007014/0.5828, allocations: 372.9 kB / 0.5074 GB, free: 3.301 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001692/0.5845, allocations: 1.929 MB / 0.5093 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00296/0.5875, allocations: 2.506 MB / 0.5117 GB, free: 14.28 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.745e-05/0.5875, allocations: 16.66 kB / 0.5117 GB, free: 14.28 MB / 398.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.004363/0.5919, allocations: 2.12 MB / 0.5138 GB, free: 13.42 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.945e-05/0.592, allocations: 28.84 kB / 0.5138 GB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001068/0.5921, allocations: 57.91 kB / 0.5139 GB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001285/0.5922, allocations: 73.98 kB / 0.514 GB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/0.5936, allocations: 487.2 kB / 0.5144 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001325/0.5937, allocations: 108.2 kB / 0.5145 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001907/0.5956, allocations: 325.1 kB / 0.5148 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001954/0.5958, allocations: 143.3 kB / 0.515 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.001595/0.5974, allocations: 0.8628 MB / 0.5158 GB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003062/0.5978, allocations: 230.9 kB / 0.516 GB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002729/0.598, allocations: 226.7 kB / 0.5163 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.839e-05/0.5981, allocations: 186.1 kB / 0.5164 GB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.608e-05/0.5982, allocations: 177 kB / 0.5166 GB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.45e-05/0.5983, allocations: 182.4 kB / 0.5168 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002619/0.6009, allocations: 1.474 MB / 0.5182 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.35e-05/0.601, allocations: 106.5 kB / 0.5183 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.121e-05/0.601, allocations: 109.5 kB / 0.5184 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.47e-05/0.6011, allocations: 189.8 kB / 0.5186 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.621e-05/0.6012, allocations: 178.1 kB / 0.5188 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.696e-05/0.6013, allocations: 177.9 kB / 0.5189 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.214e-05/0.6014, allocations: 186.6 kB / 0.5191 GB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003385/0.6017, allocations: 433.2 kB / 0.5195 GB, free: 9.617 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004286/0.6021, allocations: 297.2 kB / 0.5198 GB, free: 9.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001674/0.6023, allocations: 179.3 kB / 0.52 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003094/0.6026, allocations: 106.4 kB / 0.5201 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.013e-05/0.6027, allocations: 183.5 kB / 0.5203 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.552e-05/0.6028, allocations: 108.9 kB / 0.5204 GB, free: 8.754 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001628/0.6044, allocations: 1.022 MB / 0.5214 GB, free: 8.387 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6044, allocations: 0 / 0.5214 GB, free: 8.387 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002436/0.6069, allocations: 428.1 kB / 0.5218 GB, free: 8.266 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.000201/0.6071, allocations: 176.2 kB / 0.5219 GB, free: 8.098 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001674/0.6087, allocations: 0.899 MB / 0.5228 GB, free: 7.797 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.6088, allocations: 4.062 kB / 0.5228 GB, free: 7.793 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.419e-06/0.6088, allocations: 1.375 kB / 0.5228 GB, free: 7.793 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.6099, allocations: 0.645 MB / 0.5235 GB, free: 7.199 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005359/0.6152, allocations: 3.583 MB / 0.527 GB, free: 5.051 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001478/0.6168, allocations: 1.576 MB / 0.5285 GB, free: 4.168 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001303/0.6181, allocations: 494.8 kB / 0.529 GB, free: 4.109 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.6182, allocations: 77.09 kB / 0.529 GB, free: 4.098 MB / 398.1 MB Notification: Performance of SimCode: time 3.377e-06/0.6182, allocations: 2.25 kB / 0.529 GB, free: 4.098 MB / 398.1 MB Notification: Performance of Templates: time 0.01784/0.636, allocations: 8.098 MB / 0.5369 GB, free: 12.82 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)