Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.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_4.0.0_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_4.0.0_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.001227/0.001226, allocations: 106.8 kB / 18.45 MB, free: 4.602 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.001358/0.001358, allocations: 183 kB / 19.38 MB, free: 3.68 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.462/1.462, allocations: 222.9 MB / 243.1 MB, free: 15.03 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.2281/0.2281, allocations: 44.18 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 71.88 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4351/0.4366, allocations: 60.82 MB / 0.5196 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FreeBodies): time 0.02449/0.4612, allocations: 20.08 MB / 0.5392 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01737/0.4786, allocations: 5.984 MB / 0.545 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005338/0.484, allocations: 137.4 kB / 0.5452 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.013/0.497, allocations: 5.994 MB / 0.551 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01154/0.5086, allocations: 3.135 MB / 0.5541 GB, free: 8.574 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004395/0.5131, allocations: 1.443 MB / 0.5555 GB, free: 7.129 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01575/0.5289, allocations: 9.235 MB / 0.5645 GB, free: 13.87 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01426/0.5432, allocations: 8.15 MB / 0.5725 GB, free: 5.625 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007405/0.5506, allocations: 3.264 MB / 0.5757 GB, free: 2.352 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008031/0.5587, allocations: 4.338 MB / 0.5799 GB, free: 14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002937/0.5617, allocations: 0.7188 MB / 0.5806 GB, free: 13.28 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00666/0.5684, allocations: 1.721 MB / 0.5823 GB, free: 11.56 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006803/0.5752, allocations: 3.998 MB / 0.5862 GB, free: 7.551 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008893/0.5841, allocations: 4.425 MB / 0.5905 GB, free: 3.102 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01844/0.6026, allocations: 13.44 MB / 0.6036 GB, free: 5.609 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.6026, allocations: 0 / 0.6036 GB, free: 5.609 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.6026, allocations: 7.844 kB / 0.6036 GB, free: 5.605 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005442/0.6032, allocations: 0 / 0.6036 GB, free: 5.605 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.0305/0.6337, allocations: 9.321 MB / 0.6127 GB, free: 12.19 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.633e-05/0.6338, allocations: 8.031 kB / 0.6127 GB, free: 12.18 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02512/0.659, allocations: 3.606 MB / 0.6163 GB, free: 8.562 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01334/0.6723, allocations: 5.592 MB / 0.6217 GB, free: 2.891 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005166/0.6729, allocations: 0.4933 MB / 0.6222 GB, free: 2.395 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00356/0.6765, allocations: 0.9987 MB / 0.6232 GB, free: 1.395 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04558/0.7221, allocations: 18.01 MB / 0.6408 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005171/0.7226, allocations: 87.2 kB / 0.6408 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002825/0.7255, allocations: 303.8 kB / 0.6411 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004668/0.7302, allocations: 2.756 MB / 0.6438 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03742/0.7676, allocations: 15.33 MB / 0.6588 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6775/1.445, allocations: 69.82 MB / 0.727 GB, free: 124.4 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02411/1.469, allocations: 7.873 MB / 0.7347 GB, free: 123.7 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00513/1.474, allocations: 3.634 MB / 0.7382 GB, free: 123.5 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02597/1.5, allocations: 17.89 MB / 0.7557 GB, free: 113.9 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.332e-05/1.501, allocations: 69.47 kB / 0.7558 GB, free: 113.9 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=303): time 6.983e-06/1.501, allocations: 0 / 0.7558 GB, free: 113.9 MB / 0.5607 GB Notification: Performance of matching and sorting (n=307): time 0.07778/1.578, allocations: 29.03 MB / 0.7841 GB, free: 90.5 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.492e-05/1.578, allocations: 238 kB / 0.7843 GB, free: 90.22 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009171/1.588, allocations: 6.573 MB / 0.7908 GB, free: 83.65 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0009293/1.589, allocations: 73.22 kB / 0.7908 GB, free: 83.58 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002834/1.591, allocations: 5.265 MB / 0.796 GB, free: 78.32 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001343/1.593, allocations: 1.258 MB / 0.7972 GB, free: 77.07 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002304/1.595, allocations: 2.034 MB / 0.7992 GB, free: 75.02 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.016e-05/1.595, allocations: 308.3 kB / 0.7995 GB, free: 74.72 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004613/1.6, allocations: 3.967 MB / 0.8033 GB, free: 70.75 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006894/1.607, allocations: 9.8 MB / 0.8129 GB, free: 58.21 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01307/1.62, allocations: 14.69 MB / 0.8273 GB, free: 40.92 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001166/1.62, allocations: 60 kB / 0.8273 GB, free: 40.86 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1322) (initialization): time 0.05014/1.67, allocations: 20.01 MB / 0.8469 GB, free: 20.76 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002812/1.67, allocations: 92 kB / 0.8469 GB, free: 20.67 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03775/1.708, allocations: 11.33 MB / 0.858 GB, free: 9.238 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03832/1.747, allocations: 8.223 MB / 0.866 GB, free: 0.9531 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007709/1.754, allocations: 2.324 MB / 0.8683 GB, free: 14.62 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03309/1.787, allocations: 22.53 MB / 0.8903 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01015/1.798, allocations: 0.6474 MB / 0.8909 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002077/1.8, allocations: 0.5815 MB / 0.8915 GB, free: 6.027 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.007903/1.808, allocations: 3.44 MB / 0.8949 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002355/1.81, allocations: 0.5862 MB / 0.8954 GB, free: 1.977 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01921/1.829, allocations: 7.618 MB / 0.9029 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-05/1.829, allocations: 11.95 kB / 0.9029 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/1.829, allocations: 8 kB / 0.9029 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002509/1.832, allocations: 0.6028 MB / 0.9035 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002228/1.834, allocations: 111.7 kB / 0.9036 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004716/1.839, allocations: 267.6 kB / 0.9039 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001091/1.84, allocations: 205.7 kB / 0.9041 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01857/1.859, allocations: 8.081 MB / 0.9119 GB, free: 1 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01389/1.872, allocations: 8.902 MB / 0.9206 GB, free: 8.023 MB / 0.6232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003563/1.876, allocations: 2.576 MB / 0.9232 GB, free: 5.445 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.009103/1.885, allocations: 4.081 MB / 0.9271 GB, free: 1.379 MB / 0.6232 GB Notification: Performance of Backend: time 5.71e-07/1.885, allocations: 0 / 0.9271 GB, free: 1.379 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.02621/1.911, allocations: 10.25 MB / 0.9371 GB, free: 6.902 MB / 0.6388 GB Notification: Performance of SimCode: time 0.04166/1.953, allocations: 18.14 MB / 0.9549 GB, free: 4.758 MB / 0.6544 GB Notification: Performance of Templates: time 0.4568/2.41, allocations: 96.78 MB / 1.049 GB, free: 176.2 MB / 0.6544 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodies.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodies.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodies.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodies.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodies.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodies -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodies.pipe 2>&1)