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.001359/0.001359, 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.001512/0.001512, allocations: 194.5 kB / 16.14 MB, free: 6.66 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.788/1.788, allocations: 205.1 MB / 222 MB, free: 4.742 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.4285/0.4285, allocations: 37.98 MB / 307.3 MB, free: 10.03 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.001345/0.001345, allocations: 68.14 kB / 374.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1394, allocations: 56.46 MB / 431 MB, free: 7.074 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.3193/0.4587, allocations: 40.22 MB / 471.2 MB, free: 32.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02288/0.4816, allocations: 7.312 MB / 478.5 MB, free: 28.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01355/0.4953, allocations: 161.2 kB / 478.7 MB, free: 28.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003688/0.4991, allocations: 1.53 MB / 480.2 MB, free: 27.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002276/0.5014, allocations: 443.7 kB / 480.7 MB, free: 27.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005926/0.502, allocations: 68.08 kB / 480.7 MB, free: 27.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002431/0.5044, allocations: 1.62 MB / 482.3 MB, free: 26.97 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001748/0.5062, allocations: 1.574 MB / 483.9 MB, free: 26.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006999/0.5069, allocations: 0.5052 MB / 484.4 MB, free: 26.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008216/0.5078, allocations: 0.7489 MB / 485.2 MB, free: 25.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000154/0.5079, allocations: 106.9 kB / 485.3 MB, free: 25.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003498/0.5083, allocations: 128 kB / 485.4 MB, free: 25.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005518/0.5088, allocations: 0.7283 MB / 486.1 MB, free: 25.58 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006822/0.5095, allocations: 0.8605 MB / 487 MB, free: 24.99 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001731/0.5113, allocations: 2.213 MB / 489.2 MB, free: 24.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.5113, allocations: 3.281 kB / 489.2 MB, free: 24.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.5113, allocations: 0 / 489.2 MB, free: 24.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.365e-05/0.5113, allocations: 3.938 kB / 489.2 MB, free: 24.12 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.002474/0.5138, allocations: 1.971 MB / 491.2 MB, free: 22.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.5139, allocations: 9.844 kB / 491.2 MB, free: 22.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006046/0.5145, allocations: 206.9 kB / 491.4 MB, free: 22.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009043/0.5154, allocations: 0.7228 MB / 492.1 MB, free: 22.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.179e-05/0.5155, allocations: 113.4 kB / 492.2 MB, free: 22.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/0.5156, allocations: 147.3 kB / 492.4 MB, free: 22.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003728/0.5194, allocations: 3.387 MB / 495.8 MB, free: 20.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.745e-05/0.5194, allocations: 13.88 kB / 495.8 MB, free: 20.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/0.5196, allocations: 76.16 kB / 495.8 MB, free: 20.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007799/0.5203, allocations: 0.6199 MB / 496.5 MB, free: 20.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003894/0.5242, allocations: 1.862 MB / 498.3 MB, free: 19.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01201/0.5363, allocations: 13.53 MB / 0.4999 GB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.917e-05/0.5364, allocations: 167.5 kB / 0.5 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.276e-05/0.5364, allocations: 80.14 kB / 0.5001 GB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.5364, allocations: 76.59 kB / 0.5002 GB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.5365, allocations: 110.6 kB / 0.5003 GB, free: 8.219 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 2.574e-06/0.5365, allocations: 4 kB / 0.5003 GB, free: 8.215 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.0003234/0.5368, allocations: 151.5 kB / 0.5004 GB, free: 8.113 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.5369, allocations: 128.8 kB / 0.5005 GB, free: 7.977 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002471/0.5393, allocations: 1.657 MB / 0.5022 GB, free: 7.336 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.5394, allocations: 25.7 kB / 0.5022 GB, free: 7.305 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001287/0.5407, allocations: 1.359 MB / 0.5035 GB, free: 6.227 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.707e-05/0.5408, allocations: 45.58 kB / 0.5036 GB, free: 6.211 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008195/0.5416, allocations: 420.9 kB / 0.504 GB, free: 5.996 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002447/0.5418, allocations: 363.9 kB / 0.5043 GB, free: 5.664 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007969/0.5427, allocations: 369.1 kB / 0.5047 GB, free: 5.566 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001987/0.5446, allocations: 1.928 MB / 0.5065 GB, free: 3.242 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003203/0.5479, allocations: 2.514 MB / 0.509 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.482e-05/0.5479, allocations: 16.59 kB / 0.509 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.00476/0.5527, allocations: 2.118 MB / 0.5111 GB, free: 15.69 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.041e-05/0.5528, allocations: 28.89 kB / 0.5111 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.892e-05/0.5529, allocations: 57.25 kB / 0.5112 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001305/0.5531, allocations: 73.38 kB / 0.5112 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001457/0.5545, allocations: 488.2 kB / 0.5117 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001795/0.5547, allocations: 109 kB / 0.5118 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002394/0.5571, allocations: 325.6 kB / 0.5121 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002915/0.5574, allocations: 140 kB / 0.5122 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.001897/0.5593, allocations: 0.8609 MB / 0.5131 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004266/0.5598, allocations: 227.5 kB / 0.5133 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003561/0.5601, allocations: 234.8 kB / 0.5135 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001343/0.5603, allocations: 182.4 kB / 0.5137 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.148e-05/0.5604, allocations: 182.1 kB / 0.5139 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-05/0.5604, allocations: 180.8 kB / 0.5141 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002699/0.5632, allocations: 1.478 MB / 0.5155 GB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.964e-05/0.5632, allocations: 109.7 kB / 0.5156 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.087e-05/0.5633, allocations: 114.9 kB / 0.5157 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.303e-05/0.5634, allocations: 178.5 kB / 0.5159 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/0.5635, allocations: 184.2 kB / 0.5161 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001019/0.5636, allocations: 178.3 kB / 0.5162 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001126/0.5637, allocations: 186.2 kB / 0.5164 GB, free: 12.26 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005417/0.5643, allocations: 429.4 kB / 0.5168 GB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006003/0.5649, allocations: 296.7 kB / 0.5171 GB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002316/0.5651, allocations: 178.2 kB / 0.5173 GB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003954/0.5655, allocations: 108.8 kB / 0.5174 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.5657, allocations: 185.3 kB / 0.5175 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.713e-05/0.5658, allocations: 106.2 kB / 0.5176 GB, free: 11.01 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002385/0.5682, allocations: 1.015 MB / 0.5186 GB, free: 10.65 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5682, allocations: 0 / 0.5186 GB, free: 10.65 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002955/0.5712, allocations: 436.9 kB / 0.5191 GB, free: 10.52 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.0003268/0.5715, allocations: 178 kB / 0.5192 GB, free: 10.35 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002104/0.5736, allocations: 0.9066 MB / 0.5201 GB, free: 10.04 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.5736, allocations: 0 / 0.5201 GB, free: 10.04 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.576e-06/0.5736, allocations: 2.219 kB / 0.5201 GB, free: 10.04 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001412/0.575, allocations: 0.6434 MB / 0.5207 GB, free: 9.453 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006552/0.5816, allocations: 3.577 MB / 0.5242 GB, free: 7.309 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001768/0.5834, allocations: 1.582 MB / 0.5258 GB, free: 6.422 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001385/0.5848, allocations: 491.2 kB / 0.5262 GB, free: 6.363 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.5849, allocations: 75.44 kB / 0.5263 GB, free: 6.355 MB / 398.1 MB Notification: Performance of SimCode: time 1.313e-06/0.585, allocations: 0 / 0.5263 GB, free: 6.355 MB / 398.1 MB Notification: Performance of Templates: time 0.01956/0.6045, allocations: 8.095 MB / 0.5342 GB, free: 0.8086 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)