Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodies2.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodies2") 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_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodies2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 110.6 kB / 18.45 MB, free: 4.617 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.002051/0.002051, allocations: 187.1 kB / 19.39 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 222.9 MB / 243.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2339/0.2339, allocations: 44.18 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 55.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4446/0.4463, allocations: 60.82 MB / 0.5196 GB, free: 3.582 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FreeBodies2): time 0.02124/0.4676, allocations: 20.11 MB / 0.5392 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01882/0.4865, allocations: 5.967 MB / 0.545 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00694/0.4935, allocations: 144 kB / 0.5452 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01347/0.507, allocations: 5.999 MB / 0.551 GB, free: 11.74 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01043/0.5175, allocations: 3.135 MB / 0.5541 GB, free: 8.59 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004173/0.5217, allocations: 1.435 MB / 0.5555 GB, free: 7.152 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01509/0.5368, allocations: 9.242 MB / 0.5645 GB, free: 13.89 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01393/0.5508, allocations: 8.15 MB / 0.5725 GB, free: 5.645 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007394/0.5582, allocations: 3.264 MB / 0.5757 GB, free: 2.371 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008506/0.5668, allocations: 4.338 MB / 0.5799 GB, free: 14.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003475/0.5703, allocations: 0.7188 MB / 0.5806 GB, free: 13.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006209/0.5765, allocations: 1.725 MB / 0.5823 GB, free: 11.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006842/0.5834, allocations: 4.002 MB / 0.5862 GB, free: 7.562 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01029/0.5937, allocations: 4.422 MB / 0.5905 GB, free: 3.117 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01963/0.6134, allocations: 13.44 MB / 0.6036 GB, free: 5.629 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.6134, allocations: 0 / 0.6036 GB, free: 5.629 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.6135, allocations: 0 / 0.6036 GB, free: 5.629 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006148/0.6141, allocations: 3.938 kB / 0.6036 GB, free: 5.625 MB / 462.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.03147/0.6456, allocations: 9.324 MB / 0.6127 GB, free: 12.21 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.726e-05/0.6456, allocations: 8.031 kB / 0.6127 GB, free: 12.2 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02532/0.671, allocations: 3.61 MB / 0.6163 GB, free: 8.578 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01497/0.686, allocations: 5.592 MB / 0.6217 GB, free: 2.906 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006852/0.6867, allocations: 497.2 kB / 0.6222 GB, free: 2.418 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004556/0.6913, allocations: 1.006 MB / 0.6232 GB, free: 1.41 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04416/0.7355, allocations: 18.01 MB / 0.6408 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000421/0.7359, allocations: 83.2 kB / 0.6409 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002335/0.7383, allocations: 307.8 kB / 0.6411 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004439/0.7427, allocations: 2.749 MB / 0.6438 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03623/0.779, allocations: 15.34 MB / 0.6588 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6518/1.431, allocations: 69.81 MB / 0.727 GB, free: 124.5 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02465/1.455, allocations: 7.874 MB / 0.7347 GB, free: 123.8 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005879/1.461, allocations: 3.629 MB / 0.7382 GB, free: 123.6 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02747/1.489, allocations: 17.89 MB / 0.7557 GB, free: 114 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.688e-05/1.489, allocations: 70.53 kB / 0.7558 GB, free: 113.9 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=303): time 6.803e-06/1.489, allocations: 0 / 0.7558 GB, free: 113.9 MB / 0.5607 GB Notification: Performance of matching and sorting (n=307): time 0.07206/1.561, allocations: 29.03 MB / 0.7841 GB, free: 90.56 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.832e-05/1.561, allocations: 242 kB / 0.7843 GB, free: 90.28 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008165/1.569, allocations: 6.569 MB / 0.7908 GB, free: 83.71 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0009209/1.57, allocations: 73.7 kB / 0.7908 GB, free: 83.64 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002665/1.573, allocations: 5.261 MB / 0.796 GB, free: 78.38 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001512/1.575, allocations: 1.26 MB / 0.7972 GB, free: 77.13 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002491/1.577, allocations: 2.038 MB / 0.7992 GB, free: 75.08 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.08e-05/1.577, allocations: 301.1 kB / 0.7995 GB, free: 74.79 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004832/1.582, allocations: 3.967 MB / 0.8033 GB, free: 70.81 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008101/1.59, allocations: 9.801 MB / 0.8129 GB, free: 58.26 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01513/1.605, allocations: 14.69 MB / 0.8273 GB, free: 40.96 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001789/1.605, allocations: 60 kB / 0.8273 GB, free: 40.9 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1322) (initialization): time 0.05471/1.66, allocations: 20.01 MB / 0.8469 GB, free: 20.8 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003613/1.661, allocations: 92 kB / 0.8469 GB, free: 20.71 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03785/1.698, allocations: 11.33 MB / 0.858 GB, free: 9.281 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03851/1.737, allocations: 8.231 MB / 0.866 GB, free: 0.9883 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008176/1.745, allocations: 2.324 MB / 0.8683 GB, free: 14.66 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03388/1.779, allocations: 22.52 MB / 0.8903 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008697/1.788, allocations: 0.6435 MB / 0.8909 GB, free: 6.656 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002152/1.79, allocations: 0.5781 MB / 0.8915 GB, free: 6.078 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.008324/1.798, allocations: 3.448 MB / 0.8949 GB, free: 2.621 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001838/1.8, allocations: 0.5862 MB / 0.8954 GB, free: 2.027 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01785/1.818, allocations: 7.624 MB / 0.9029 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.032e-05/1.818, allocations: 15.95 kB / 0.9029 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/1.818, allocations: 0 / 0.9029 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001931/1.82, allocations: 0.6067 MB / 0.9035 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001982/1.822, allocations: 111.9 kB / 0.9036 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004228/1.826, allocations: 275.6 kB / 0.9039 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009096/1.827, allocations: 205.6 kB / 0.9041 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.018/1.845, allocations: 8.073 MB / 0.9119 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01249/1.858, allocations: 8.904 MB / 0.9206 GB, free: 8.066 MB / 0.6232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003307/1.861, allocations: 2.584 MB / 0.9232 GB, free: 5.48 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.007964/1.869, allocations: 4.081 MB / 0.9272 GB, free: 1.414 MB / 0.6232 GB Notification: Performance of Backend: time 5.91e-07/1.869, allocations: 0 / 0.9272 GB, free: 1.414 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.02531/1.894, allocations: 10.24 MB / 0.9372 GB, free: 6.941 MB / 0.6388 GB Notification: Performance of SimCode: time 0.03843/1.933, allocations: 18.14 MB / 0.9549 GB, free: 4.797 MB / 0.6544 GB Notification: Performance of Templates: time 0.441/2.374, allocations: 96.79 MB / 1.049 GB, free: 176.3 MB / 0.6544 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodies2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodies2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodies2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe 2>&1)