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.0009661/0.0009661, allocations: 176.7 kB / 17.06 MB, free: 5.094 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.34/1.34, allocations: 223.2 MB / 241 MB, free: 11.87 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.0008428/0.0008427, allocations: 94.3 kB / 292.2 MB, free: 10.91 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.3047/0.3047, allocations: 44.22 MB / 387.5 MB, free: 38.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003235/0.0003236, allocations: 8 kB / 459.9 MB, free: 1.535 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2791, allocations: 61.9 MB / 0.5096 GB, free: 38.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1169/0.396, allocations: 108.8 MB / 0.6158 GB, free: 2.348 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002259/0.3963, allocations: 83.95 kB / 0.6158 GB, free: 2.266 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.419/0.8152, allocations: 81.42 MB / 0.6954 GB, free: 96.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.8153, allocations: 0 / 0.6954 GB, free: 96.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002364/0.8155, allocations: 83.58 kB / 0.6954 GB, free: 96.5 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.01375/0.8293, allocations: 4.403 MB / 0.6997 GB, free: 94.69 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.8294, allocations: 10.34 kB / 0.6997 GB, free: 94.69 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009572/0.8389, allocations: 2.238 MB / 0.7019 GB, free: 94.41 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01254/0.8515, allocations: 4.587 MB / 0.7064 GB, free: 93.86 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003909/0.852, allocations: 323.4 kB / 0.7067 GB, free: 93.84 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001864/0.8538, allocations: 439.1 kB / 0.7071 GB, free: 93.84 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02126/0.8751, allocations: 10.4 MB / 0.7173 GB, free: 90.92 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002476/0.8754, allocations: 62.62 kB / 0.7173 GB, free: 90.88 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001149/0.8766, allocations: 215.5 kB / 0.7176 GB, free: 90.76 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001403/0.878, allocations: 0.9723 MB / 0.7185 GB, free: 90.59 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01497/0.893, allocations: 8.303 MB / 0.7266 GB, free: 87.94 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0398/0.9328, allocations: 48.37 MB / 0.7738 GB, free: 50.97 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007548/0.9404, allocations: 3.685 MB / 0.7774 GB, free: 49.49 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008847/0.9493, allocations: 7.891 MB / 0.7852 GB, free: 44.79 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.9493, allocations: 54.28 kB / 0.7852 GB, free: 44.73 MB / 490.7 MB Notification: Performance of pre-optimization done (n=141): time 3.276e-06/0.9493, allocations: 0 / 0.7852 GB, free: 44.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=148): time 0.02536/0.9747, allocations: 12.54 MB / 0.7975 GB, free: 38.45 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00108/0.9758, allocations: 1.631 MB / 0.799 GB, free: 36.71 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005328/0.9812, allocations: 3.431 MB / 0.8024 GB, free: 33.82 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000249/0.9815, allocations: 45.7 kB / 0.8024 GB, free: 33.77 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001552/0.983, allocations: 3.055 MB / 0.8054 GB, free: 31.04 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005593/0.9836, allocations: 0.6008 MB / 0.806 GB, free: 30.51 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003549/0.984, allocations: 116 kB / 0.8061 GB, free: 30.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002773/0.9843, allocations: 0.5476 MB / 0.8067 GB, free: 29.91 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002387/0.9867, allocations: 2.008 MB / 0.8086 GB, free: 28.22 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003574/0.9902, allocations: 5.629 MB / 0.8141 GB, free: 21.18 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003514/0.9938, allocations: 3.287 MB / 0.8173 GB, free: 18.23 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.992e-05/0.9939, allocations: 43.95 kB / 0.8174 GB, free: 18.19 MB / 490.7 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01683/1.011, allocations: 8.852 MB / 0.826 GB, free: 10.75 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001402/1.011, allocations: 60 kB / 0.8261 GB, free: 10.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009163/1.02, allocations: 3.309 MB / 0.8293 GB, free: 7.398 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008443/1.029, allocations: 1.937 MB / 0.8312 GB, free: 5.449 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004285/1.033, allocations: 1.322 MB / 0.8325 GB, free: 4.125 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00756/1.04, allocations: 5.984 MB / 0.8383 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004757/1.045, allocations: 395.8 kB / 0.8387 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001143/1.046, allocations: 356 kB / 0.839 GB, free: 13.15 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.004548/1.051, allocations: 2.021 MB / 0.841 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000772/1.052, allocations: 339.6 kB / 0.8413 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00604/1.058, allocations: 2.926 MB / 0.8442 GB, free: 7.832 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004622/1.062, allocations: 2.476 MB / 0.8466 GB, free: 5.336 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.646e-05/1.063, allocations: 4 kB / 0.8466 GB, free: 5.332 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.758e-05/1.063, allocations: 3.984 kB / 0.8466 GB, free: 5.328 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01806/1.081, allocations: 8.526 MB / 0.8549 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/1.081, allocations: 0 / 0.8549 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001197/1.082, allocations: 255.7 kB / 0.8552 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002982/1.085, allocations: 1.024 MB / 0.8562 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001966/1.085, allocations: 35.98 kB / 0.8562 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005498/1.091, allocations: 5.111 MB / 0.8612 GB, free: 6.043 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009707/1.092, allocations: 1.497 MB / 0.8627 GB, free: 4.41 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00813/1.1, allocations: 5.312 MB / 0.8679 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/1.101, allocations: 392.7 kB / 0.8682 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004116/1.101, allocations: 31.98 kB / 0.8683 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001381/1.103, allocations: 131.8 kB / 0.8684 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000252/1.103, allocations: 88.86 kB / 0.8685 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/1.103, allocations: 43.98 kB / 0.8685 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003626/1.107, allocations: 2.369 MB / 0.8708 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.6e-07/1.107, allocations: 0 / 0.8708 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00485/1.112, allocations: 1.035 MB / 0.8718 GB, free: 10.95 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.0004378/1.112, allocations: 174.3 kB / 0.872 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00937/1.121, allocations: 5.464 MB / 0.8774 GB, free: 5.266 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/1.121, allocations: 8.125 kB / 0.8774 GB, free: 5.258 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004124/1.126, allocations: 2.135 MB / 0.8794 GB, free: 3.055 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002758/1.128, allocations: 402.5 kB / 0.8798 GB, free: 2.664 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2303/1.359, allocations: 10.88 MB / 0.8905 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003262/1.362, allocations: 3.251 MB / 0.8936 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004296/1.366, allocations: 1.824 MB / 0.8954 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006292/1.367, allocations: 225.5 kB / 0.8956 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.052e-06/1.367, allocations: 0 / 0.8956 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.06264/1.43, allocations: 35.06 MB / 0.9299 GB, free: 124.8 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/jenkins/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