Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.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.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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009147/0.0009146, allocations: 183 kB / 18.09 MB, free: 3.625 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.284/1.284, allocations: 223.3 MB / 242.1 MB, free: 11.67 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009471/0.000947, allocations: 105 kB / 293.3 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3221/0.3221, allocations: 44.14 MB / 388.5 MB, free: 38.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004247/0.0004248, allocations: 8 kB / 461.1 MB, free: 1.324 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2857, allocations: 61.87 MB / 0.5107 GB, free: 38.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1234/0.4092, allocations: 108.9 MB / 0.617 GB, free: 2.168 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/0.4095, allocations: 79.95 kB / 0.6171 GB, free: 2.094 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4068/0.8163, allocations: 80.54 MB / 0.6958 GB, free: 95.78 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.8164, allocations: 0 / 0.6958 GB, free: 95.78 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002297/0.8166, allocations: 80.78 kB / 0.6958 GB, free: 95.78 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.0138/0.8304, allocations: 4.358 MB / 0.7001 GB, free: 93.95 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.8305, allocations: 10.53 kB / 0.7001 GB, free: 93.95 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008856/0.8393, allocations: 2.207 MB / 0.7023 GB, free: 93.68 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008369/0.8477, allocations: 3.506 MB / 0.7057 GB, free: 93.09 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003015/0.8481, allocations: 328.2 kB / 0.706 GB, free: 93.07 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001773/0.8499, allocations: 431.9 kB / 0.7064 GB, free: 93.07 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02324/0.8731, allocations: 10.32 MB / 0.7165 GB, free: 90.22 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003211/0.8735, allocations: 67.39 kB / 0.7165 GB, free: 90.21 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001511/0.875, allocations: 205.1 kB / 0.7167 GB, free: 90.21 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00153/0.8766, allocations: 0.9867 MB / 0.7177 GB, free: 90.18 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01536/0.8919, allocations: 8.18 MB / 0.7257 GB, free: 87.58 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04182/0.9338, allocations: 48.32 MB / 0.7729 GB, free: 50.61 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007544/0.9414, allocations: 3.675 MB / 0.7765 GB, free: 49.14 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001763/0.9432, allocations: 1.621 MB / 0.7781 GB, free: 48.46 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009452/0.9526, allocations: 7.841 MB / 0.7857 GB, free: 43.77 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.9527, allocations: 50.66 kB / 0.7858 GB, free: 43.72 MB / 490.7 MB Notification: Performance of pre-optimization done (n=141): time 4.708e-06/0.9527, allocations: 4 kB / 0.7858 GB, free: 43.72 MB / 490.7 MB Notification: Performance of matching and sorting (n=148): time 0.02537/0.9781, allocations: 12.28 MB / 0.7978 GB, free: 38.29 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009322/0.9791, allocations: 1.625 MB / 0.7993 GB, free: 36.55 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006123/0.9852, allocations: 3.827 MB / 0.8031 GB, free: 33.36 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002667/0.9855, allocations: 45.7 kB / 0.8031 GB, free: 33.31 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001501/0.987, allocations: 3.059 MB / 0.8061 GB, free: 30.56 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006447/0.9877, allocations: 0.6048 MB / 0.8067 GB, free: 30.04 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004124/0.9881, allocations: 112.1 kB / 0.8068 GB, free: 29.93 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003189/0.9885, allocations: 0.5505 MB / 0.8073 GB, free: 29.44 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002588/0.991, allocations: 2.011 MB / 0.8093 GB, free: 27.74 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003839/0.9949, allocations: 5.652 MB / 0.8148 GB, free: 20.68 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006633/1.002, allocations: 8.263 MB / 0.8229 GB, free: 11.11 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001006/1.002, allocations: 36 kB / 0.8229 GB, free: 11.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01711/1.019, allocations: 8.869 MB / 0.8316 GB, free: 3.621 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001393/1.019, allocations: 60 kB / 0.8317 GB, free: 3.562 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008619/1.028, allocations: 3.298 MB / 0.8349 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008191/1.036, allocations: 1.918 MB / 0.8367 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004386/1.04, allocations: 1.326 MB / 0.838 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007974/1.048, allocations: 5.762 MB / 0.8437 GB, free: 7.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005108/1.053, allocations: 391.3 kB / 0.844 GB, free: 7.137 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00133/1.055, allocations: 367.6 kB / 0.8444 GB, free: 6.781 MB / 0.4948 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.00503/1.06, allocations: 2.028 MB / 0.8464 GB, free: 4.742 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008195/1.061, allocations: 327.7 kB / 0.8467 GB, free: 4.418 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006196/1.067, allocations: 2.929 MB / 0.8495 GB, free: 1.469 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004523/1.071, allocations: 2.472 MB / 0.852 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-05/1.071, allocations: 4 kB / 0.852 GB, free: 14.97 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.13e-05/1.071, allocations: 7.984 kB / 0.852 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01898/1.09, allocations: 8.527 MB / 0.8603 GB, free: 6.363 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.717e-05/1.091, allocations: 7.75 kB / 0.8603 GB, free: 6.359 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/1.092, allocations: 247.6 kB / 0.8605 GB, free: 6.117 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002882/1.095, allocations: 1.029 MB / 0.8615 GB, free: 5.078 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002629/1.095, allocations: 31.98 kB / 0.8616 GB, free: 5.047 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005588/1.101, allocations: 5.032 MB / 0.8665 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009644/1.102, allocations: 1.477 MB / 0.8679 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008284/1.11, allocations: 5.157 MB / 0.873 GB, free: 8.945 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001044/1.111, allocations: 392.7 kB / 0.8733 GB, free: 8.539 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006808/1.112, allocations: 31.98 kB / 0.8734 GB, free: 8.508 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001715/1.113, allocations: 135.8 kB / 0.8735 GB, free: 8.375 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003028/1.114, allocations: 92.73 kB / 0.8736 GB, free: 8.285 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001382/1.114, allocations: 42.8 kB / 0.8736 GB, free: 8.246 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004655/1.118, allocations: 2.373 MB / 0.876 GB, free: 5.891 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.6e-07/1.118, allocations: 0 / 0.876 GB, free: 5.891 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005864/1.124, allocations: 1.035 MB / 0.877 GB, free: 4.855 MB / 0.5261 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.0006184/1.125, allocations: 170.6 kB / 0.8771 GB, free: 4.684 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.2175/1.342, allocations: 5.47 MB / 0.8825 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.784e-06/1.343, allocations: 0.5312 kB / 0.8825 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003684/1.346, allocations: 2.143 MB / 0.8846 GB, free: 129.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003164/1.349, allocations: 413.9 kB / 0.885 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01517/1.365, allocations: 10.9 MB / 0.8956 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003096/1.368, allocations: 3.16 MB / 0.8987 GB, free: 124.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004292/1.372, allocations: 1.824 MB / 0.9005 GB, free: 124.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006536/1.373, allocations: 230.7 kB / 0.9007 GB, free: 124.2 MB / 0.5261 GB Notification: Performance of SimCode: time 5.11e-07/1.373, allocations: 0 / 0.9007 GB, free: 124.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.06567/1.438, allocations: 35.18 MB / 0.935 GB, free: 122.4 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Frames/AngularVelocity/AngularVelocity.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches