Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Shapes.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002656/0.002655, allocations: 352.3 kB / 15.95 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.741/3.741, allocations: 341.5 MB / 358.2 MB, free: 12.55 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.007861/0.007861, allocations: 225.2 kB / 397.9 MB, free: 4.898 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5391/0.5391, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007296/0.0007298, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08745/0.08821, allocations: 48.7 MB / 0.6067 GB, free: 4.645 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.3063/0.3946, allocations: 34.81 MB / 0.6407 GB, free: 70.46 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02073/0.4154, allocations: 6.369 MB / 0.647 GB, free: 66.19 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0101/0.4255, allocations: 153.4 kB / 0.6471 GB, free: 66.17 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007859/0.4334, allocations: 1.69 MB / 0.6487 GB, free: 65.62 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02379/0.4573, allocations: 5.468 MB / 0.6541 GB, free: 62.55 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002656/0.46, allocations: 95.33 kB / 0.6542 GB, free: 62.48 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003149/0.4632, allocations: 1.301 MB / 0.6554 GB, free: 61.71 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004438/0.4677, allocations: 1.713 MB / 0.6571 GB, free: 60.78 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009857/0.4687, allocations: 373.6 kB / 0.6575 GB, free: 60.59 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001374/0.4701, allocations: 0.541 MB / 0.658 GB, free: 60.29 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002435/0.4704, allocations: 44 kB / 0.658 GB, free: 60.25 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000445/0.4708, allocations: 51.92 kB / 0.6581 GB, free: 60.2 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000793/0.4717, allocations: 0.6154 MB / 0.6587 GB, free: 59.58 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004315/0.4721, allocations: 336.6 kB / 0.659 GB, free: 59.24 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002875/0.475, allocations: 1.76 MB / 0.6607 GB, free: 57.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.4751, allocations: 0 / 0.6607 GB, free: 57.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.906e-06/0.4751, allocations: 0 / 0.6607 GB, free: 57.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.265e-05/0.4752, allocations: 0 / 0.6607 GB, free: 57.48 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 642 * Number of variables: 642 Notification: Performance of Generate backend data structure: time 0.003756/0.4789, allocations: 1.623 MB / 0.6623 GB, free: 55.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/0.479, allocations: 11.78 kB / 0.6623 GB, free: 55.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009509/0.48, allocations: 213.3 kB / 0.6625 GB, free: 55.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001855/0.4819, allocations: 0.6943 MB / 0.6632 GB, free: 54.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000133/0.482, allocations: 123 kB / 0.6633 GB, free: 54.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003588/0.4824, allocations: 147.9 kB / 0.6635 GB, free: 54.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006047/0.4884, allocations: 3.359 MB / 0.6668 GB, free: 50.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.437e-05/0.4886, allocations: 15.88 kB / 0.6668 GB, free: 50.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002627/0.4889, allocations: 67.95 kB / 0.6668 GB, free: 50.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001429/0.4903, allocations: 0.611 MB / 0.6674 GB, free: 50.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006218/0.4965, allocations: 1.838 MB / 0.6692 GB, free: 48.37 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01427/0.5109, allocations: 13.42 MB / 0.6823 GB, free: 34.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.061e-05/0.511, allocations: 169.1 kB / 0.6825 GB, free: 34.37 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.307e-05/0.5111, allocations: 88.03 kB / 0.6826 GB, free: 34.28 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.5111, allocations: 79.27 kB / 0.6827 GB, free: 34.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/0.5112, allocations: 113.8 kB / 0.6828 GB, free: 34.08 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 3.918e-06/0.5112, allocations: 0 / 0.6828 GB, free: 34.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 0.0002957/0.5115, allocations: 147.3 kB / 0.6829 GB, free: 33.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.144e-05/0.5115, allocations: 51.41 kB / 0.683 GB, free: 33.87 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002535/0.5141, allocations: 1.614 MB / 0.6845 GB, free: 32.24 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.5141, allocations: 25.7 kB / 0.6846 GB, free: 32.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008498/0.515, allocations: 1.347 MB / 0.6859 GB, free: 30.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.976e-05/0.5151, allocations: 43.95 kB / 0.6859 GB, free: 30.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.416e-05/0.5151, allocations: 40 kB / 0.686 GB, free: 30.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.5153, allocations: 446.7 kB / 0.6864 GB, free: 30.31 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007169/0.5161, allocations: 355.8 kB / 0.6867 GB, free: 29.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001455/0.5175, allocations: 1.903 MB / 0.6886 GB, free: 27.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00133/0.5189, allocations: 0.7685 MB / 0.6893 GB, free: 26.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.811e-05/0.5189, allocations: 16 kB / 0.6893 GB, free: 26.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.00399/0.5229, allocations: 2.072 MB / 0.6914 GB, free: 24.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.803e-05/0.523, allocations: 31.95 kB / 0.6914 GB, free: 24.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-05/0.5231, allocations: 60.09 kB / 0.6915 GB, free: 24.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.161e-05/0.5232, allocations: 83.94 kB / 0.6915 GB, free: 24.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002031/0.5252, allocations: 484.6 kB / 0.692 GB, free: 23.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.959e-05/0.5253, allocations: 107.6 kB / 0.6921 GB, free: 23.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/0.5271, allocations: 320.4 kB / 0.6924 GB, free: 23.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001458/0.5272, allocations: 136 kB / 0.6925 GB, free: 23.19 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 257 * Number of states: 0 () * Number of discrete variables: 36 (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 (257): * Single equations (assignments): 257 * 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.001336/0.5286, allocations: 0.8556 MB / 0.6934 GB, free: 22.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001946/0.5288, allocations: 223.4 kB / 0.6936 GB, free: 22.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001844/0.529, allocations: 228.2 kB / 0.6938 GB, free: 21.86 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.482e-05/0.529, allocations: 180.2 kB / 0.694 GB, free: 21.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-05/0.5291, allocations: 101 kB / 0.6941 GB, free: 21.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003203/0.5294, allocations: 296.5 kB / 0.6943 GB, free: 21.26 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002319/0.5296, allocations: 196.2 kB / 0.6945 GB, free: 21.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004428/0.5301, allocations: 105 kB / 0.6946 GB, free: 20.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.021e-05/0.5301, allocations: 180.2 kB / 0.6948 GB, free: 20.77 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 4.851e-05/0.5302, allocations: 251.5 kB / 0.695 GB, free: 20.51 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000207/0.5304, allocations: 0.504 MB / 0.6955 GB, free: 19.98 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.764e-05/0.5304, allocations: 101 kB / 0.6956 GB, free: 19.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001626/0.5321, allocations: 0.9928 MB / 0.6966 GB, free: 18.89 MB / 362.7 MB Notification: Performance of Backend: time 8.52e-07/0.5321, allocations: 0 / 0.6966 GB, free: 18.89 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002354/0.5345, allocations: 0.9606 MB / 0.6975 GB, free: 17.94 MB / 362.7 MB Notification: Performance of SimCode: time 0.006384/0.5409, allocations: 4.367 MB / 0.7018 GB, free: 13.53 MB / 362.7 MB Notification: Performance of Templates: time 0.02911/0.57, allocations: 8.185 MB / 0.7098 GB, free: 5.551 MB / 362.7 MB