Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FlyingBodies.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.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.1_ModelicaTest.MultiBody.Parts.FlyingBodies") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003708/0.003708, allocations: 354.9 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.383/3.383, allocations: 341.5 MB / 358.2 MB, free: 28.74 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003857/0.003857, allocations: 224 kB / 397.9 MB, free: 6.16 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.6185/0.6185, allocations: 76.09 MB / 0.5014 GB, free: 0.832 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000468/0.0004683, allocations: 19.98 kB / 0.5592 GB, free: 60.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08443/0.08493, allocations: 48.7 MB / 0.6067 GB, free: 11.55 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FlyingBodies): time 0.3775/0.4625, allocations: 61.91 MB / 0.6672 GB, free: 10.87 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03606/0.4986, allocations: 12.78 MB / 0.6797 GB, free: 8.824 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01455/0.5132, allocations: 295.4 kB / 0.68 GB, free: 8.777 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01176/0.525, allocations: 3.133 MB / 0.683 GB, free: 6.594 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03548/0.5606, allocations: 10.82 MB / 0.6936 GB, free: 160 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005227/0.5659, allocations: 0.8081 MB / 0.6944 GB, free: 15.66 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.06735/0.6333, allocations: 32.5 MB / 0.7261 GB, free: 15.36 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01267/0.646, allocations: 5.716 MB / 0.7317 GB, free: 9.578 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006619/0.6527, allocations: 2.634 MB / 0.7343 GB, free: 6.934 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009476/0.6622, allocations: 4.257 MB / 0.7384 GB, free: 2.664 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002393/0.6647, allocations: 319.9 kB / 0.7387 GB, free: 2.352 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00547/0.6702, allocations: 1.096 MB / 0.7398 GB, free: 1.254 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007085/0.6773, allocations: 3.693 MB / 0.7434 GB, free: 13.55 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003875/0.6813, allocations: 1.726 MB / 0.7451 GB, free: 11.81 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01845/0.6998, allocations: 11.14 MB / 0.756 GB, free: 0.6445 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.954e-06/0.6998, allocations: 4 kB / 0.756 GB, free: 0.6406 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.936e-06/0.6998, allocations: 0 / 0.756 GB, free: 0.6406 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004832/0.7003, allocations: 4 kB / 0.756 GB, free: 0.6367 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: 3302 * Number of variables: 3302 Notification: Performance of Generate backend data structure: time 0.02864/0.729, allocations: 8.252 MB / 0.764 GB, free: 8.297 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.7291, allocations: 8.031 kB / 0.764 GB, free: 8.289 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07417/0.8032, allocations: 8.919 MB / 0.7728 GB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02022/0.8235, allocations: 5.858 MB / 0.7785 GB, free: 9.402 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006478/0.8242, allocations: 426.7 kB / 0.7789 GB, free: 8.984 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00609/0.8303, allocations: 0.9012 MB / 0.7798 GB, free: 8.082 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06386/0.8942, allocations: 23.14 MB / 0.8024 GB, free: 15.95 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003939/0.8947, allocations: 75.36 kB / 0.8024 GB, free: 15.87 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003001/0.8977, allocations: 275.6 kB / 0.8027 GB, free: 15.6 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0152/0.9129, allocations: 5.194 MB / 0.8078 GB, free: 10.39 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6072/1.52, allocations: 22.08 MB / 0.8293 GB, free: 143.2 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1638/1.684, allocations: 81.37 MB / 0.9088 GB, free: 75.21 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03016/1.714, allocations: 9.85 MB / 0.9184 GB, free: 65.06 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01375/1.728, allocations: 6.598 MB / 0.9249 GB, free: 58.45 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007705/1.729, allocations: 73.89 kB / 0.9249 GB, free: 58.39 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.836e-05/1.729, allocations: 90.5 kB / 0.925 GB, free: 58.3 MB / 442.8 MB Notification: Performance of pre-optimization done (n=585): time 1.27e-05/1.729, allocations: 0 / 0.925 GB, free: 58.3 MB / 442.8 MB Notification: Performance of matching and sorting (n=589): time 0.1441/1.873, allocations: 42.2 MB / 0.9662 GB, free: 15.55 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/1.873, allocations: 265.6 kB / 0.9665 GB, free: 15.24 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01385/1.887, allocations: 6.427 MB / 0.9728 GB, free: 8.812 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001599/1.889, allocations: 104 kB / 0.9729 GB, free: 8.707 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004847/1.894, allocations: 5.772 MB / 0.9785 GB, free: 2.934 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003632/1.897, allocations: 2.191 MB / 0.9806 GB, free: 0.7617 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002371/1.9, allocations: 240 kB / 0.9809 GB, free: 0.5273 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.3571/2.257, allocations: 0.8482 MB / 0.9817 GB, free: 136.1 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01704/2.274, allocations: 6.26 MB / 0.9878 GB, free: 135.6 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02143/2.296, allocations: 12.48 MB / 1 GB, free: 125.3 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02039/2.316, allocations: 8.851 MB / 1.009 GB, free: 121.9 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003232/2.316, allocations: 58.75 kB / 1.009 GB, free: 121.9 MB / 442.8 MB Notification: Performance of matching and sorting (n=1651) (initialization): time 0.06941/2.386, allocations: 22.32 MB / 1.03 GB, free: 112.4 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002111/2.386, allocations: 96 kB / 1.031 GB, free: 112.3 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04601/2.432, allocations: 13.91 MB / 1.044 GB, free: 100.7 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02711/2.459, allocations: 4.461 MB / 1.049 GB, free: 97.25 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01881/2.478, allocations: 2.889 MB / 1.051 GB, free: 94.36 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01824/2.496, allocations: 13.2 MB / 1.064 GB, free: 80.46 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01441/2.511, allocations: 0.8773 MB / 1.065 GB, free: 79.6 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003014/2.514, allocations: 0.6459 MB / 1.066 GB, free: 78.96 MB / 442.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.01253/2.527, allocations: 4.476 MB / 1.07 GB, free: 74.59 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002317/2.529, allocations: 0.6335 MB / 1.071 GB, free: 74.3 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0482/2.577, allocations: 14.42 MB / 1.085 GB, free: 59.84 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001494/2.577, allocations: 23.91 kB / 1.085 GB, free: 59.81 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.925e-05/2.577, allocations: 0.875 kB / 1.085 GB, free: 59.81 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005784/2.583, allocations: 1.66 MB / 1.086 GB, free: 58.48 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003441/2.587, allocations: 137.7 kB / 1.087 GB, free: 58.34 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00803/2.595, allocations: 0.493 MB / 1.087 GB, free: 57.85 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002017/2.597, allocations: 325.6 kB / 1.087 GB, free: 57.54 MB / 442.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03957/2.636, allocations: 13.4 MB / 1.1 GB, free: 44.19 MB / 442.8 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03769/2.674, allocations: 18.19 MB / 1.118 GB, free: 25.89 MB / 442.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01504/2.689, allocations: 5.319 MB / 1.123 GB, free: 20.57 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.00942/2.699, allocations: 3.974 MB / 1.127 GB, free: 16.61 MB / 442.8 MB Notification: Performance of Backend: time 1.172e-06/2.699, allocations: 0 / 1.127 GB, free: 16.61 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.03693/2.736, allocations: 12.8 MB / 1.14 GB, free: 3.582 MB / 442.8 MB Notification: Performance of SimCode: time 0.3712/3.107, allocations: 25.2 MB / 1.164 GB, free: 121.4 MB / 442.8 MB Notification: Performance of Templates: time 0.3366/3.444, allocations: 108.6 MB / 1.27 GB, free: 30.16 MB / 442.8 MB