Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.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.BodyShape,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|freeMotion.w_rel_b.1.|freeMotion.w_rel_b.2.|freeMotion.w_rel_b.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape") translateModel(ModelicaTest.MultiBody.Parts.BodyShape,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|freeMotion.w_rel_b.1.|freeMotion.w_rel_b.2.|freeMotion.w_rel_b.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001183/0.001183, allocations: 95.64 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001433/0.001433, allocations: 207.2 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.2 MB / 245.9 MB, free: 12.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2215/0.2215, allocations: 45.92 MB / 344 MB, free: 12.37 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003142/0.0003142, allocations: 7.984 kB / 417.9 MB, free: 20.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1508, allocations: 63.45 MB / 481.4 MB, free: 5.473 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.2851/0.436, allocations: 39.41 MB / 0.5086 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02179/0.4578, allocations: 9.835 MB / 0.5182 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01008/0.4679, allocations: 197.3 kB / 0.5184 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008775/0.4768, allocations: 1.946 MB / 0.5203 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0265/0.5033, allocations: 5.72 MB / 0.5259 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004206/0.5075, allocations: 0.5846 MB / 0.5264 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006267/0.5138, allocations: 2.387 MB / 0.5288 GB, free: 8.199 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006467/0.5203, allocations: 3.979 MB / 0.5326 GB, free: 6.934 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002291/0.5227, allocations: 1.002 MB / 0.5336 GB, free: 6.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002006/0.5247, allocations: 1.236 MB / 0.5348 GB, free: 6.129 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005096/0.5252, allocations: 130.8 kB / 0.535 GB, free: 6.129 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002171/0.5274, allocations: 0.917 MB / 0.5359 GB, free: 5.902 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001443/0.5288, allocations: 1.557 MB / 0.5374 GB, free: 5.414 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000917/0.5298, allocations: 0.8182 MB / 0.5382 GB, free: 5.219 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00562/0.5354, allocations: 5.288 MB / 0.5433 GB, free: 2.391 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.5354, allocations: 0 / 0.5433 GB, free: 2.391 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.5354, allocations: 0 / 0.5433 GB, free: 2.391 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002827/0.5357, allocations: 0 / 0.5433 GB, free: 2.391 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1478 * Number of variables: 1478 Notification: Performance of Generate backend data structure: time 0.008877/0.5446, allocations: 3.969 MB / 0.5472 GB, free: 15.96 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.5447, allocations: 9.125 kB / 0.5472 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00928/0.554, allocations: 2.355 MB / 0.5495 GB, free: 14.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007313/0.5613, allocations: 2.527 MB / 0.552 GB, free: 12.4 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002216/0.5616, allocations: 240.8 kB / 0.5522 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001401/0.563, allocations: 403.2 kB / 0.5526 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01998/0.583, allocations: 10 MB / 0.5624 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001407/0.5832, allocations: 47.59 kB / 0.5624 GB, free: 2.098 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004536/0.5836, allocations: 145.7 kB / 0.5626 GB, free: 1.988 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002716/0.5864, allocations: 1.821 MB / 0.5643 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0194/0.6058, allocations: 8.441 MB / 0.5726 GB, free: 7.715 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05737/0.6632, allocations: 39.01 MB / 0.6107 GB, free: 15.7 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009998/0.6732, allocations: 3.779 MB / 0.6144 GB, free: 11.77 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01326/0.6865, allocations: 7.899 MB / 0.6221 GB, free: 3.531 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.466e-05/0.6866, allocations: 59.44 kB / 0.6221 GB, free: 3.465 MB / 462.1 MB Notification: Performance of pre-optimization done (n=144): time 4.819e-06/0.6867, allocations: 0 / 0.6221 GB, free: 3.465 MB / 462.1 MB Notification: Performance of matching and sorting (n=160): time 0.04041/0.7271, allocations: 14.64 MB / 0.6364 GB, free: 4.605 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001431/0.7285, allocations: 1.604 MB / 0.638 GB, free: 2.828 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007018/0.7356, allocations: 4.083 MB / 0.642 GB, free: 14.76 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005697/0.7362, allocations: 49.7 kB / 0.642 GB, free: 14.71 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002418/0.7386, allocations: 3.089 MB / 0.6451 GB, free: 11.62 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008927/0.7395, allocations: 0.6483 MB / 0.6457 GB, free: 10.98 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002669/0.7398, allocations: 116 kB / 0.6458 GB, free: 10.86 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003808/0.7402, allocations: 0.5543 MB / 0.6463 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003192/0.7434, allocations: 2.026 MB / 0.6483 GB, free: 8.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006884/0.7503, allocations: 5.739 MB / 0.6539 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005419/0.7557, allocations: 3.339 MB / 0.6572 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001238/0.7559, allocations: 36 kB / 0.6572 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.02432/0.7802, allocations: 9.338 MB / 0.6663 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000102/0.7804, allocations: 60 kB / 0.6664 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01105/0.7914, allocations: 3.623 MB / 0.6699 GB, free: 244 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01069/0.8021, allocations: 2.379 MB / 0.6723 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00518/0.8074, allocations: 1.365 MB / 0.6736 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01034/0.8177, allocations: 6.712 MB / 0.6801 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005831/0.8236, allocations: 413.8 kB / 0.6805 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001449/0.8251, allocations: 364 kB / 0.6809 GB, free: 4.738 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 604 * Number of states: 0 () * Number of discrete variables: 41 (freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.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 (740): * Single equations (assignments): 731 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005753/0.8309, allocations: 2.055 MB / 0.6829 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001085/0.832, allocations: 335.6 kB / 0.6832 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00131/0.8333, allocations: 445.5 kB / 0.6836 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005497/0.8388, allocations: 2.519 MB / 0.6861 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-05/0.8388, allocations: 4 kB / 0.6861 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.679e-05/0.8389, allocations: 7.969 kB / 0.6861 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0208/0.8597, allocations: 9.416 MB / 0.6953 GB, free: 5.781 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.276e-05/0.8598, allocations: 4 kB / 0.6953 GB, free: 5.777 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001238/0.861, allocations: 255.6 kB / 0.6955 GB, free: 5.527 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003255/0.8643, allocations: 1.068 MB / 0.6966 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000235/0.8645, allocations: 39.97 kB / 0.6966 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005522/0.87, allocations: 4.89 MB / 0.7014 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001042/0.8711, allocations: 1.474 MB / 0.7028 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009069/0.8802, allocations: 5.826 MB / 0.7085 GB, free: 7.66 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001349/0.8816, allocations: 404.5 kB / 0.7089 GB, free: 7.242 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003951/0.882, allocations: 35.98 kB / 0.709 GB, free: 7.207 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001389/0.8834, allocations: 143.8 kB / 0.7091 GB, free: 7.066 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002631/0.8837, allocations: 108.8 kB / 0.7092 GB, free: 6.961 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/0.8838, allocations: 51.94 kB / 0.7092 GB, free: 6.91 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004404/0.8882, allocations: 2.551 MB / 0.7117 GB, free: 4.379 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.11e-07/0.8882, allocations: 0 / 0.7117 GB, free: 4.379 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005692/0.8939, allocations: 1.034 MB / 0.7127 GB, free: 3.348 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 119 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005016/0.8944, allocations: 184 kB / 0.7129 GB, free: 3.16 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.2867/1.181, allocations: 5.508 MB / 0.7183 GB, free: 161.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/1.181, allocations: 4.781 kB / 0.7183 GB, free: 161.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005412/1.187, allocations: 2.076 MB / 0.7203 GB, free: 161 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003086/1.19, allocations: 425.7 kB / 0.7207 GB, free: 161 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01914/1.209, allocations: 10.95 MB / 0.7314 GB, free: 156.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004118/1.213, allocations: 3.267 MB / 0.7346 GB, free: 155.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004668/1.218, allocations: 1.872 MB / 0.7364 GB, free: 155.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007234/1.219, allocations: 237 kB / 0.7367 GB, free: 155.4 MB / 0.545 GB Notification: Performance of SimCode: time 1.392e-06/1.219, allocations: 4 kB / 0.7367 GB, free: 155.4 MB / 0.545 GB Notification: Performance of Templates: time 0.05845/1.277, allocations: 36.14 MB / 0.772 GB, free: 129.7 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/BodyShape/BodyShape.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches