Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FlyingBodies.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.Parts.FlyingBodies,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|BodyBox1.body.Q.1.|BodyBox1.body.Q.2.|BodyBox1.body.Q.3.|BodyBox1.body.Q.4.|BodyBox1.body.frame_a.r_0.1.|BodyBox1.body.frame_a.r_0.2.|BodyBox1.body.frame_a.r_0.3.|BodyBox1.body.w_a.1.|BodyBox1.body.w_a.2.|BodyBox1.body.w_a.3.|BodyBox1.v_0.1.|BodyBox1.v_0.2.|BodyBox1.v_0.3.|body1.Q.1.|body1.Q.2.|body1.Q.3.|body1.Q.4.|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|bodyCylinder.body.Q.1.|bodyCylinder.body.Q.2.|bodyCylinder.body.Q.3.|bodyCylinder.body.Q.4.|bodyCylinder.body.frame_a.r_0.1.|bodyCylinder.body.frame_a.r_0.2.|bodyCylinder.body.frame_a.r_0.3.|bodyCylinder.body.w_a.1.|bodyCylinder.body.w_a.2.|bodyCylinder.body.w_a.3.|bodyCylinder.v_0.1.|bodyCylinder.v_0.2.|bodyCylinder.v_0.3.|bodyShape.body.Q.1.|bodyShape.body.Q.2.|bodyShape.body.Q.3.|bodyShape.body.Q.4.|bodyShape.body.frame_a.r_0.1.|bodyShape.body.frame_a.r_0.2.|bodyShape.body.frame_a.r_0.3.|bodyShape.body.w_a.1.|bodyShape.body.w_a.2.|bodyShape.body.w_a.3.|bodyShape.v_0.1.|bodyShape.v_0.2.|bodyShape.v_0.3.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FlyingBodies") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002811/0.002816, allocations: 364.2 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.796/3.796, allocations: 388.9 MB / 405.6 MB, free: 47.96 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003705/0.003705, allocations: 236.6 kB / 451 MB, free: 2.422 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.7669/0.7669, allocations: 80.02 MB / 0.5627 GB, free: 5.98 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000622/0.0006223, allocations: 16 kB / 0.6265 GB, free: 4.559 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1314, allocations: 54.89 MB / 0.6801 GB, free: 13.52 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FlyingBodies): time 0.4159/0.5474, allocations: 61.91 MB / 0.7406 GB, free: 44.73 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.05023/0.5977, allocations: 12.79 MB / 0.7531 GB, free: 36.14 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01909/0.6169, allocations: 295.6 kB / 0.7534 GB, free: 36.1 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01662/0.6336, allocations: 3.13 MB / 0.7564 GB, free: 35.09 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03873/0.6724, allocations: 10.82 MB / 0.767 GB, free: 29.26 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005263/0.6777, allocations: 0.7904 MB / 0.7677 GB, free: 28.78 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.05966/0.7374, allocations: 32.5 MB / 0.7995 GB, free: 13.77 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01299/0.7504, allocations: 5.711 MB / 0.8051 GB, free: 8.145 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007212/0.7577, allocations: 2.635 MB / 0.8076 GB, free: 5.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009985/0.7678, allocations: 4.264 MB / 0.8118 GB, free: 1.223 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002343/0.7701, allocations: 312 kB / 0.8121 GB, free: 0.918 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007233/0.7774, allocations: 1.108 MB / 0.8132 GB, free: 15.81 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.01044/0.7879, allocations: 3.697 MB / 0.8168 GB, free: 12.1 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004162/0.7922, allocations: 1.723 MB / 0.8185 GB, free: 10.37 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01888/0.8111, allocations: 11.16 MB / 0.8294 GB, free: 15.18 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.8112, allocations: 0 / 0.8294 GB, free: 15.18 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.867e-06/0.8112, allocations: 0 / 0.8294 GB, free: 15.18 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005384/0.8117, allocations: 0 / 0.8294 GB, free: 15.18 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3302 * Number of variables: 3302 Notification: Performance of Generate backend data structure: time 0.02964/0.8414, allocations: 8.245 MB / 0.8374 GB, free: 6.848 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/0.8415, allocations: 8.031 kB / 0.8374 GB, free: 6.84 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09269/0.9342, allocations: 9.022 MB / 0.8462 GB, free: 13.79 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02073/0.9549, allocations: 5.893 MB / 0.852 GB, free: 7.816 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007256/0.9557, allocations: 430.7 kB / 0.8524 GB, free: 7.395 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006159/0.9619, allocations: 0.9011 MB / 0.8533 GB, free: 6.492 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6801/1.642, allocations: 23.13 MB / 0.8759 GB, free: 131.3 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004596/1.643, allocations: 76.3 kB / 0.8759 GB, free: 131.2 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002871/1.645, allocations: 273.6 kB / 0.8762 GB, free: 131.2 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01863/1.664, allocations: 5.189 MB / 0.8813 GB, free: 131.2 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08127/1.745, allocations: 22.1 MB / 0.9028 GB, free: 125.7 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1645/1.91, allocations: 81.47 MB / 0.9824 GB, free: 59.78 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02972/1.94, allocations: 9.853 MB / 0.992 GB, free: 49.64 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01329/1.953, allocations: 6.602 MB / 0.9985 GB, free: 43.03 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006544/1.954, allocations: 72.27 kB / 0.9985 GB, free: 42.97 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.859e-05/1.954, allocations: 86.56 kB / 0.9986 GB, free: 42.88 MB / 474.8 MB Notification: Performance of pre-optimization done (n=585): time 1.124e-05/1.954, allocations: 0 / 0.9986 GB, free: 42.88 MB / 474.8 MB Notification: Performance of matching and sorting (n=589): time 0.1448/2.099, allocations: 42.19 MB / 1.04 GB, free: 136 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001748/2.099, allocations: 261.6 kB / 1.04 GB, free: 15.83 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01456/2.114, allocations: 6.426 MB / 1.046 GB, free: 9.398 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001752/2.115, allocations: 104.6 kB / 1.046 GB, free: 9.293 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006816/2.122, allocations: 5.773 MB / 1.052 GB, free: 3.52 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.004527/2.127, allocations: 2.191 MB / 1.054 GB, free: 1.348 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002128/2.129, allocations: 240 kB / 1.054 GB, free: 1.113 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.001151/2.13, allocations: 0.8472 MB / 1.055 GB, free: 264 kB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3362/2.466, allocations: 6.346 MB / 1.061 GB, free: 136.7 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02125/2.488, allocations: 12.57 MB / 1.074 GB, free: 127 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0213/2.509, allocations: 8.936 MB / 1.082 GB, free: 123.5 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002972/2.509, allocations: 60.69 kB / 1.083 GB, free: 123.5 MB / 490.8 MB Notification: Performance of matching and sorting (n=1651) (initialization): time 0.1232/2.633, allocations: 25.94 MB / 1.108 GB, free: 116 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001806/2.633, allocations: 100.5 kB / 1.108 GB, free: 116 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.09166/2.725, allocations: 17.52 MB / 1.125 GB, free: 109.2 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.08325/2.808, allocations: 8.728 MB / 1.134 GB, free: 102.4 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01848/2.826, allocations: 2.893 MB / 1.136 GB, free: 99.54 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.045/2.871, allocations: 20.06 MB / 1.156 GB, free: 78.79 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0142/2.886, allocations: 0.8918 MB / 1.157 GB, free: 77.91 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00304/2.889, allocations: 0.6418 MB / 1.158 GB, free: 77.27 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 968 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame3.color_x[3],fixedFrame3.color_x[2],fixedFrame3.color_x[1],fixedFrame2.color_x[3],fixedFrame2.color_x[2],fixedFrame2.color_x[1],fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[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],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1515): * Single equations (assignments): 1487 * Array equations: 12 * 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%),(3,100.0%),(4,100.0%),(3,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,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.01274/2.902, allocations: 4.474 MB / 1.162 GB, free: 72.9 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002038/2.904, allocations: 0.6383 MB / 1.163 GB, free: 72.61 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0481/2.952, allocations: 14.41 MB / 1.177 GB, free: 58.16 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001533/2.952, allocations: 29.69 kB / 1.177 GB, free: 58.13 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.736e-05/2.952, allocations: 0 / 1.177 GB, free: 58.13 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001762/2.954, allocations: 0.6456 MB / 1.177 GB, free: 57.81 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003471/2.957, allocations: 133.9 kB / 1.177 GB, free: 57.68 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008087/2.965, allocations: 0.5007 MB / 1.178 GB, free: 57.18 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002061/2.968, allocations: 312.7 kB / 1.178 GB, free: 56.88 MB / 490.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03902/3.007, allocations: 13.4 MB / 1.191 GB, free: 43.52 MB / 490.8 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.04048/3.047, allocations: 18.2 MB / 1.209 GB, free: 25.22 MB / 490.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01059/3.058, allocations: 5.322 MB / 1.214 GB, free: 19.9 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.008935/3.067, allocations: 3.969 MB / 1.218 GB, free: 15.94 MB / 490.8 MB Notification: Performance of Backend: time 8.01e-07/3.067, allocations: 0 / 1.218 GB, free: 15.94 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.04018/3.107, allocations: 12.98 MB / 1.231 GB, free: 2.742 MB / 490.8 MB Notification: Performance of SimCode: time 0.3891/3.496, allocations: 25.19 MB / 1.255 GB, free: 137.7 MB / 0.4949 GB Notification: Performance of Templates: time 0.384/3.88, allocations: 119.4 MB / 1.372 GB, free: 52.81 MB / 0.4949 GB