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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001255/0.001255, allocations: 199 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.212/1.212, allocations: 227.2 MB / 245 MB, free: 7.59 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008466/0.0008467, allocations: 97.61 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3156/0.3156, allocations: 45.23 MB / 394.7 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002377/0.0002377, allocations: 8 kB / 468.4 MB, free: 7.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2778, allocations: 63.25 MB / 0.5192 GB, free: 43.68 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1195/0.3973, allocations: 109.5 MB / 0.6261 GB, free: 12.16 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001884/0.3975, allocations: 83.95 kB / 0.6262 GB, free: 12.07 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4365/0.834, allocations: 85.09 MB / 0.7092 GB, free: 96.82 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.653e-06/0.834, allocations: 0 / 0.7092 GB, free: 96.82 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002246/0.8343, allocations: 81.19 kB / 0.7093 GB, free: 96.82 MB / 0.4948 GB 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.01068/0.845, allocations: 4.159 MB / 0.7134 GB, free: 94.98 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.845, allocations: 8.969 kB / 0.7134 GB, free: 94.98 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009738/0.8547, allocations: 2.385 MB / 0.7157 GB, free: 94.7 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009998/0.8648, allocations: 4.41 MB / 0.72 GB, free: 94.14 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002687/0.8651, allocations: 314.5 kB / 0.7203 GB, free: 94.13 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001615/0.8667, allocations: 428.5 kB / 0.7207 GB, free: 94.12 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01814/0.8849, allocations: 10.38 MB / 0.7309 GB, free: 91.32 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001559/0.885, allocations: 62.28 kB / 0.7309 GB, free: 91.32 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006386/0.8857, allocations: 205.3 kB / 0.7311 GB, free: 91.32 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001329/0.887, allocations: 0.9878 MB / 0.7321 GB, free: 91.3 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01578/0.9028, allocations: 8.396 MB / 0.7403 GB, free: 91.09 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03827/0.9411, allocations: 48.11 MB / 0.7873 GB, free: 54.54 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007746/0.9489, allocations: 3.705 MB / 0.7909 GB, free: 53.05 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009254/0.9582, allocations: 7.627 MB / 0.7983 GB, free: 48.55 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.9583, allocations: 45.62 kB / 0.7984 GB, free: 48.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=144): time 3.867e-06/0.9583, allocations: 4 kB / 0.7984 GB, free: 48.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=160): time 0.02895/0.9873, allocations: 14.18 MB / 0.8122 GB, free: 42.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008573/0.9881, allocations: 1.6 MB / 0.8138 GB, free: 41 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00396/0.9921, allocations: 3.439 MB / 0.8171 GB, free: 39.75 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002139/0.9923, allocations: 49.55 kB / 0.8172 GB, free: 39.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001286/0.9936, allocations: 3.097 MB / 0.8202 GB, free: 37.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004695/0.9941, allocations: 0.6447 MB / 0.8209 GB, free: 36.85 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001971/0.9943, allocations: 119.3 kB / 0.821 GB, free: 36.75 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002217/0.9946, allocations: 0.5575 MB / 0.8215 GB, free: 36.34 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002113/0.9967, allocations: 1.974 MB / 0.8234 GB, free: 35.71 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003272/1, allocations: 5.699 MB / 0.829 GB, free: 29.88 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003383/1.003, allocations: 3.278 MB / 0.8322 GB, free: 27.84 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.505e-05/1.003, allocations: 43.95 kB / 0.8322 GB, free: 27.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=780) (initialization): time 0.01072/1.014, allocations: 8.228 MB / 0.8403 GB, free: 20.66 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.225e-05/1.014, allocations: 64 kB / 0.8403 GB, free: 20.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003914/1.018, allocations: 2.508 MB / 0.8428 GB, free: 18.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002889/1.021, allocations: 1.134 MB / 0.8439 GB, free: 17.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003587/1.025, allocations: 1.363 MB / 0.8452 GB, free: 16.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003828/1.028, allocations: 4.775 MB / 0.8499 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003808/1.032, allocations: 381.6 kB / 0.8503 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004266/1.033, allocations: 375.5 kB / 0.8506 GB, free: 11.36 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 606 * 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 (742): * Single equations (assignments): 733 * 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.002562/1.035, allocations: 2.039 MB / 0.8526 GB, free: 9.559 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004297/1.036, allocations: 339.6 kB / 0.8529 GB, free: 9.223 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004513/1.04, allocations: 2.908 MB / 0.8558 GB, free: 6.91 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003674/1.044, allocations: 2.445 MB / 0.8582 GB, free: 4.957 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/1.044, allocations: 7.938 kB / 0.8582 GB, free: 4.949 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/1.044, allocations: 6.938 kB / 0.8582 GB, free: 4.949 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01422/1.058, allocations: 9.23 MB / 0.8672 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-05/1.058, allocations: 7.984 kB / 0.8672 GB, free: 12.33 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/1.059, allocations: 257.6 kB / 0.8674 GB, free: 12.08 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002846/1.062, allocations: 1.01 MB / 0.8684 GB, free: 11.06 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001319/1.062, allocations: 39.98 kB / 0.8685 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005023/1.067, allocations: 4.923 MB / 0.8733 GB, free: 5.844 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008782/1.068, allocations: 1.474 MB / 0.8747 GB, free: 4.234 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007611/1.076, allocations: 5.668 MB / 0.8802 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001068/1.077, allocations: 396.6 kB / 0.8806 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003379/1.077, allocations: 35.95 kB / 0.8807 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/1.079, allocations: 127.8 kB / 0.8808 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002239/1.079, allocations: 108.7 kB / 0.8809 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001149/1.079, allocations: 51.92 kB / 0.8809 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003353/1.082, allocations: 2.375 MB / 0.8833 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/1.082, allocations: 0 / 0.8833 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004083/1.086, allocations: 1.023 MB / 0.8843 GB, free: 10.31 MB / 0.5261 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.0003713/1.087, allocations: 180 kB / 0.8844 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007829/1.095, allocations: 5.387 MB / 0.8897 GB, free: 4.707 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/1.095, allocations: 0 / 0.8897 GB, free: 4.707 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003509/1.098, allocations: 2.113 MB / 0.8917 GB, free: 2.523 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001893/1.1, allocations: 429 kB / 0.8922 GB, free: 2.109 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01528/1.115, allocations: 10.9 MB / 0.9028 GB, free: 7.172 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003226/1.119, allocations: 3.264 MB / 0.906 GB, free: 3.891 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.004354/1.123, allocations: 1.869 MB / 0.9078 GB, free: 2.023 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005782/1.124, allocations: 231.4 kB / 0.908 GB, free: 1.797 MB / 0.5417 GB Notification: Performance of SimCode: time 6.01e-07/1.124, allocations: 0 / 0.908 GB, free: 1.797 MB / 0.5417 GB Notification: Performance of Templates: time 0.2612/1.385, allocations: 33.25 MB / 0.9405 GB, free: 124.5 MB / 0.5417 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