Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.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.Frames.AngularVelocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.body.Q.1.|body.body.Q.2.|body.body.Q.3.|body.body.Q.4.|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity") translateModel(ModelicaTest.MultiBody.Frames.AngularVelocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.body.Q.1.|body.body.Q.2.|body.body.Q.3.|body.body.Q.4.|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001036/0.001036, allocations: 198.3 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.18/1.18, allocations: 227.2 MB / 245 MB, free: 5.852 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008159/0.0008159, allocations: 106.5 kB / 297.3 MB, free: 5.977 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2843/0.2843, allocations: 45.23 MB / 394.7 MB, free: 31.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000267/0.0002671, allocations: 8 kB / 468.4 MB, free: 7.727 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2654, allocations: 63.25 MB / 0.5192 GB, free: 37.61 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1329/0.3983, allocations: 109.7 MB / 0.6263 GB, free: 9.777 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/0.3986, allocations: 75.95 kB / 0.6263 GB, free: 9.703 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4279/0.8265, allocations: 82.15 MB / 0.7066 GB, free: 56.74 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.8265, allocations: 0 / 0.7066 GB, free: 56.74 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001356/0.8267, allocations: 78.16 kB / 0.7066 GB, free: 56.74 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1504 * Number of variables: 1504 Notification: Performance of Generate backend data structure: time 0.0139/0.8406, allocations: 4.506 MB / 0.711 GB, free: 54.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.8406, allocations: 11.3 kB / 0.7111 GB, free: 54.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009437/0.8501, allocations: 2.297 MB / 0.7133 GB, free: 54.61 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009969/0.8601, allocations: 4.083 MB / 0.7173 GB, free: 53.99 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002203/0.8603, allocations: 324.6 kB / 0.7176 GB, free: 53.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001477/0.8618, allocations: 425.6 kB / 0.718 GB, free: 53.98 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01858/0.8804, allocations: 10.39 MB / 0.7282 GB, free: 50.98 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001728/0.8806, allocations: 64.27 kB / 0.7282 GB, free: 50.95 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006534/0.8813, allocations: 212.1 kB / 0.7284 GB, free: 50.94 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0011/0.8824, allocations: 0.974 MB / 0.7294 GB, free: 50.92 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01285/0.8953, allocations: 8.302 MB / 0.7375 GB, free: 50.59 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03841/0.9337, allocations: 48.38 MB / 0.7847 GB, free: 19.99 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007665/0.9414, allocations: 3.685 MB / 0.7883 GB, free: 19.27 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009655/0.9511, allocations: 7.907 MB / 0.796 GB, free: 15.32 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.9512, allocations: 50.69 kB / 0.7961 GB, free: 15.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=141): time 4.178e-06/0.9512, allocations: 0 / 0.7961 GB, free: 15.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=148): time 0.02405/0.9752, allocations: 12.53 MB / 0.8083 GB, free: 9.934 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001079/0.9763, allocations: 1.63 MB / 0.8099 GB, free: 24.31 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003972/0.9803, allocations: 3.427 MB / 0.8133 GB, free: 22.75 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001948/0.9805, allocations: 44.45 kB / 0.8133 GB, free: 22.71 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001242/0.9818, allocations: 3.058 MB / 0.8163 GB, free: 20.03 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004419/0.9822, allocations: 0.5971 MB / 0.8169 GB, free: 19.54 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002079/0.9824, allocations: 117.5 kB / 0.817 GB, free: 19.45 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002977/0.9828, allocations: 0.5468 MB / 0.8175 GB, free: 18.97 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002131/0.9849, allocations: 2.005 MB / 0.8195 GB, free: 18 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003865/0.9888, allocations: 5.637 MB / 0.825 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003809/0.9926, allocations: 3.285 MB / 0.8282 GB, free: 9.262 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.846e-05/0.9926, allocations: 36 kB / 0.8282 GB, free: 9.227 MB / 0.4948 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01699/1.01, allocations: 8.831 MB / 0.8369 GB, free: 392 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.238e-05/1.01, allocations: 60 kB / 0.8369 GB, free: 332 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008882/1.019, allocations: 3.282 MB / 0.8401 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008669/1.027, allocations: 1.909 MB / 0.842 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004509/1.032, allocations: 1.322 MB / 0.8433 GB, free: 9.781 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008304/1.04, allocations: 5.97 MB / 0.8491 GB, free: 3.547 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005544/1.046, allocations: 398.9 kB / 0.8495 GB, free: 3.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001532/1.047, allocations: 363.8 kB / 0.8498 GB, free: 2.809 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 590 * Number of states: 0 () * Number of discrete variables: 41 (FrameTorque1.arrow.arrowLine.twoHeadedArrow,FrameTorque1.arrow.headAtOrigin,FrameTorque1.color[3],FrameTorque1.color[2],FrameTorque1.color[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 (714): * Single equations (assignments): 705 * 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.004869/1.052, allocations: 2.029 MB / 0.8518 GB, free: 0.7695 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009075/1.053, allocations: 331.7 kB / 0.8521 GB, free: 456 kB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0059/1.059, allocations: 2.926 MB / 0.855 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004432/1.063, allocations: 2.465 MB / 0.8574 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.888e-05/1.064, allocations: 4 kB / 0.8574 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.238e-05/1.064, allocations: 11.92 kB / 0.8574 GB, free: 11 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01583/1.079, allocations: 8.519 MB / 0.8657 GB, free: 2.406 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/1.079, allocations: 4.094 kB / 0.8657 GB, free: 2.402 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/1.081, allocations: 255.5 kB / 0.866 GB, free: 2.152 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002836/1.083, allocations: 1.025 MB / 0.867 GB, free: 1.113 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001241/1.084, allocations: 39.97 kB / 0.867 GB, free: 1.074 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005382/1.089, allocations: 5.098 MB / 0.872 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001038/1.09, allocations: 1.493 MB / 0.8734 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008049/1.098, allocations: 5.318 MB / 0.8786 GB, free: 4.695 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/1.099, allocations: 392.7 kB / 0.879 GB, free: 4.289 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003312/1.1, allocations: 27.98 kB / 0.879 GB, free: 4.262 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/1.101, allocations: 135.8 kB / 0.8792 GB, free: 4.129 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002236/1.101, allocations: 88.81 kB / 0.8793 GB, free: 4.039 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001196/1.101, allocations: 51.88 kB / 0.8793 GB, free: 3.992 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00377/1.105, allocations: 2.365 MB / 0.8816 GB, free: 1.645 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.61e-07/1.105, allocations: 0 / 0.8816 GB, free: 1.645 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005099/1.11, allocations: 1.047 MB / 0.8826 GB, free: 0.5977 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[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 (114): * Single equations (assignments): 107 * 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 {(3,100.0%),(4,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.0004946/1.111, allocations: 171.4 kB / 0.8828 GB, free: 436 kB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.2057/1.316, allocations: 5.443 MB / 0.8881 GB, free: 141.1 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/1.316, allocations: 7.828 kB / 0.8881 GB, free: 141.1 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003601/1.32, allocations: 2.143 MB / 0.8902 GB, free: 140.7 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002091/1.322, allocations: 400.6 kB / 0.8906 GB, free: 140.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01448/1.337, allocations: 10.88 MB / 0.9012 GB, free: 136.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003042/1.34, allocations: 3.25 MB / 0.9044 GB, free: 135.6 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0043/1.344, allocations: 1.824 MB / 0.9062 GB, free: 135.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005272/1.345, allocations: 229.9 kB / 0.9064 GB, free: 135.5 MB / 0.5417 GB Notification: Performance of SimCode: time 1.082e-06/1.345, allocations: 0 / 0.9064 GB, free: 135.5 MB / 0.5417 GB Notification: Performance of Templates: time 0.05334/1.398, allocations: 35.08 MB / 0.9406 GB, free: 133.5 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Frames/AngularVelocity/AngularVelocity.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches