Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Bodies.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.InitializationConversion.Bodies,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.|body1.body.Q.1.|body1.body.Q.2.|body1.body.Q.3.|body1.body.Q.4.|body1.body.frame_a.r_0.1.|body1.body.frame_a.r_0.2.|body1.body.frame_a.r_0.3.|body1.body.w_a.1.|body1.body.w_a.2.|body1.body.w_a.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body2.body.Q.1.|body2.body.Q.2.|body2.body.Q.3.|body2.body.Q.4.|body2.body.frame_a.r_0.1.|body2.body.frame_a.r_0.2.|body2.body.frame_a.r_0.3.|body2.body.w_a.1.|body2.body.w_a.2.|body2.body.w_a.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body3.body.Q.1.|body3.body.Q.2.|body3.body.Q.3.|body3.body.Q.4.|body3.body.frame_a.r_0.1.|body3.body.frame_a.r_0.2.|body3.body.frame_a.r_0.3.|body3.body.w_a.1.|body3.body.w_a.2.|body3.body.w_a.3.|body3.v_0.1.|body3.v_0.2.|body3.v_0.3.|pointMass.r_0.1.|pointMass.r_0.2.|pointMass.r_0.3.|pointMass.v_0.1.|pointMass.v_0.2.|pointMass.v_0.3.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Bodies") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003988/0.003994, allocations: 364.4 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 4.237/4.237, allocations: 388.9 MB / 405.6 MB, free: 10.33 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.004587/0.004587, allocations: 230.5 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.671/0.671, allocations: 80.03 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004661/0.0004664, allocations: 16 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1028, allocations: 54.86 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Bodies): time 0.5077/0.6105, allocations: 44.14 MB / 0.7232 GB, free: 11.89 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.03349/0.6441, allocations: 9.809 MB / 0.7328 GB, free: 11.52 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01234/0.6565, allocations: 213.7 kB / 0.733 GB, free: 11.48 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01016/0.6667, allocations: 2.123 MB / 0.7351 GB, free: 11.05 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03489/0.7016, allocations: 7.716 MB / 0.7426 GB, free: 8.492 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005975/0.7077, allocations: 0.7947 MB / 0.7434 GB, free: 8.266 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.08513/0.7929, allocations: 28.85 MB / 0.7715 GB, free: 7.82 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01154/0.8045, allocations: 3.531 MB / 0.775 GB, free: 5.113 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006114/0.8107, allocations: 1.627 MB / 0.7766 GB, free: 3.703 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008783/0.8195, allocations: 2.661 MB / 0.7792 GB, free: 1.449 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001895/0.8215, allocations: 164 kB / 0.7793 GB, free: 1.289 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006691/0.8282, allocations: 1.27 MB / 0.7806 GB, free: 220 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005789/0.8341, allocations: 2.176 MB / 0.7827 GB, free: 14.4 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003453/0.8376, allocations: 0.9364 MB / 0.7836 GB, free: 13.86 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01562/0.8533, allocations: 6.208 MB / 0.7897 GB, free: 8.355 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.268e-06/0.8534, allocations: 0 / 0.7897 GB, free: 8.355 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.474e-06/0.8534, allocations: 3.984 kB / 0.7897 GB, free: 8.352 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002778/0.8537, allocations: 0 / 0.7897 GB, free: 8.352 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1495 * Number of variables: 1495 Notification: Performance of Generate backend data structure: time 0.0312/0.8849, allocations: 5.175 MB / 0.7947 GB, free: 3.164 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.442e-05/0.885, allocations: 12.03 kB / 0.7947 GB, free: 3.152 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06418/0.9492, allocations: 3.823 MB / 0.7985 GB, free: 15.32 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02445/0.9737, allocations: 4.872 MB / 0.8032 GB, free: 10.47 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005161/0.9743, allocations: 229.9 kB / 0.8035 GB, free: 10.28 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00617/0.9805, allocations: 0.6568 MB / 0.8041 GB, free: 9.676 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04393/1.024, allocations: 10.74 MB / 0.8146 GB, free: 14.26 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000438/1.025, allocations: 72.73 kB / 0.8147 GB, free: 14.19 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00234/1.027, allocations: 145 kB / 0.8148 GB, free: 14.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007825/1.035, allocations: 1.934 MB / 0.8167 GB, free: 12.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0468/1.082, allocations: 9.918 MB / 0.8264 GB, free: 2.242 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1027/1.185, allocations: 44.57 MB / 0.8699 GB, free: 4.637 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01636/1.201, allocations: 4.05 MB / 0.8738 GB, free: 416 kB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005806/1.207, allocations: 2.183 MB / 0.876 GB, free: 14.2 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002926/1.207, allocations: 30.84 kB / 0.876 GB, free: 14.18 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.625e-05/1.208, allocations: 66.72 kB / 0.8761 GB, free: 14.11 MB / 474.7 MB Notification: Performance of pre-optimization done (n=190): time 6.332e-06/1.208, allocations: 0 / 0.8761 GB, free: 14.11 MB / 474.7 MB Notification: Performance of matching and sorting (n=194): time 0.1076/1.315, allocations: 22.67 MB / 0.8982 GB, free: 6.848 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002512/1.316, allocations: 328.4 kB / 0.8985 GB, free: 6.453 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01728/1.333, allocations: 5.191 MB / 0.9036 GB, free: 1.258 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009076/1.334, allocations: 55.97 kB / 0.9036 GB, free: 1.199 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.3782/1.712, allocations: 3.397 MB / 0.907 GB, free: 169.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001902/1.714, allocations: 0.8489 MB / 0.9078 GB, free: 169.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001455/1.715, allocations: 148.8 kB / 0.9079 GB, free: 169.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0007086/1.716, allocations: 0.6221 MB / 0.9085 GB, free: 169.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009052/1.725, allocations: 3.002 MB / 0.9115 GB, free: 168.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01336/1.739, allocations: 7.285 MB / 0.9186 GB, free: 162.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01237/1.751, allocations: 4.534 MB / 0.923 GB, free: 160.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003084/1.751, allocations: 42.53 kB / 0.9231 GB, free: 160.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=961) (initialization): time 0.09826/1.85, allocations: 17.04 MB / 0.9397 GB, free: 155.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001484/1.85, allocations: 72.5 kB / 0.9398 GB, free: 155.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.07393/1.924, allocations: 10.3 MB / 0.9498 GB, free: 147.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.08373/2.008, allocations: 8.633 MB / 0.9583 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009511/2.017, allocations: 1.661 MB / 0.9599 GB, free: 137.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0459/2.063, allocations: 19.96 MB / 0.9794 GB, free: 116.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01025/2.074, allocations: 0.5615 MB / 0.9799 GB, free: 116.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001803/2.075, allocations: 424 kB / 0.9803 GB, free: 115.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 683 * Number of states: 0 () * Number of discrete variables: 36 (body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],body1.frameTranslation.color[3],body1.frameTranslation.color[2],body1.frameTranslation.color[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[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 (897): * Single equations (assignments): 878 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 14 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 10 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006484/2.082, allocations: 2.32 MB / 0.9826 GB, free: 113.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001364/2.083, allocations: 434.4 kB / 0.983 GB, free: 113 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001965/2.085, allocations: 0.6089 MB / 0.9836 GB, free: 112.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.22e-05/2.085, allocations: 7.969 kB / 0.9836 GB, free: 112.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/2.085, allocations: 4 kB / 0.9836 GB, free: 112.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001633/2.087, allocations: 0.5032 MB / 0.9841 GB, free: 111.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002089/2.089, allocations: 99 kB / 0.9842 GB, free: 111.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005672/2.095, allocations: 243.4 kB / 0.9844 GB, free: 111.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001036/2.096, allocations: 157.5 kB / 0.9846 GB, free: 111.4 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02089/2.117, allocations: 6.592 MB / 0.991 GB, free: 104.8 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01443/2.131, allocations: 6.703 MB / 0.9976 GB, free: 98.05 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003913/2.135, allocations: 1.836 MB / 0.9994 GB, free: 96.22 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.007931/2.143, allocations: 3.307 MB / 1.003 GB, free: 92.93 MB / 490.7 MB Notification: Performance of Backend: time 6.41e-07/2.143, allocations: 0 / 1.003 GB, free: 92.93 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02954/2.173, allocations: 8.363 MB / 1.011 GB, free: 84.32 MB / 490.7 MB Notification: Performance of SimCode: time 0.03235/2.205, allocations: 15.29 MB / 1.026 GB, free: 69.01 MB / 490.7 MB Notification: Performance of Templates: time 0.5611/2.766, allocations: 76.07 MB / 1.1 GB, free: 152.6 MB / 490.7 MB