Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Shapes.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003993/0.003993, allocations: 364.8 kB / 15.96 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.83/3.83, allocations: 388.9 MB / 405.6 MB, free: 10.24 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003607/0.003607, allocations: 225.7 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5906/0.5906, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006466/0.0006467, allocations: 16 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09716/0.09784, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.04056/0.1385, allocations: 34.81 MB / 0.7141 GB, free: 6.746 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.322/0.4606, allocations: 6.369 MB / 0.7203 GB, free: 11.94 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007489/0.4681, allocations: 156.9 kB / 0.7205 GB, free: 11.94 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006581/0.4748, allocations: 1.686 MB / 0.7221 GB, free: 11.93 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02043/0.4952, allocations: 5.462 MB / 0.7274 GB, free: 11.64 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002085/0.4974, allocations: 103.8 kB / 0.7275 GB, free: 11.64 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002945/0.5004, allocations: 1.302 MB / 0.7288 GB, free: 11.64 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004012/0.5044, allocations: 1.714 MB / 0.7305 GB, free: 11.4 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000993/0.5055, allocations: 375.3 kB / 0.7308 GB, free: 11.4 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001457/0.507, allocations: 0.542 MB / 0.7314 GB, free: 11.4 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002777/0.5073, allocations: 45.91 kB / 0.7314 GB, free: 11.4 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004813/0.5078, allocations: 42.97 kB / 0.7315 GB, free: 11.4 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008512/0.5087, allocations: 0.616 MB / 0.7321 GB, free: 11.39 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004828/0.5092, allocations: 332.9 kB / 0.7324 GB, free: 11.3 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002698/0.5119, allocations: 1.762 MB / 0.7341 GB, free: 10.58 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/0.5119, allocations: 3.938 kB / 0.7341 GB, free: 10.58 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.756e-06/0.512, allocations: 4 kB / 0.7341 GB, free: 10.58 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.724e-05/0.512, allocations: 0 / 0.7341 GB, free: 10.58 MB / 346.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.003674/0.5157, allocations: 1.618 MB / 0.7357 GB, free: 9.457 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/0.5158, allocations: 8.047 kB / 0.7357 GB, free: 9.457 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.5168, allocations: 212.9 kB / 0.7359 GB, free: 9.336 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001863/0.5187, allocations: 0.7016 MB / 0.7366 GB, free: 8.91 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001348/0.5189, allocations: 116.2 kB / 0.7367 GB, free: 8.906 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003413/0.5193, allocations: 148.8 kB / 0.7368 GB, free: 8.906 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006438/0.5257, allocations: 3.357 MB / 0.7401 GB, free: 7.562 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.507e-05/0.5258, allocations: 17.48 kB / 0.7401 GB, free: 7.551 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002037/0.5261, allocations: 75.36 kB / 0.7402 GB, free: 7.547 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001108/0.5272, allocations: 0.6123 MB / 0.7408 GB, free: 7.43 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005073/0.5323, allocations: 1.826 MB / 0.7426 GB, free: 7.074 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01668/0.549, allocations: 13.42 MB / 0.7557 GB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.5492, allocations: 168.7 kB / 0.7558 GB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.554e-05/0.5492, allocations: 80.14 kB / 0.7559 GB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.721e-05/0.5493, allocations: 79.28 kB / 0.756 GB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.876e-05/0.5494, allocations: 115.9 kB / 0.7561 GB, free: 12.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 2.765e-06/0.5494, allocations: 0 / 0.7561 GB, free: 12.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 0.0004374/0.5498, allocations: 148.2 kB / 0.7563 GB, free: 12.24 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.5499, allocations: 51.41 kB / 0.7563 GB, free: 12.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003228/0.5531, allocations: 1.615 MB / 0.7579 GB, free: 11.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.5532, allocations: 25.7 kB / 0.7579 GB, free: 11.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001377/0.5546, allocations: 1.349 MB / 0.7592 GB, free: 10.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.446e-05/0.5547, allocations: 48.89 kB / 0.7593 GB, free: 10.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.833e-05/0.5548, allocations: 40 kB / 0.7593 GB, free: 10.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003216/0.5551, allocations: 449.7 kB / 0.7597 GB, free: 10.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000872/0.556, allocations: 358.6 kB / 0.7601 GB, free: 10.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002308/0.5583, allocations: 1.897 MB / 0.7619 GB, free: 8.004 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00175/0.5601, allocations: 0.7684 MB / 0.7627 GB, free: 7.809 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.175e-05/0.5602, allocations: 16.94 kB / 0.7627 GB, free: 7.809 MB / 362.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.005226/0.5654, allocations: 2.064 MB / 0.7647 GB, free: 7.129 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.914e-05/0.5655, allocations: 33.66 kB / 0.7647 GB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.665e-05/0.5656, allocations: 55.28 kB / 0.7648 GB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001099/0.5657, allocations: 84.11 kB / 0.7649 GB, free: 7.121 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002236/0.568, allocations: 486.2 kB / 0.7653 GB, free: 7.023 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001114/0.5681, allocations: 108.7 kB / 0.7654 GB, free: 6.988 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002169/0.5703, allocations: 320.9 kB / 0.7657 GB, free: 6.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002453/0.5706, allocations: 138.3 kB / 0.7659 GB, free: 6.82 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.001842/0.5724, allocations: 0.866 MB / 0.7667 GB, free: 6.266 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003312/0.5728, allocations: 219.4 kB / 0.7669 GB, free: 6.043 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003135/0.5731, allocations: 226.1 kB / 0.7672 GB, free: 5.832 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.866e-05/0.5732, allocations: 179.1 kB / 0.7673 GB, free: 5.652 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-05/0.5733, allocations: 117.6 kB / 0.7674 GB, free: 5.535 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005472/0.5738, allocations: 297.8 kB / 0.7677 GB, free: 5.227 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002837/0.5741, allocations: 180.2 kB / 0.7679 GB, free: 5.043 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004844/0.5746, allocations: 109 kB / 0.768 GB, free: 4.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.141e-05/0.5747, allocations: 180.2 kB / 0.7682 GB, free: 4.746 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000109/0.5748, allocations: 259.5 kB / 0.7684 GB, free: 4.484 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003786/0.5752, allocations: 0.4955 MB / 0.7689 GB, free: 3.969 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.87e-05/0.5753, allocations: 109.6 kB / 0.769 GB, free: 3.859 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002107/0.5774, allocations: 0.9934 MB / 0.77 GB, free: 3.121 MB / 362.7 MB Notification: Performance of Backend: time 8.72e-07/0.5774, allocations: 0 / 0.77 GB, free: 3.121 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003011/0.5805, allocations: 0.9568 MB / 0.7709 GB, free: 2.309 MB / 362.7 MB Notification: Performance of SimCode: time 0.008866/0.5894, allocations: 4.36 MB / 0.7752 GB, free: 14.15 MB / 378.7 MB Notification: Performance of Templates: time 0.03409/0.6235, allocations: 8.188 MB / 0.7832 GB, free: 6.023 MB / 378.7 MB