Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001502/0.001502, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.594/1.594, allocations: 205.3 MB / 213.7 MB, free: 1.684 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009328/0.0009328, allocations: 94.27 kB / 261.7 MB, free: 1.625 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2502/0.2502, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.016e-05/2.019e-05, allocations: 4 kB / 418.2 MB, free: 28.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.134, allocations: 58.85 MB / 477.1 MB, free: 1.672 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4834/0.6174, allocations: 106.8 MB / 0.5702 GB, free: 5.047 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/0.6177, allocations: 76.75 kB / 0.5702 GB, free: 5.012 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2092/0.8269, allocations: 82.51 MB / 0.6508 GB, free: 10.49 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.827, allocations: 3.938 kB / 0.6508 GB, free: 10.49 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002169/0.8272, allocations: 84 kB / 0.6509 GB, free: 10.41 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1590 * Number of variables: 1590 Notification: Performance of Generate backend data structure: time 0.0182/0.8454, allocations: 4.354 MB / 0.6552 GB, free: 5.984 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.896e-05/0.8455, allocations: 12.03 kB / 0.6552 GB, free: 5.973 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01187/0.8574, allocations: 2.272 MB / 0.6574 GB, free: 3.691 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01553/0.873, allocations: 4.816 MB / 0.6621 GB, free: 14.8 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003705/0.8734, allocations: 144 kB / 0.6622 GB, free: 14.66 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003594/0.877, allocations: 263.9 kB / 0.6625 GB, free: 14.41 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0136/0.8907, allocations: 6.277 MB / 0.6686 GB, free: 8.125 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01852/0.9092, allocations: 9.669 MB / 0.678 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001759/0.9095, allocations: 55.5 kB / 0.6781 GB, free: 13.33 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004948/0.91, allocations: 32 kB / 0.6781 GB, free: 13.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001537/0.9115, allocations: 1.046 MB / 0.6792 GB, free: 12.24 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3714/1.283, allocations: 48.63 MB / 0.7266 GB, free: 96.45 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003703/1.287, allocations: 2.712 MB / 0.7293 GB, free: 95.79 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002365/1.289, allocations: 1.633 MB / 0.7309 GB, free: 95.75 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001248/1.29, allocations: 1.306 MB / 0.7322 GB, free: 94.62 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.643e-05/1.29, allocations: 51.81 kB / 0.7322 GB, free: 94.58 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=164): time 4.669e-06/1.29, allocations: 0 / 0.7322 GB, free: 94.58 MB / 0.4948 GB Notification: Performance of matching and sorting (n=171): time 0.02188/1.312, allocations: 10.62 MB / 0.7426 GB, free: 91.88 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/1.312, allocations: 142.4 kB / 0.7427 GB, free: 91.72 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004293/1.317, allocations: 3.034 MB / 0.7457 GB, free: 91.39 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003667/1.317, allocations: 25.7 kB / 0.7457 GB, free: 91.36 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001771/1.319, allocations: 3.25 MB / 0.7489 GB, free: 89.71 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000774/1.32, allocations: 0.6658 MB / 0.7495 GB, free: 89.33 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002048/1.32, allocations: 3.938 kB / 0.7495 GB, free: 89.33 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002934/1.32, allocations: 0.5713 MB / 0.7501 GB, free: 89.01 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002387/1.323, allocations: 2.069 MB / 0.7521 GB, free: 89 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003939/1.327, allocations: 5.951 MB / 0.7579 GB, free: 83.93 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004076/1.331, allocations: 3.461 MB / 0.7613 GB, free: 83.9 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-05/1.331, allocations: 45.2 kB / 0.7613 GB, free: 83.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=826) (initialization): time 0.01831/1.349, allocations: 8.592 MB / 0.7697 GB, free: 82.68 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001339/1.349, allocations: 65.12 kB / 0.7698 GB, free: 82.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009485/1.359, allocations: 3.498 MB / 0.7732 GB, free: 81.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009384/1.368, allocations: 1.936 MB / 0.7751 GB, free: 81.63 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005616/1.374, allocations: 1.462 MB / 0.7765 GB, free: 81.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006932/1.381, allocations: 5.599 MB / 0.782 GB, free: 78 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006427/1.387, allocations: 308.4 kB / 0.7823 GB, free: 77.97 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001581/1.389, allocations: 389.7 kB / 0.7827 GB, free: 77.93 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (788): * Single equations (assignments): 779 * 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.002218/1.391, allocations: 463.5 kB / 0.7831 GB, free: 77.55 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009254/1.392, allocations: 313.6 kB / 0.7834 GB, free: 77.39 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006186/1.398, allocations: 3.182 MB / 0.7865 GB, free: 76.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004362/1.403, allocations: 2.618 MB / 0.7891 GB, free: 75.49 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.192e-05/1.403, allocations: 3.312 kB / 0.7891 GB, free: 75.49 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.412e-05/1.403, allocations: 7.688 kB / 0.7891 GB, free: 75.49 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01815/1.421, allocations: 8.837 MB / 0.7977 GB, free: 72.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.995e-05/1.421, allocations: 4.797 kB / 0.7977 GB, free: 72.22 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001536/1.423, allocations: 294.5 kB / 0.798 GB, free: 72.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002781/1.425, allocations: 1.011 MB / 0.799 GB, free: 71.99 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00033/1.426, allocations: 23 kB / 0.799 GB, free: 71.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005053/1.431, allocations: 4.914 MB / 0.8038 GB, free: 67.94 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007322/1.432, allocations: 1.415 MB / 0.8052 GB, free: 66.45 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007917/1.439, allocations: 5.781 MB / 0.8108 GB, free: 61.37 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/1.441, allocations: 372.2 kB / 0.8112 GB, free: 60.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008462/1.441, allocations: 15.94 kB / 0.8112 GB, free: 60.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00199/1.443, allocations: 123.1 kB / 0.8113 GB, free: 60.92 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002573/1.444, allocations: 110.3 kB / 0.8114 GB, free: 60.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001454/1.444, allocations: 47.73 kB / 0.8115 GB, free: 60.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003861/1.448, allocations: 2.002 MB / 0.8134 GB, free: 59.07 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.3e-07/1.448, allocations: 0 / 0.8134 GB, free: 59.07 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006132/1.454, allocations: 0.9934 MB / 0.8144 GB, free: 58.08 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 12 ($STATESET3.x[3],$STATESET3.x[2],$STATESET3.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (135): * Single equations (assignments): 128 * 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.0006314/1.455, allocations: 161 kB / 0.8145 GB, free: 57.94 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009335/1.464, allocations: 5.564 MB / 0.82 GB, free: 52.95 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/1.464, allocations: 0 / 0.82 GB, free: 52.95 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003784/1.468, allocations: 2.253 MB / 0.8222 GB, free: 50.98 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002289/1.47, allocations: 330.2 kB / 0.8225 GB, free: 50.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01613/1.486, allocations: 8.16 MB / 0.8305 GB, free: 43.48 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004655/1.491, allocations: 3.387 MB / 0.8338 GB, free: 40.91 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005124/1.496, allocations: 1.987 MB / 0.8357 GB, free: 39.66 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001083/1.497, allocations: 231.2 kB / 0.8359 GB, free: 39.45 MB / 0.4948 GB Notification: Performance of SimCode: time 1.342e-06/1.497, allocations: 0 / 0.8359 GB, free: 39.45 MB / 0.4948 GB Notification: Performance of Templates: time 0.05757/1.555, allocations: 32.96 MB / 0.8681 GB, free: 9.301 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Frames/AngularVelocity/AngularVelocity.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches