Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FreeBodies2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Parts.FreeBodies2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001067/0.001067, allocations: 111.6 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001218/0.001219, allocations: 207.9 kB / 19.41 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.4 MB / 247.6 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2368/0.2368, allocations: 46.11 MB / 345 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 75.88 kB / 482 MB, free: 4.105 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3158, allocations: 62.44 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FreeBodies2): time 0.02051/0.3363, allocations: 20.05 MB / 0.5512 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01349/0.3498, allocations: 5.986 MB / 0.5571 GB, free: 7.613 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004164/0.354, allocations: 139.5 kB / 0.5572 GB, free: 7.477 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01073/0.3648, allocations: 5.961 MB / 0.563 GB, free: 1.496 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007801/0.3726, allocations: 3.002 MB / 0.566 GB, free: 14.48 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002693/0.3753, allocations: 1.443 MB / 0.5674 GB, free: 13.04 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01076/0.3861, allocations: 9.43 MB / 0.5766 GB, free: 3.586 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009367/0.3955, allocations: 8.146 MB / 0.5845 GB, free: 11.35 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005067/0.4006, allocations: 3.252 MB / 0.5877 GB, free: 8.086 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006612/0.4072, allocations: 4.327 MB / 0.5919 GB, free: 3.746 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002419/0.4096, allocations: 0.7188 MB / 0.5926 GB, free: 3.027 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004457/0.4141, allocations: 1.709 MB / 0.5943 GB, free: 1.316 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004891/0.419, allocations: 3.975 MB / 0.5982 GB, free: 13.33 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006982/0.426, allocations: 4.41 MB / 0.6025 GB, free: 8.895 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01581/0.4418, allocations: 13.37 MB / 0.6156 GB, free: 11.48 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.4419, allocations: 0 / 0.6156 GB, free: 11.48 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4419, allocations: 0 / 0.6156 GB, free: 11.48 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003187/0.4422, allocations: 0 / 0.6156 GB, free: 11.48 MB / 478.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.01901/0.4612, allocations: 9.287 MB / 0.6246 GB, free: 2.105 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.4613, allocations: 8.031 kB / 0.6246 GB, free: 2.098 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02077/0.482, allocations: 3.844 MB / 0.6284 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01068/0.4928, allocations: 5.475 MB / 0.6337 GB, free: 8.684 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003801/0.4932, allocations: 493.2 kB / 0.6342 GB, free: 8.199 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003125/0.4963, allocations: 1.007 MB / 0.6352 GB, free: 7.191 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03613/0.5324, allocations: 18.08 MB / 0.6528 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002117/0.5327, allocations: 87.2 kB / 0.6529 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007979/0.5335, allocations: 303.8 kB / 0.6532 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004041/0.5376, allocations: 2.753 MB / 0.6559 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03231/0.5699, allocations: 15.42 MB / 0.671 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.602/1.172, allocations: 69.83 MB / 0.7392 GB, free: 118.5 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02098/1.193, allocations: 7.946 MB / 0.7469 GB, free: 117.8 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003917/1.197, allocations: 3.628 MB / 0.7505 GB, free: 116.5 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02021/1.217, allocations: 17.97 MB / 0.768 GB, free: 105.3 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/1.217, allocations: 71.34 kB / 0.7681 GB, free: 105.2 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=303): time 6.302e-06/1.217, allocations: 0 / 0.7681 GB, free: 105.2 MB / 0.5607 GB Notification: Performance of matching and sorting (n=307): time 0.06492/1.282, allocations: 29.23 MB / 0.7966 GB, free: 77.77 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.897e-05/1.282, allocations: 239.6 kB / 0.7969 GB, free: 77.48 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006401/1.289, allocations: 6.565 MB / 0.8033 GB, free: 70.93 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0005019/1.289, allocations: 77.38 kB / 0.8033 GB, free: 70.85 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.001973/1.291, allocations: 5.253 MB / 0.8085 GB, free: 65.59 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.000917/1.292, allocations: 1.266 MB / 0.8097 GB, free: 64.34 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001958/1.294, allocations: 2.039 MB / 0.8117 GB, free: 62.29 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.2e-05/1.294, allocations: 301.1 kB / 0.812 GB, free: 61.99 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004359/1.298, allocations: 3.998 MB / 0.8159 GB, free: 57.99 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006321/1.305, allocations: 9.825 MB / 0.8255 GB, free: 45.4 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01284/1.318, allocations: 14.74 MB / 0.8399 GB, free: 27.94 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001203/1.318, allocations: 63.94 kB / 0.8399 GB, free: 27.88 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1322) (initialization): time 0.0469/1.365, allocations: 20.34 MB / 0.8598 GB, free: 7.434 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 9.788e-05/1.365, allocations: 95.94 kB / 0.8599 GB, free: 7.34 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03501/1.4, allocations: 11.68 MB / 0.8713 GB, free: 11.55 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0385/1.438, allocations: 8.586 MB / 0.8797 GB, free: 2.906 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007382/1.446, allocations: 2.335 MB / 0.882 GB, free: 0.5664 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03142/1.477, allocations: 22.64 MB / 0.9041 GB, free: 9.098 MB / 0.6076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007925/1.485, allocations: 0.6552 MB / 0.9047 GB, free: 8.441 MB / 0.6076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001747/1.487, allocations: 0.5844 MB / 0.9053 GB, free: 7.863 MB / 0.6076 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.00601/1.493, allocations: 3.456 MB / 0.9087 GB, free: 4.398 MB / 0.6076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001184/1.494, allocations: 0.5784 MB / 0.9092 GB, free: 3.812 MB / 0.6076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001909/1.496, allocations: 0.84 MB / 0.91 GB, free: 2.965 MB / 0.6076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.352e-05/1.496, allocations: 15.95 kB / 0.9101 GB, free: 2.949 MB / 0.6076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.024e-06/1.496, allocations: 0 / 0.9101 GB, free: 2.949 MB / 0.6076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/1.497, allocations: 0.6067 MB / 0.9106 GB, free: 2.316 MB / 0.6076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007483/1.498, allocations: 99.95 kB / 0.9107 GB, free: 2.219 MB / 0.6076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002596/1.501, allocations: 283.6 kB / 0.911 GB, free: 1.941 MB / 0.6076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005529/1.501, allocations: 213.6 kB / 0.9112 GB, free: 1.734 MB / 0.6076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01548/1.517, allocations: 8.144 MB / 0.9192 GB, free: 9.59 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01166/1.528, allocations: 8.986 MB / 0.9279 GB, free: 0.5234 MB / 0.6232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003252/1.532, allocations: 2.609 MB / 0.9305 GB, free: 13.91 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.00664/1.538, allocations: 4.081 MB / 0.9345 GB, free: 9.848 MB / 0.6388 GB Notification: Performance of Backend: time 6.31e-07/1.538, allocations: 0 / 0.9345 GB, free: 9.848 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.02169/1.56, allocations: 10.26 MB / 0.9445 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of SimCode: time 0.03021/1.59, allocations: 18.14 MB / 0.9622 GB, free: 13.21 MB / 0.6701 GB Notification: Performance of Templates: time 0.3958/1.986, allocations: 98.14 MB / 1.058 GB, free: 189.6 MB / 0.6701 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FreeBodies2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FreeBodies2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FreeBodies2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe 2>&1)