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.002139/0.002139, allocations: 182.4 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.541/1.541, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00101/0.00101, allocations: 86.81 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2222/0.2222, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000303/0.000303, allocations: 12 kB / 431.4 MB, free: 19.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1157, allocations: 58.86 MB / 490.2 MB, free: 8.688 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3551/0.4709, allocations: 107.5 MB / 0.5837 GB, free: 8.605 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/0.4712, allocations: 76.97 kB / 0.5838 GB, free: 8.566 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2084/0.6796, allocations: 84.4 MB / 0.6662 GB, free: 11.99 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.6797, allocations: 0 / 0.6662 GB, free: 11.99 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002242/0.6799, allocations: 91.98 kB / 0.6663 GB, free: 11.9 MB / 474.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.01602/0.6959, allocations: 4.564 MB / 0.6708 GB, free: 7.262 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.696, allocations: 12.03 kB / 0.6708 GB, free: 7.25 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01067/0.7067, allocations: 2.275 MB / 0.673 GB, free: 4.965 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01292/0.7196, allocations: 4.844 MB / 0.6777 GB, free: 56 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003339/0.72, allocations: 341 kB / 0.6781 GB, free: 15.71 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001443/0.7215, allocations: 455.8 kB / 0.6785 GB, free: 15.27 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01895/0.7404, allocations: 10.87 MB / 0.6891 GB, free: 3.309 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001347/0.7406, allocations: 59.5 kB / 0.6892 GB, free: 3.25 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005771/0.7412, allocations: 219.9 kB / 0.6894 GB, free: 3.035 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001336/0.7425, allocations: 1.038 MB / 0.6904 GB, free: 1.992 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01581/0.7584, allocations: 8.728 MB / 0.6989 GB, free: 9.246 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2614/1.02, allocations: 50.02 MB / 0.7478 GB, free: 83.43 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008759/1.029, allocations: 3.81 MB / 0.7515 GB, free: 82.76 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01134/1.04, allocations: 8.346 MB / 0.7596 GB, free: 79.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/1.04, allocations: 55.8 kB / 0.7597 GB, free: 79.77 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=153): time 4.869e-06/1.04, allocations: 0 / 0.7597 GB, free: 79.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=160): time 0.02815/1.068, allocations: 13.3 MB / 0.7727 GB, free: 76.49 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008751/1.069, allocations: 1.636 MB / 0.7743 GB, free: 74.96 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004236/1.073, allocations: 3.56 MB / 0.7778 GB, free: 74.64 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002782/1.074, allocations: 53.23 kB / 0.7778 GB, free: 74.61 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001356/1.075, allocations: 3.207 MB / 0.7809 GB, free: 72.93 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005497/1.076, allocations: 0.6405 MB / 0.7816 GB, free: 72.58 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002279/1.076, allocations: 122.3 kB / 0.7817 GB, free: 72.58 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002227/1.076, allocations: 0.5561 MB / 0.7822 GB, free: 72.26 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002448/1.078, allocations: 2.175 MB / 0.7843 GB, free: 72.14 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003824/1.082, allocations: 5.895 MB / 0.7901 GB, free: 66.4 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004018/1.086, allocations: 3.495 MB / 0.7935 GB, free: 65.23 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.534e-05/1.086, allocations: 37.94 kB / 0.7936 GB, free: 65.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=790) (initialization): time 0.01687/1.103, allocations: 9.296 MB / 0.8026 GB, free: 62.35 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.671e-05/1.103, allocations: 61 kB / 0.8027 GB, free: 62.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008849/1.112, allocations: 3.608 MB / 0.8062 GB, free: 61.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008504/1.121, allocations: 1.946 MB / 0.8081 GB, free: 61.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004448/1.125, allocations: 1.401 MB / 0.8095 GB, free: 61.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007042/1.132, allocations: 5.983 MB / 0.8153 GB, free: 57.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005143/1.138, allocations: 423.3 kB / 0.8157 GB, free: 57.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001215/1.139, allocations: 373.7 kB / 0.8161 GB, free: 57.17 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 607 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (752): * Single equations (assignments): 743 * 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.003922/1.143, allocations: 2.126 MB / 0.8182 GB, free: 56.15 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007229/1.143, allocations: 342.7 kB / 0.8185 GB, free: 55.96 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005574/1.149, allocations: 3.156 MB / 0.8216 GB, free: 54.86 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004131/1.153, allocations: 2.675 MB / 0.8242 GB, free: 54 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/1.153, allocations: 7.828 kB / 0.8242 GB, free: 54 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.602e-05/1.153, allocations: 3.844 kB / 0.8242 GB, free: 54 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01615/1.169, allocations: 9.172 MB / 0.8331 GB, free: 47.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.577e-05/1.169, allocations: 7.672 kB / 0.8332 GB, free: 47.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00126/1.171, allocations: 277 kB / 0.8334 GB, free: 47.63 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002684/1.173, allocations: 1.022 MB / 0.8344 GB, free: 46.94 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001892/1.174, allocations: 40.66 kB / 0.8345 GB, free: 46.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004415/1.178, allocations: 5.105 MB / 0.8394 GB, free: 42.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007323/1.179, allocations: 1.487 MB / 0.8409 GB, free: 40.61 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007393/1.186, allocations: 5.706 MB / 0.8465 GB, free: 35.65 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001259/1.188, allocations: 409.5 kB / 0.8469 GB, free: 35.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008054/1.188, allocations: 29.17 kB / 0.8469 GB, free: 35.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001883/1.19, allocations: 146 kB / 0.847 GB, free: 35.13 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002609/1.191, allocations: 104 kB / 0.8471 GB, free: 35.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001304/1.191, allocations: 45.55 kB / 0.8472 GB, free: 35.03 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003916/1.195, allocations: 2.47 MB / 0.8496 GB, free: 33.02 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3e-07/1.195, allocations: 0 / 0.8496 GB, free: 33.02 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005331/1.2, allocations: 1.097 MB / 0.8506 GB, free: 31.93 MB / 0.4948 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 (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 {(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.0005072/1.2, allocations: 176 kB / 0.8508 GB, free: 31.76 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009068/1.21, allocations: 5.788 MB / 0.8565 GB, free: 26.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/1.21, allocations: 0 / 0.8565 GB, free: 26.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003652/1.213, allocations: 2.257 MB / 0.8587 GB, free: 24.75 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002398/1.216, allocations: 411.3 kB / 0.8591 GB, free: 24.41 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01939/1.235, allocations: 11.53 MB / 0.8703 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004752/1.24, allocations: 3.383 MB / 0.8736 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005278/1.245, allocations: 1.9 MB / 0.8755 GB, free: 8.434 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009514/1.246, allocations: 239.6 kB / 0.8757 GB, free: 8.199 MB / 0.4948 GB Notification: Performance of SimCode: time 1.934e-06/1.246, allocations: 0 / 0.8757 GB, free: 8.199 MB / 0.4948 GB Notification: Performance of Templates: time 0.2961/1.542, allocations: 36.82 MB / 0.9117 GB, free: 121.5 MB / 0.5105 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