Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000973/0.000973, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 221.4 MB / 236 MB, free: 2.898 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008733/0.0008734, allocations: 91.8 kB / 287 MB, free: 196 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1824/0.1824, allocations: 44.15 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.517e-05/2.519e-05, allocations: 4.219 kB / 451.8 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1177, allocations: 61.91 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3704/0.4881, allocations: 108.5 MB / 0.6076 GB, free: 12.82 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002105/0.4883, allocations: 75.97 kB / 0.6077 GB, free: 12.74 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1946/0.683, allocations: 82.91 MB / 0.6887 GB, free: 9.332 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.803e-06/0.6831, allocations: 0 / 0.6887 GB, free: 9.332 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001685/0.6832, allocations: 83.98 kB / 0.6888 GB, free: 9.25 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.009061/0.6923, allocations: 3.896 MB / 0.6926 GB, free: 5.289 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.6924, allocations: 12.03 kB / 0.6926 GB, free: 5.277 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01086/0.7033, allocations: 2.319 MB / 0.6948 GB, free: 2.949 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01153/0.7148, allocations: 5.043 MB / 0.6998 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002325/0.7151, allocations: 312.3 kB / 0.7001 GB, free: 13.53 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001038/0.7162, allocations: 427.8 kB / 0.7005 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01963/0.7358, allocations: 10.29 MB / 0.7105 GB, free: 1.766 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001765/0.736, allocations: 71.33 kB / 0.7106 GB, free: 1.695 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006626/0.7367, allocations: 203.9 kB / 0.7108 GB, free: 1.496 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001285/0.738, allocations: 0.9907 MB / 0.7117 GB, free: 0.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2868/1.025, allocations: 8.263 MB / 0.7198 GB, free: 123.1 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04677/1.072, allocations: 48.11 MB / 0.7668 GB, free: 92.66 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007801/1.08, allocations: 3.685 MB / 0.7704 GB, free: 91.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001672/1.081, allocations: 1.535 MB / 0.7719 GB, free: 90.54 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008389/1.09, allocations: 7.628 MB / 0.7793 GB, free: 86.18 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/1.09, allocations: 47.22 kB / 0.7794 GB, free: 86.12 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=144): time 4.328e-06/1.09, allocations: 0 / 0.7794 GB, free: 86.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=160): time 0.0255/1.115, allocations: 12.01 MB / 0.7911 GB, free: 81.67 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008273/1.116, allocations: 1.601 MB / 0.7927 GB, free: 80.08 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004294/1.12, allocations: 3.403 MB / 0.796 GB, free: 78.9 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000252/1.121, allocations: 50.38 kB / 0.796 GB, free: 78.85 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001384/1.122, allocations: 3.101 MB / 0.7991 GB, free: 76.47 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005391/1.123, allocations: 0.6442 MB / 0.7997 GB, free: 76.01 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001978/1.123, allocations: 114.9 kB / 0.7998 GB, free: 75.92 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002371/1.123, allocations: 0.5619 MB / 0.8004 GB, free: 75.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002198/1.125, allocations: 1.935 MB / 0.8023 GB, free: 74.87 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003609/1.129, allocations: 5.651 MB / 0.8078 GB, free: 69.16 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003523/1.132, allocations: 3.28 MB / 0.811 GB, free: 68.06 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.852e-05/1.132, allocations: 37.19 kB / 0.811 GB, free: 68.06 MB / 0.5105 GB Notification: Performance of matching and sorting (n=780) (initialization): time 0.01139/1.144, allocations: 8.139 MB / 0.819 GB, free: 65.17 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.604e-05/1.144, allocations: 72.59 kB / 0.819 GB, free: 65.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003924/1.148, allocations: 2.484 MB / 0.8215 GB, free: 64.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00305/1.151, allocations: 1.139 MB / 0.8226 GB, free: 64.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003835/1.155, allocations: 1.368 MB / 0.8239 GB, free: 62.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003975/1.159, allocations: 4.687 MB / 0.8285 GB, free: 58.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005302/1.164, allocations: 384.4 kB / 0.8288 GB, free: 58.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009756/1.165, allocations: 370 kB / 0.8292 GB, free: 57.77 MB / 0.5105 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 () * 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.001062/1.166, allocations: 0.5715 MB / 0.8298 GB, free: 57.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008229/1.167, allocations: 335.6 kB / 0.8301 GB, free: 56.87 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004995/1.172, allocations: 2.904 MB / 0.8329 GB, free: 54.56 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003753/1.176, allocations: 2.418 MB / 0.8353 GB, free: 52.63 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/1.176, allocations: 4 kB / 0.8353 GB, free: 52.63 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.798e-05/1.176, allocations: 15.64 kB / 0.8353 GB, free: 52.62 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01329/1.189, allocations: 9.194 MB / 0.8443 GB, free: 45.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/1.189, allocations: 4 kB / 0.8443 GB, free: 45.22 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009644/1.19, allocations: 246.8 kB / 0.8445 GB, free: 45.03 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002512/1.193, allocations: 1.014 MB / 0.8455 GB, free: 44.35 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/1.193, allocations: 47.25 kB / 0.8455 GB, free: 44.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003972/1.197, allocations: 4.835 MB / 0.8503 GB, free: 39.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005932/1.197, allocations: 1.456 MB / 0.8517 GB, free: 38.28 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006263/1.204, allocations: 5.618 MB / 0.8572 GB, free: 33.23 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009088/1.205, allocations: 393.6 kB / 0.8576 GB, free: 32.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003041/1.205, allocations: 40.5 kB / 0.8576 GB, free: 32.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/1.206, allocations: 128.7 kB / 0.8577 GB, free: 32.72 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002091/1.206, allocations: 101.9 kB / 0.8578 GB, free: 32.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/1.206, allocations: 52.5 kB / 0.8579 GB, free: 32.62 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002937/1.209, allocations: 2.343 MB / 0.8601 GB, free: 30.56 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/1.209, allocations: 0 / 0.8601 GB, free: 30.56 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004113/1.214, allocations: 1.009 MB / 0.8611 GB, free: 29.56 MB / 0.5105 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 () * 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.0003926/1.214, allocations: 186.9 kB / 0.8613 GB, free: 29.38 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00745/1.221, allocations: 5.319 MB / 0.8665 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.307e-06/1.221, allocations: 4 kB / 0.8665 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003521/1.225, allocations: 2.102 MB / 0.8686 GB, free: 22.71 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002292/1.227, allocations: 430.5 kB / 0.869 GB, free: 22.36 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01088/1.238, allocations: 7.691 MB / 0.8765 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002602/1.241, allocations: 3.263 MB / 0.8797 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00404/1.245, allocations: 1.863 MB / 0.8815 GB, free: 10.31 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004959/1.245, allocations: 239.4 kB / 0.8817 GB, free: 10.08 MB / 0.5105 GB Notification: Performance of SimCode: time 1.132e-06/1.245, allocations: 0 / 0.8817 GB, free: 10.08 MB / 0.5105 GB Notification: Performance of Templates: time 0.313/1.558, allocations: 33.27 MB / 0.9142 GB, free: 120.7 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches