Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003789/0.00379, allocations: 351.2 kB / 15.95 MB, free: 6.203 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.739/3.739, allocations: 341.5 MB / 358.2 MB, free: 12.65 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.003532/0.003532, allocations: 221.2 kB / 397.9 MB, free: 4.988 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.5574/0.5574, allocations: 76.09 MB / 0.5014 GB, free: 112.7 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004839/0.0004841, allocations: 16 kB / 0.5592 GB, free: 53.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1072, allocations: 48.71 MB / 0.6067 GB, free: 4.664 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.3115/0.4188, allocations: 30.01 MB / 0.636 GB, free: 74 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02142/0.4403, allocations: 7.121 MB / 0.643 GB, free: 69.24 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008217/0.4486, allocations: 142.9 kB / 0.6431 GB, free: 69.21 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006109/0.4547, allocations: 1.409 MB / 0.6445 GB, free: 68.75 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01928/0.4741, allocations: 5.046 MB / 0.6494 GB, free: 66.29 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003355/0.4775, allocations: 0.5136 MB / 0.6499 GB, free: 65.97 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.007307/0.4848, allocations: 3.747 MB / 0.6536 GB, free: 63.86 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006067/0.491, allocations: 2.943 MB / 0.6565 GB, free: 61.95 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002251/0.4933, allocations: 1.008 MB / 0.6575 GB, free: 60.94 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003062/0.4964, allocations: 1.573 MB / 0.659 GB, free: 59.36 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007759/0.4972, allocations: 115.9 kB / 0.6591 GB, free: 59.25 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002633/0.4998, allocations: 0.8465 MB / 0.6599 GB, free: 58.4 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002219/0.5021, allocations: 1.363 MB / 0.6613 GB, free: 57.04 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00139/0.5036, allocations: 0.687 MB / 0.6619 GB, free: 56.34 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006272/0.5099, allocations: 4.411 MB / 0.6662 GB, free: 51.92 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.5099, allocations: 0 / 0.6662 GB, free: 51.92 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.5099, allocations: 0 / 0.6662 GB, free: 51.92 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000185/0.5101, allocations: 4 kB / 0.6662 GB, free: 51.91 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.00976/0.5199, allocations: 3.394 MB / 0.6696 GB, free: 48.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.52, allocations: 8.031 kB / 0.6696 GB, free: 48.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01252/0.5325, allocations: 2.101 MB / 0.6716 GB, free: 46.34 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005086/0.5377, allocations: 1.898 MB / 0.6735 GB, free: 44.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001628/0.5379, allocations: 188.7 kB / 0.6736 GB, free: 44.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001032/0.5389, allocations: 259.2 kB / 0.6739 GB, free: 43.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01854/0.5575, allocations: 8.402 MB / 0.6821 GB, free: 34.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001362/0.5577, allocations: 39.59 kB / 0.6821 GB, free: 34.85 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005208/0.5582, allocations: 123.9 kB / 0.6823 GB, free: 34.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003867/0.5621, allocations: 1.621 MB / 0.6838 GB, free: 33.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02033/0.5825, allocations: 7.05 MB / 0.6907 GB, free: 26.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05151/0.634, allocations: 33.79 MB / 0.7237 GB, free: 7.336 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01239/0.6465, allocations: 3.143 MB / 0.7268 GB, free: 4.039 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003321/0.6499, allocations: 1.439 MB / 0.7282 GB, free: 2.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009901/0.6598, allocations: 4.026 MB / 0.7321 GB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.595e-05/0.6599, allocations: 43.12 kB / 0.7322 GB, free: 14.36 MB / 394.7 MB Notification: Performance of pre-optimization done (n=114): time 6.041e-06/0.6599, allocations: 0 / 0.7322 GB, free: 14.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=122): time 0.04908/0.709, allocations: 11.29 MB / 0.7432 GB, free: 2.926 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/0.7092, allocations: 166.8 kB / 0.7434 GB, free: 2.727 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007659/0.7169, allocations: 3.688 MB / 0.747 GB, free: 15.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003266/0.7172, allocations: 45.69 kB / 0.747 GB, free: 15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002926/0.7202, allocations: 2.728 MB / 0.7497 GB, free: 12.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009336/0.7212, allocations: 0.4939 MB / 0.7501 GB, free: 11.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004465/0.7216, allocations: 104 kB / 0.7502 GB, free: 11.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004364/0.7221, allocations: 0.529 MB / 0.7508 GB, free: 11.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004467/0.7265, allocations: 1.681 MB / 0.7524 GB, free: 9.402 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008102/0.7347, allocations: 5.073 MB / 0.7574 GB, free: 2.609 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2903/1.025, allocations: 2.865 MB / 0.7602 GB, free: 117.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001161/1.025, allocations: 39.09 kB / 0.7602 GB, free: 117.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=686) (initialization): time 0.01895/1.044, allocations: 6.632 MB / 0.7667 GB, free: 116.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001004/1.044, allocations: 57.75 kB / 0.7667 GB, free: 116.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000238/1.045, allocations: 121.6 kB / 0.7668 GB, free: 116.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0012/1.046, allocations: 346.9 kB / 0.7672 GB, free: 116.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007515/1.053, allocations: 1.227 MB / 0.7684 GB, free: 116.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003626/1.057, allocations: 2.331 MB / 0.7706 GB, free: 115 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00542/1.062, allocations: 284.3 kB / 0.7709 GB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001126/1.064, allocations: 332.1 kB / 0.7712 GB, free: 114.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (658): * Single equations (assignments): 654 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004517/1.068, allocations: 1.779 MB / 0.773 GB, free: 114.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007741/1.069, allocations: 303.3 kB / 0.7733 GB, free: 114.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007836/1.077, allocations: 2.334 MB / 0.7755 GB, free: 113.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.249e-05/1.077, allocations: 6.047 kB / 0.7755 GB, free: 113.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/1.077, allocations: 1.344 kB / 0.7755 GB, free: 113.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001703/1.079, allocations: 0.5421 MB / 0.7761 GB, free: 113.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008795/1.08, allocations: 18.17 kB / 0.7761 GB, free: 113.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002188/1.082, allocations: 83.64 kB / 0.7762 GB, free: 113 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003388/1.082, allocations: 66.62 kB / 0.7762 GB, free: 113 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008845/1.091, allocations: 2.793 MB / 0.779 GB, free: 112 MB / 410.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.007652/1.099, allocations: 3.609 MB / 0.7825 GB, free: 110.3 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002015/1.101, allocations: 0.8761 MB / 0.7833 GB, free: 110 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005912/1.107, allocations: 2.294 MB / 0.7856 GB, free: 109.2 MB / 410.7 MB Notification: Performance of Backend: time 1.142e-06/1.107, allocations: 3.938 kB / 0.7856 GB, free: 109.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01102/1.118, allocations: 3.401 MB / 0.7889 GB, free: 108 MB / 410.7 MB Notification: Performance of SimCode: time 0.01938/1.137, allocations: 8.919 MB / 0.7976 GB, free: 103.2 MB / 410.7 MB Notification: Performance of Templates: time 0.09678/1.234, allocations: 34.69 MB / 0.8315 GB, free: 71.2 MB / 410.7 MB