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.00149/0.00149, allocations: 109.1 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001607/0.001607, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.4 MB / 246.9 MB, free: 8.996 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2046/0.2046, allocations: 46.1 MB / 344.3 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 77.16 kB / 417.5 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1196, allocations: 62.46 MB / 479.9 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.2513/0.371, allocations: 42.14 MB / 0.5098 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01862/0.3897, allocations: 9.249 MB / 0.5189 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008024/0.3977, allocations: 186.4 kB / 0.5191 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004817/0.4026, allocations: 2.55 MB / 0.5215 GB, free: 8.332 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004719/0.4074, allocations: 1.659 MB / 0.5232 GB, free: 7.801 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001763/0.4091, allocations: 0.6711 MB / 0.5238 GB, free: 7.543 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007204/0.4163, allocations: 5.934 MB / 0.5296 GB, free: 6.152 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003892/0.4203, allocations: 3.325 MB / 0.5329 GB, free: 4.391 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002212/0.4225, allocations: 1.323 MB / 0.5342 GB, free: 3.742 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002552/0.4251, allocations: 2.095 MB / 0.5362 GB, free: 2.664 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005485/0.4256, allocations: 223.3 kB / 0.5364 GB, free: 2.664 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0024/0.4281, allocations: 1.19 MB / 0.5376 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001359/0.4294, allocations: 1.813 MB / 0.5393 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001963/0.4314, allocations: 2.058 MB / 0.5414 GB, free: 15.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005487/0.4369, allocations: 5.282 MB / 0.5465 GB, free: 11.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.4369, allocations: 7.875 kB / 0.5465 GB, free: 11.65 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4369, allocations: 0 / 0.5465 GB, free: 11.65 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001886/0.4371, allocations: 0 / 0.5465 GB, free: 11.65 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1449 * Number of variables: 1449 Notification: Performance of Generate backend data structure: time 0.008748/0.4459, allocations: 4.593 MB / 0.551 GB, free: 7.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.4459, allocations: 15.97 kB / 0.551 GB, free: 7.074 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006916/0.4529, allocations: 1.955 MB / 0.5529 GB, free: 5.113 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004845/0.4577, allocations: 2.287 MB / 0.5552 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001781/0.458, allocations: 237.1 kB / 0.5554 GB, free: 2.594 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009834/0.4589, allocations: 400.2 kB / 0.5558 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01777/0.4767, allocations: 9.709 MB / 0.5653 GB, free: 7.949 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001256/0.4769, allocations: 47.53 kB / 0.5653 GB, free: 7.902 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004976/0.4774, allocations: 154.2 kB / 0.5654 GB, free: 7.785 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002538/0.4799, allocations: 1.754 MB / 0.5672 GB, free: 6.039 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01574/0.4957, allocations: 8.188 MB / 0.5752 GB, free: 13.83 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04797/0.5437, allocations: 38.46 MB / 0.6127 GB, free: 6.344 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009278/0.553, allocations: 3.758 MB / 0.6164 GB, free: 2.438 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002155/0.5552, allocations: 1.565 MB / 0.6179 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01107/0.5663, allocations: 7.821 MB / 0.6255 GB, free: 8.695 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.287e-05/0.5664, allocations: 55.56 kB / 0.6256 GB, free: 8.633 MB / 478.1 MB Notification: Performance of pre-optimization done (n=144): time 4.098e-06/0.5664, allocations: 0 / 0.6256 GB, free: 8.633 MB / 478.1 MB Notification: Performance of matching and sorting (n=160): time 0.03916/0.6056, allocations: 14.24 MB / 0.6395 GB, free: 10.23 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001313/0.607, allocations: 1.59 MB / 0.6411 GB, free: 8.461 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006548/0.6135, allocations: 3.818 MB / 0.6448 GB, free: 4.656 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003529/0.6139, allocations: 52.67 kB / 0.6448 GB, free: 4.602 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002131/0.6161, allocations: 3.028 MB / 0.6478 GB, free: 1.574 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008529/0.6169, allocations: 0.6507 MB / 0.6484 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002133/0.6191, allocations: 1.209 MB / 0.6496 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.889e-05/0.6192, allocations: 301.1 kB / 0.6499 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00304/0.6222, allocations: 2.038 MB / 0.6519 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005449/0.6277, allocations: 5.738 MB / 0.6575 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009682/0.6374, allocations: 8.365 MB / 0.6657 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001096/0.6375, allocations: 40 kB / 0.6657 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of matching and sorting (n=780) (initialization): time 0.02205/0.6596, allocations: 9.328 MB / 0.6748 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001214/0.6598, allocations: 60 kB / 0.6749 GB, free: 2.137 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01079/0.6706, allocations: 3.612 MB / 0.6784 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01032/0.6809, allocations: 2.351 MB / 0.6807 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005272/0.6863, allocations: 1.368 MB / 0.682 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009465/0.6958, allocations: 6.399 MB / 0.6883 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004799/0.7006, allocations: 391.4 kB / 0.6886 GB, free: 3.719 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001275/0.7019, allocations: 379.1 kB / 0.689 GB, free: 3.352 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 598 * Number of states: 0 () * Number of discrete variables: 41 (freeMotion.arrow.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 (742): * Single equations (assignments): 733 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004498/0.7064, allocations: 2.006 MB / 0.691 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008498/0.7073, allocations: 335.6 kB / 0.6913 GB, free: 1 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001148/0.7084, allocations: 444.9 kB / 0.6917 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00529/0.7138, allocations: 2.513 MB / 0.6942 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.702e-05/0.7138, allocations: 4 kB / 0.6942 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.449e-05/0.7138, allocations: 7.969 kB / 0.6942 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01917/0.733, allocations: 9.27 MB / 0.7032 GB, free: 4.609 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-05/0.7331, allocations: 4.469 kB / 0.7032 GB, free: 4.605 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001304/0.7344, allocations: 263.6 kB / 0.7035 GB, free: 4.348 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003439/0.7378, allocations: 1.068 MB / 0.7045 GB, free: 3.266 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002869/0.7382, allocations: 39.97 kB / 0.7046 GB, free: 3.227 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2335/0.9717, allocations: 4.793 MB / 0.7092 GB, free: 191.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007668/0.9725, allocations: 1.454 MB / 0.7107 GB, free: 189.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008468/0.981, allocations: 5.365 MB / 0.7159 GB, free: 188.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009081/0.9819, allocations: 387.7 kB / 0.7163 GB, free: 188.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005373/0.9824, allocations: 37.84 kB / 0.7163 GB, free: 188.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001562/0.984, allocations: 134.1 kB / 0.7164 GB, free: 188.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002942/0.9843, allocations: 108.1 kB / 0.7165 GB, free: 188.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001279/0.9844, allocations: 53.78 kB / 0.7166 GB, free: 188.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003831/0.9883, allocations: 2.357 MB / 0.7189 GB, free: 187.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.61e-07/0.9883, allocations: 1.219 kB / 0.7189 GB, free: 187.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005238/0.9936, allocations: 1.001 MB / 0.7199 GB, free: 187.4 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 (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004249/0.994, allocations: 167.7 kB / 0.72 GB, free: 187.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009279/1.003, allocations: 5.554 MB / 0.7255 GB, free: 185.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/1.003, allocations: 4.75 kB / 0.7255 GB, free: 185.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003522/1.007, allocations: 2.082 MB / 0.7275 GB, free: 184.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002764/1.01, allocations: 435.4 kB / 0.7279 GB, free: 184.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01365/1.023, allocations: 11.54 MB / 0.7392 GB, free: 178 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002473/1.026, allocations: 3.132 MB / 0.7422 GB, free: 176.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008131/1.027, allocations: 277.5 kB / 0.7425 GB, free: 176.7 MB / 0.545 GB Notification: Performance of SimCode: time 6.21e-07/1.027, allocations: 7.781 kB / 0.7425 GB, free: 176.7 MB / 0.545 GB Notification: Performance of Templates: time 0.1104/1.137, allocations: 126.8 MB / 0.8663 GB, free: 55.4 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/BodyShape/BodyShape.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches