Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodies2.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.FreeBodies2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.r_0.1.|body.r_0.2.|body.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.|bodyBox.body.Q.1.|bodyBox.body.Q.2.|bodyBox.body.Q.3.|bodyBox.body.Q.4.|bodyBox.body.w_a.1.|bodyBox.body.w_a.2.|bodyBox.body.w_a.3.|bodyBox.r_0.1.|bodyBox.r_0.2.|bodyBox.r_0.3.|bodyBox.v_0.1.|bodyBox.v_0.2.|bodyBox.v_0.3.|bodyCylinder.body.Q.1.|bodyCylinder.body.Q.2.|bodyCylinder.body.Q.3.|bodyCylinder.body.Q.4.|bodyCylinder.body.w_a.1.|bodyCylinder.body.w_a.2.|bodyCylinder.body.w_a.3.|bodyCylinder.r_0.1.|bodyCylinder.r_0.2.|bodyCylinder.r_0.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.w_a.1.|bodyShape.body.w_a.2.|bodyShape.body.w_a.3.|bodyShape.r_0.1.|bodyShape.r_0.2.|bodyShape.r_0.3.|bodyShape.v_0.1.|bodyShape.v_0.2.|bodyShape.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.Parts.FreeBodies2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002725/0.00273, allocations: 365.9 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.045/4.045, allocations: 388.9 MB / 405.6 MB, free: 10.25 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.005344/0.005344, allocations: 228.3 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.5348/0.5348, allocations: 80.03 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004671/0.0004672, allocations: 12 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1044, allocations: 54.86 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FreeBodies2): time 0.4809/0.5853, allocations: 90 MB / 0.768 GB, free: 12.22 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.062/0.6474, allocations: 18.24 MB / 0.7858 GB, free: 13.33 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02159/0.6691, allocations: 434.9 kB / 0.7862 GB, free: 12.9 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01713/0.6863, allocations: 4.394 MB / 0.7905 GB, free: 8.488 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.06816/0.7545, allocations: 14.98 MB / 0.8051 GB, free: 9.445 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01199/0.7665, allocations: 1.209 MB / 0.8063 GB, free: 8.234 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.102/0.8686, allocations: 32.94 MB / 0.8385 GB, free: 7.242 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03204/0.9007, allocations: 9.5 MB / 0.8478 GB, free: 13.65 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009189/0.91, allocations: 2.413 MB / 0.8501 GB, free: 11.23 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.033/0.9431, allocations: 3.766 MB / 0.8538 GB, free: 7.453 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00273/0.9459, allocations: 268 kB / 0.8541 GB, free: 7.191 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02313/0.969, allocations: 1.167 MB / 0.8552 GB, free: 6.023 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00904/0.9782, allocations: 3.273 MB / 0.8584 GB, free: 2.742 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005653/0.9839, allocations: 1.505 MB / 0.8599 GB, free: 1.227 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02504/1.009, allocations: 10.19 MB / 0.8698 GB, free: 7.012 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/1.009, allocations: 0 / 0.8698 GB, free: 7.012 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.068e-06/1.009, allocations: 0 / 0.8698 GB, free: 7.012 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005356/1.01, allocations: 0 / 0.8698 GB, free: 7.012 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2525 * Number of variables: 2525 Notification: Performance of Generate backend data structure: time 0.03955/1.049, allocations: 7.584 MB / 0.8772 GB, free: 15.35 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.21e-05/1.049, allocations: 8.031 kB / 0.8772 GB, free: 15.34 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06712/1.116, allocations: 4.163 MB / 0.8813 GB, free: 11.16 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0273/1.144, allocations: 5.491 MB / 0.8867 GB, free: 5.59 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00102/1.145, allocations: 476.1 kB / 0.8871 GB, free: 5.121 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008945/1.154, allocations: 0.9675 MB / 0.8881 GB, free: 4.152 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08342/1.237, allocations: 17.56 MB / 0.9052 GB, free: 1.504 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006245/1.238, allocations: 83.3 kB / 0.9053 GB, free: 1.422 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003881/1.242, allocations: 287.8 kB / 0.9056 GB, free: 1.141 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.6243/1.866, allocations: 2.653 MB / 0.9081 GB, free: 170.9 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05407/1.921, allocations: 14.98 MB / 0.9228 GB, free: 167.3 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1621/2.083, allocations: 67.93 MB / 0.9891 GB, free: 104.5 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0348/2.117, allocations: 7.207 MB / 0.9962 GB, free: 97.14 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007405/2.125, allocations: 3.466 MB / 0.9995 GB, free: 93.67 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03574/2.161, allocations: 15.56 MB / 1.015 GB, free: 77.77 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.188e-05/2.161, allocations: 64.56 kB / 1.015 GB, free: 77.7 MB / 490.8 MB Notification: Performance of pre-optimization done (n=261): time 8.246e-06/2.161, allocations: 3.938 kB / 1.015 GB, free: 77.69 MB / 490.8 MB Notification: Performance of matching and sorting (n=265): time 0.1262/2.287, allocations: 27.84 MB / 1.042 GB, free: 49.44 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.118e-05/2.287, allocations: 235.6 kB / 1.042 GB, free: 49.16 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01286/2.3, allocations: 6.54 MB / 1.049 GB, free: 42.62 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001144/2.301, allocations: 62.41 kB / 1.049 GB, free: 42.56 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004552/2.306, allocations: 5.182 MB / 1.054 GB, free: 37.38 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002028/2.308, allocations: 1.124 MB / 1.055 GB, free: 36.26 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001234/2.309, allocations: 197.1 kB / 1.055 GB, free: 36.07 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0005613/2.31, allocations: 0.7155 MB / 1.056 GB, free: 35.35 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009766/2.32, allocations: 3.857 MB / 1.059 GB, free: 31.48 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01321/2.333, allocations: 9.644 MB / 1.069 GB, free: 18.99 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01311/2.346, allocations: 5.881 MB / 1.075 GB, free: 13.09 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001686/2.346, allocations: 59.95 kB / 1.075 GB, free: 13.03 MB / 490.8 MB Notification: Performance of matching and sorting (n=1277) (initialization): time 0.4211/2.767, allocations: 19.69 MB / 1.094 GB, free: 144.1 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001813/2.768, allocations: 90.59 kB / 1.094 GB, free: 144.1 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.07334/2.841, allocations: 11.13 MB / 1.105 GB, free: 142.8 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.08001/2.921, allocations: 8.254 MB / 1.113 GB, free: 141.9 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0162/2.937, allocations: 2.25 MB / 1.115 GB, free: 141.5 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04767/2.985, allocations: 20.49 MB / 1.135 GB, free: 126.7 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01152/2.997, allocations: 0.6479 MB / 1.136 GB, free: 126.4 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002086/2.999, allocations: 0.5616 MB / 1.136 GB, free: 126.3 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 925 * Number of states: 0 () * Number of discrete variables: 75 (spring6.color[3],spring6.color[2],spring6.color[1],spring6.massColor[3],spring6.massColor[2],spring6.massColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],spring5.color[3],spring5.color[2],spring5.color[1],spring5.massColor[3],spring5.massColor[2],spring5.massColor[1],spring4.color[3],spring4.color[2],spring4.color[1],spring4.massColor[3],spring4.massColor[2],spring4.massColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[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],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (1213): * Single equations (assignments): 1194 * 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%),(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.009829/3.009, allocations: 3.393 MB / 1.14 GB, free: 124.6 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001508/3.01, allocations: 0.5627 MB / 1.14 GB, free: 124.6 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02635/3.036, allocations: 7.399 MB / 1.147 GB, free: 117.4 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.496e-05/3.037, allocations: 11.95 kB / 1.147 GB, free: 117.4 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/3.037, allocations: 2.125 kB / 1.147 GB, free: 117.4 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001858/3.039, allocations: 0.6053 MB / 1.148 GB, free: 117 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002681/3.041, allocations: 100.8 kB / 1.148 GB, free: 116.9 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006715/3.048, allocations: 274.3 kB / 1.148 GB, free: 116.7 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001751/3.05, allocations: 193.6 kB / 1.149 GB, free: 116.5 MB / 490.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04051/3.09, allocations: 7.819 MB / 1.156 GB, free: 108.8 MB / 490.8 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01795/3.108, allocations: 8.531 MB / 1.165 GB, free: 100.5 MB / 490.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005072/3.113, allocations: 2.463 MB / 1.167 GB, free: 98.06 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.008861/3.122, allocations: 4.049 MB / 1.171 GB, free: 94.03 MB / 490.8 MB Notification: Performance of Backend: time 1.423e-06/3.122, allocations: 0 / 1.171 GB, free: 94.03 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.03342/3.156, allocations: 10.01 MB / 1.181 GB, free: 83.91 MB / 490.8 MB Notification: Performance of SimCode: time 0.04243/3.198, allocations: 21.13 MB / 1.201 GB, free: 62.8 MB / 490.8 MB Notification: Performance of Templates: time 0.5659/3.764, allocations: 92.47 MB / 1.292 GB, free: 154.3 MB / 0.4949 GB