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.00825/0.00825, allocations: 102.6 kB / 15.73 MB, free: 6.496 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.001475/0.001474, allocations: 197.2 kB / 16.67 MB, free: 6.379 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.592/1.592, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.3332/0.3332, allocations: 38 MB / 307.9 MB, free: 10.19 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.001631/0.001631, allocations: 67.91 kB / 433 MB, free: 5.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3186, allocations: 56.46 MB / 489.4 MB, free: 19.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.008348/0.327, allocations: 8.72 MB / 498.2 MB, free: 13.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004956/0.332, allocations: 2.248 MB / 0.4887 GB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001027/0.3331, allocations: 42.34 kB / 0.4887 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002981/0.3361, allocations: 1.53 MB / 0.4902 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001292/0.3374, allocations: 482.4 kB / 0.4907 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003056/0.3377, allocations: 67.02 kB / 0.4907 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001071/0.3388, allocations: 0.9394 MB / 0.4917 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00155/0.3403, allocations: 1.505 MB / 0.4931 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005991/0.341, allocations: 0.543 MB / 0.4937 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007964/0.3418, allocations: 0.6819 MB / 0.4943 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001763/0.3419, allocations: 118.9 kB / 0.4944 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003165/0.3423, allocations: 132.2 kB / 0.4946 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006047/0.3429, allocations: 0.7305 MB / 0.4953 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006075/0.3435, allocations: 0.861 MB / 0.4961 GB, free: 8.676 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002337/0.3458, allocations: 2.336 MB / 0.4984 GB, free: 7.625 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3459, allocations: 1.25 kB / 0.4984 GB, free: 7.625 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3459, allocations: 4 kB / 0.4984 GB, free: 7.621 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.557e-05/0.3459, allocations: 0 / 0.4984 GB, free: 7.621 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.002704/0.3486, allocations: 1.96 MB / 0.5003 GB, free: 6.141 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.3487, allocations: 13.3 kB / 0.5003 GB, free: 6.137 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005586/0.3493, allocations: 212.9 kB / 0.5005 GB, free: 6.016 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.3504, allocations: 0.7265 MB / 0.5012 GB, free: 5.449 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.478e-05/0.3505, allocations: 119.3 kB / 0.5014 GB, free: 5.391 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001726/0.3507, allocations: 154.1 kB / 0.5015 GB, free: 5.336 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003531/0.3542, allocations: 3.374 MB / 0.5048 GB, free: 3.125 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.889e-05/0.3543, allocations: 15.03 kB / 0.5048 GB, free: 3.117 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/0.3544, allocations: 73.5 kB / 0.5049 GB, free: 3.066 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006709/0.3551, allocations: 0.6231 MB / 0.5055 GB, free: 2.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002838/0.3579, allocations: 1.861 MB / 0.5073 GB, free: 1.941 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01179/0.3697, allocations: 13.48 MB / 0.5205 GB, free: 5.945 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.3698, allocations: 166.2 kB / 0.5206 GB, free: 5.773 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.501e-05/0.3699, allocations: 84.08 kB / 0.5207 GB, free: 5.688 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.535e-05/0.3699, allocations: 84.53 kB / 0.5208 GB, free: 5.605 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.73e-05/0.37, allocations: 109.8 kB / 0.5209 GB, free: 5.488 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 2.505e-06/0.37, allocations: 0 / 0.5209 GB, free: 5.488 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002718/0.3703, allocations: 148.6 kB / 0.521 GB, free: 5.391 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.557e-05/0.3703, allocations: 126.7 kB / 0.5212 GB, free: 5.254 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002052/0.3724, allocations: 1.656 MB / 0.5228 GB, free: 4.348 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.3724, allocations: 25.7 kB / 0.5228 GB, free: 4.316 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008122/0.3732, allocations: 1.365 MB / 0.5241 GB, free: 3.094 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.963e-05/0.3733, allocations: 44.61 kB / 0.5242 GB, free: 3.066 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004707/0.3738, allocations: 423.5 kB / 0.5246 GB, free: 2.812 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.3739, allocations: 357.9 kB / 0.5249 GB, free: 2.457 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004726/0.3744, allocations: 375.8 kB / 0.5253 GB, free: 2.086 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001448/0.3758, allocations: 1.925 MB / 0.5272 GB, free: 15.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002263/0.3781, allocations: 2.511 MB / 0.5296 GB, free: 12.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.196e-05/0.3781, allocations: 16 kB / 0.5296 GB, free: 12.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.00312/0.3813, allocations: 2.111 MB / 0.5317 GB, free: 9.898 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.204e-05/0.3813, allocations: 36.17 kB / 0.5317 GB, free: 9.863 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.443e-05/0.3814, allocations: 60 kB / 0.5318 GB, free: 9.805 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.363e-05/0.3815, allocations: 72 kB / 0.5319 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.3826, allocations: 491 kB / 0.5323 GB, free: 9.254 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.761e-05/0.3827, allocations: 107.6 kB / 0.5324 GB, free: 9.148 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/0.3844, allocations: 320.5 kB / 0.5327 GB, free: 8.832 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/0.3845, allocations: 136 kB / 0.5329 GB, free: 8.699 MB / 414.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.001451/0.386, allocations: 0.8628 MB / 0.5337 GB, free: 7.824 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002949/0.3863, allocations: 231.3 kB / 0.5339 GB, free: 7.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000279/0.3865, allocations: 232.5 kB / 0.5341 GB, free: 7.348 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.507e-05/0.3866, allocations: 184.2 kB / 0.5343 GB, free: 7.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.95e-05/0.3867, allocations: 176.3 kB / 0.5345 GB, free: 6.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.42e-05/0.3868, allocations: 184.4 kB / 0.5347 GB, free: 6.793 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002492/0.3893, allocations: 1.481 MB / 0.5361 GB, free: 5.254 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.59e-05/0.3894, allocations: 104.9 kB / 0.5362 GB, free: 5.145 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.512e-05/0.3895, allocations: 108.9 kB / 0.5363 GB, free: 5.031 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002062/0.3897, allocations: 180.3 kB / 0.5365 GB, free: 4.848 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.009e-05/0.3898, allocations: 184.2 kB / 0.5367 GB, free: 4.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.809e-05/0.3899, allocations: 184.2 kB / 0.5368 GB, free: 4.473 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.327e-05/0.39, allocations: 180.3 kB / 0.537 GB, free: 4.289 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003136/0.3903, allocations: 429.3 kB / 0.5374 GB, free: 3.844 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004924/0.3908, allocations: 296.4 kB / 0.5377 GB, free: 3.527 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002012/0.391, allocations: 184.3 kB / 0.5379 GB, free: 3.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003468/0.3914, allocations: 108.9 kB / 0.538 GB, free: 3.227 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.3915, allocations: 188.2 kB / 0.5382 GB, free: 3.035 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.263e-05/0.3915, allocations: 101 kB / 0.5383 GB, free: 2.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0015/0.393, allocations: 1.018 MB / 0.5392 GB, free: 1.914 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3931, allocations: 0 / 0.5392 GB, free: 1.914 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002063/0.3951, allocations: 430.1 kB / 0.5397 GB, free: 1.492 MB / 414.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.0002637/0.3954, allocations: 182.5 kB / 0.5398 GB, free: 1.305 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00151/0.3969, allocations: 0.8994 MB / 0.5407 GB, free: 428 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.3969, allocations: 0 / 0.5407 GB, free: 428 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.357e-06/0.3969, allocations: 0 / 0.5407 GB, free: 428 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009052/0.3979, allocations: 0.5886 MB / 0.5413 GB, free: 15.82 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004946/0.4028, allocations: 2.768 MB / 0.544 GB, free: 13.03 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001281/0.4041, allocations: 1.579 MB / 0.5455 GB, free: 11.41 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001003/0.4051, allocations: 495.4 kB / 0.546 GB, free: 10.93 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.4052, allocations: 75.44 kB / 0.5461 GB, free: 10.85 MB / 430.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4052, allocations: 0 / 0.5461 GB, free: 10.85 MB / 430.1 MB Notification: Performance of Templates: time 0.01709/0.4223, allocations: 8.781 MB / 0.5547 GB, free: 2.082 MB / 430.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)