Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.FreeBodies,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.3_ModelicaTest.MultiBody.Parts.FreeBodies") translateModel(ModelicaTest.MultiBody.Parts.FreeBodies,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.3_ModelicaTest.MultiBody.Parts.FreeBodies") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 112.6 kB / 17.09 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.00125, allocations: 198.9 kB / 18.02 MB, free: 5.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.399/1.399, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2039/0.2039, allocations: 43.52 MB / 314.8 MB, free: 460 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 73.45 kB / 442.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1222, allocations: 57.79 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FreeBodies): time 0.02094/0.1432, allocations: 20.12 MB / 0.5082 GB, free: 7.582 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01404/0.1573, allocations: 5.984 MB / 0.514 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004458/0.1618, allocations: 143.5 kB / 0.5142 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01146/0.1732, allocations: 5.992 MB / 0.52 GB, free: 11.43 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0117/0.185, allocations: 3.045 MB / 0.523 GB, free: 8.371 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005256/0.1903, allocations: 1.443 MB / 0.5244 GB, free: 6.926 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.282/0.4723, allocations: 8.895 MB / 0.5331 GB, free: 6.371 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01219/0.4846, allocations: 8.164 MB / 0.5411 GB, free: 5.328 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008412/0.493, allocations: 3.28 MB / 0.5443 GB, free: 5.133 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009059/0.5021, allocations: 4.348 MB / 0.5485 GB, free: 4.688 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003131/0.5053, allocations: 0.7201 MB / 0.5492 GB, free: 4.688 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005047/0.5103, allocations: 1.717 MB / 0.5509 GB, free: 4.684 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005446/0.5158, allocations: 4.016 MB / 0.5548 GB, free: 4.324 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006331/0.5222, allocations: 4.436 MB / 0.5591 GB, free: 1.539 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01666/0.5388, allocations: 13.46 MB / 0.5723 GB, free: 10.83 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.719e-06/0.5389, allocations: 0 / 0.5723 GB, free: 10.83 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.5389, allocations: 0 / 0.5723 GB, free: 10.83 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006538/0.5396, allocations: 0 / 0.5723 GB, free: 10.83 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2624 * Number of variables: 2624 Notification: Performance of Generate backend data structure: time 0.02407/0.5637, allocations: 9.348 MB / 0.5814 GB, free: 4.438 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.5637, allocations: 15.89 kB / 0.5814 GB, free: 4.422 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02136/0.5851, allocations: 3.604 MB / 0.585 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01313/0.5982, allocations: 5.791 MB / 0.5906 GB, free: 11.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000559/0.5988, allocations: 498.4 kB / 0.5911 GB, free: 10.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003937/0.6028, allocations: 1.001 MB / 0.5921 GB, free: 9.891 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0373/0.6401, allocations: 18.01 MB / 0.6096 GB, free: 7.059 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003537/0.6405, allocations: 76.34 kB / 0.6097 GB, free: 7.016 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001965/0.6425, allocations: 306.4 kB / 0.61 GB, free: 6.766 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004012/0.6465, allocations: 2.751 MB / 0.6127 GB, free: 4.043 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03357/0.6801, allocations: 15.35 MB / 0.6277 GB, free: 4.977 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09779/0.7779, allocations: 69.84 MB / 0.6959 GB, free: 14.21 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02301/0.8009, allocations: 7.876 MB / 0.7036 GB, free: 6.211 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005914/0.8069, allocations: 3.643 MB / 0.7071 GB, free: 2.555 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02886/0.8358, allocations: 17.9 MB / 0.7246 GB, free: 0 / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.438e-05/0.8359, allocations: 68.61 kB / 0.7247 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=303): time 6.182e-06/0.8359, allocations: 0 / 0.7247 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of matching and sorting (n=307): time 0.08095/0.9169, allocations: 29.09 MB / 0.7531 GB, free: 2.449 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001741/0.9171, allocations: 243.6 kB / 0.7533 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2613/1.178, allocations: 6.612 MB / 0.7598 GB, free: 201.3 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0009782/1.179, allocations: 74.23 kB / 0.7599 GB, free: 201.3 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.004376/1.184, allocations: 5.267 MB / 0.765 GB, free: 198.9 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001971/1.186, allocations: 1.256 MB / 0.7662 GB, free: 198 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003929/1.19, allocations: 2.045 MB / 0.7682 GB, free: 197 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.052e-05/1.19, allocations: 302.7 kB / 0.7685 GB, free: 196.7 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007358/1.197, allocations: 3.971 MB / 0.7724 GB, free: 195.3 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01057/1.208, allocations: 9.793 MB / 0.782 GB, free: 186.2 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01637/1.224, allocations: 14.7 MB / 0.7963 GB, free: 174.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002917/1.225, allocations: 57.19 kB / 0.7964 GB, free: 174.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1322) (initialization): time 0.05143/1.276, allocations: 20.01 MB / 0.8159 GB, free: 168.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001918/1.276, allocations: 91.66 kB / 0.816 GB, free: 168.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03403/1.31, allocations: 11.33 MB / 0.8271 GB, free: 159 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03476/1.345, allocations: 8.22 MB / 0.8351 GB, free: 150.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007229/1.352, allocations: 2.32 MB / 0.8373 GB, free: 148.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02562/1.378, allocations: 22.53 MB / 0.8594 GB, free: 125.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009966/1.388, allocations: 0.6587 MB / 0.86 GB, free: 124.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002656/1.391, allocations: 0.5664 MB / 0.8605 GB, free: 123.8 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 928 * Number of states: 0 () * Number of discrete variables: 78 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (1258): * Single equations (assignments): 1239 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 14 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 10 systems {(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 (size): 4 systems {4, 4, 4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008956/1.4, allocations: 3.455 MB / 0.8639 GB, free: 120.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001684/1.401, allocations: 0.5862 MB / 0.8645 GB, free: 119.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01326/1.415, allocations: 7.625 MB / 0.8719 GB, free: 112.1 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-05/1.415, allocations: 15.94 kB / 0.872 GB, free: 112.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/1.415, allocations: 0 / 0.872 GB, free: 112.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001718/1.416, allocations: 0.6068 MB / 0.8726 GB, free: 111.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001318/1.418, allocations: 107.9 kB / 0.8727 GB, free: 111.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002628/1.42, allocations: 271.6 kB / 0.8729 GB, free: 111.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005006/1.421, allocations: 205.7 kB / 0.8731 GB, free: 110.9 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01284/1.434, allocations: 8.083 MB / 0.881 GB, free: 102.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009311/1.443, allocations: 8.896 MB / 0.8897 GB, free: 93.82 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002548/1.446, allocations: 2.583 MB / 0.8922 GB, free: 91.24 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005881/1.452, allocations: 4.117 MB / 0.8962 GB, free: 87.14 MB / 0.5919 GB Notification: Performance of Backend: time 9.22e-07/1.452, allocations: 0 / 0.8962 GB, free: 87.14 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02328/1.475, allocations: 10.24 MB / 0.9062 GB, free: 76.66 MB / 0.5919 GB Notification: Performance of SimCode: time 0.02841/1.503, allocations: 18.22 MB / 0.924 GB, free: 58.46 MB / 0.5919 GB Notification: Performance of Templates: time 0.4156/1.919, allocations: 98.46 MB / 1.02 GB, free: 174.1 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies.pipe 2>&1)