Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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.3_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_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.0008724/0.0008723, allocations: 96.62 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 170.7 kB / 16.58 MB, free: 6.062 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.573/1.573, allocations: 205.4 MB / 222.7 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3811/0.3811, allocations: 43.57 MB / 314.6 MB, free: 9.004 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: Performance of FrontEnd - loaded program: time 0.0005108/0.0005108, allocations: 18.97 kB / 383.9 MB, free: 8.211 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.146, allocations: 58.86 MB / 442.8 MB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.3228/0.4688, allocations: 36.41 MB / 479.2 MB, free: 29.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01799/0.4868, allocations: 6.991 MB / 486.2 MB, free: 24.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009711/0.4966, allocations: 159.9 kB / 486.4 MB, free: 24.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007102/0.5037, allocations: 1.759 MB / 488.1 MB, free: 23.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01527/0.5191, allocations: 4.862 MB / 493 MB, free: 21.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001919/0.521, allocations: 99.36 kB / 493.1 MB, free: 21.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002029/0.523, allocations: 1.288 MB / 494.4 MB, free: 21.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002819/0.5259, allocations: 1.726 MB / 496.1 MB, free: 20.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008769/0.5268, allocations: 385.1 kB / 496.5 MB, free: 20.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001031/0.5278, allocations: 0.544 MB / 497 MB, free: 20.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002697/0.5281, allocations: 42.12 kB / 497.1 MB, free: 20.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000473/0.5286, allocations: 47.97 kB / 497.1 MB, free: 20.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009351/0.5295, allocations: 0.6203 MB / 497.7 MB, free: 19.92 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009342/0.5305, allocations: 340.1 kB / 498.1 MB, free: 19.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003906/0.5344, allocations: 1.768 MB / 499.8 MB, free: 19.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.5344, allocations: 5.406 kB / 499.8 MB, free: 19.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.5344, allocations: 3.938 kB / 499.8 MB, free: 19.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002379/0.5347, allocations: 0 / 499.8 MB, free: 19.29 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.006217/0.5409, allocations: 1.629 MB / 0.4897 GB, free: 18.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.541, allocations: 12.77 kB / 0.4897 GB, free: 18.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001342/0.5423, allocations: 227.7 kB / 0.4899 GB, free: 18.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002556/0.5449, allocations: 0.7044 MB / 0.4906 GB, free: 17.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002245/0.5451, allocations: 115.5 kB / 0.4907 GB, free: 17.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004698/0.5456, allocations: 153.1 kB / 0.4909 GB, free: 17.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006173/0.5518, allocations: 3.367 MB / 0.4942 GB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.99e-05/0.5519, allocations: 17.53 kB / 0.4942 GB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001732/0.5521, allocations: 74 kB / 0.4943 GB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001038/0.5531, allocations: 0.6127 MB / 0.4949 GB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004262/0.5574, allocations: 1.845 MB / 0.4967 GB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01611/0.5735, allocations: 13.52 MB / 0.5099 GB, free: 4.059 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.805e-05/0.5737, allocations: 178.5 kB / 0.51 GB, free: 3.875 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.973e-05/0.5737, allocations: 81.95 kB / 0.5101 GB, free: 3.793 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.5737, allocations: 79.22 kB / 0.5102 GB, free: 3.715 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.5738, allocations: 107.5 kB / 0.5103 GB, free: 3.602 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 2.064e-06/0.5738, allocations: 0 / 0.5103 GB, free: 3.602 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.0004849/0.5743, allocations: 148.9 kB / 0.5104 GB, free: 3.504 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.5743, allocations: 130.7 kB / 0.5106 GB, free: 3.363 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003539/0.5779, allocations: 1.646 MB / 0.5122 GB, free: 2.723 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.5779, allocations: 25.7 kB / 0.5122 GB, free: 2.691 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001183/0.5791, allocations: 1.354 MB / 0.5135 GB, free: 1.617 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.497e-05/0.5792, allocations: 44.3 kB / 0.5136 GB, free: 1.598 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.705e-05/0.5793, allocations: 40.94 kB / 0.5136 GB, free: 1.566 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001956/0.5795, allocations: 447.4 kB / 0.514 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007969/0.5803, allocations: 360.1 kB / 0.5144 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00217/0.5825, allocations: 1.927 MB / 0.5162 GB, free: 14.55 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001563/0.584, allocations: 0.7735 MB / 0.517 GB, free: 14.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.096e-05/0.5841, allocations: 21.02 kB / 0.517 GB, free: 14.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.004539/0.5887, allocations: 2.096 MB / 0.5191 GB, free: 13.08 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.622e-05/0.5887, allocations: 32.86 kB / 0.5191 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001102/0.5889, allocations: 62.19 kB / 0.5192 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001444/0.589, allocations: 81.34 kB / 0.5192 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001431/0.5905, allocations: 484.8 kB / 0.5197 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001292/0.5906, allocations: 113 kB / 0.5198 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00205/0.5927, allocations: 326.5 kB / 0.5201 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002255/0.5929, allocations: 137.7 kB / 0.5202 GB, free: 12.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001775/0.5947, allocations: 0.8675 MB / 0.5211 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003486/0.595, allocations: 227.2 kB / 0.5213 GB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003452/0.5954, allocations: 233.3 kB / 0.5215 GB, free: 11.76 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.749e-05/0.5955, allocations: 181.5 kB / 0.5217 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001209/0.5956, allocations: 180.2 kB / 0.5219 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001778/0.5958, allocations: 182 kB / 0.5221 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003048/0.5988, allocations: 1.475 MB / 0.5235 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.74e-05/0.5989, allocations: 111.8 kB / 0.5236 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.675e-05/0.5989, allocations: 105.5 kB / 0.5237 GB, free: 9.988 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001335/0.5991, allocations: 184.1 kB / 0.5239 GB, free: 9.801 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.23e-05/0.5992, allocations: 186.1 kB / 0.5241 GB, free: 9.613 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001339/0.5993, allocations: 176.3 kB / 0.5242 GB, free: 9.434 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.815e-05/0.5994, allocations: 187.3 kB / 0.5244 GB, free: 9.246 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004256/0.5998, allocations: 426.1 kB / 0.5248 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000502/0.6003, allocations: 296.2 kB / 0.5251 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002895/0.6006, allocations: 190.7 kB / 0.5253 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003981/0.601, allocations: 107.7 kB / 0.5254 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.6011, allocations: 180.3 kB / 0.5255 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.002e-05/0.6012, allocations: 104.9 kB / 0.5256 GB, free: 7.984 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001598/0.6028, allocations: 1.006 MB / 0.5266 GB, free: 7.445 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6028, allocations: 0 / 0.5266 GB, free: 7.445 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002046/0.6049, allocations: 432.5 kB / 0.527 GB, free: 7.32 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.0001789/0.6051, allocations: 186.2 kB / 0.5272 GB, free: 7.145 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001673/0.6067, allocations: 0.8875 MB / 0.5281 GB, free: 6.754 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.6068, allocations: 0 / 0.5281 GB, free: 6.754 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.378e-06/0.6068, allocations: 0 / 0.5281 GB, free: 6.754 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.6081, allocations: 0.6427 MB / 0.5287 GB, free: 6.152 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007073/0.6151, allocations: 3.407 MB / 0.532 GB, free: 2.938 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001842/0.617, allocations: 1.583 MB / 0.5336 GB, free: 1.32 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001341/0.6183, allocations: 496.3 kB / 0.5341 GB, free: 0.832 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.6185, allocations: 71.44 kB / 0.5341 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of SimCode: time 4.3e-07/0.6185, allocations: 4 kB / 0.5341 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of Templates: time 0.01909/0.6376, allocations: 7.914 MB / 0.5419 GB, free: 8.887 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1)