Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.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.Parts.FixedRotation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fixedRotation.frame_b.r_0.1.|fixedRotation.frame_b.r_0.2.|fixedRotation.frame_b.r_0.3.|fixedRotation.frame_b.f.1.|fixedRotation.frame_b.f.2.|fixedRotation.frame_b.f.3.|fixedRotation.frame_b.t.1.|fixedRotation.frame_b.t.2.|fixedRotation.frame_b.t.3.|fixedRotation1.frame_b.r_0.1.|fixedRotation1.frame_b.r_0.2.|fixedRotation1.frame_b.r_0.3.|fixedRotation1.frame_b.f.1.|fixedRotation1.frame_b.f.2.|fixedRotation1.frame_b.f.3.|fixedRotation1.frame_b.t.1.|fixedRotation1.frame_b.t.2.|fixedRotation1.frame_b.t.3.|fixedRotation2.frame_b.r_0.1.|fixedRotation2.frame_b.r_0.2.|fixedRotation2.frame_b.r_0.3.|fixedRotation2.frame_b.f.1.|fixedRotation2.frame_b.f.2.|fixedRotation2.frame_b.f.3.|fixedRotation2.frame_b.t.1.|fixedRotation2.frame_b.t.2.|fixedRotation2.frame_b.t.3.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation") translateModel(ModelicaTest.MultiBody.Parts.FixedRotation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fixedRotation.frame_b.r_0.1.|fixedRotation.frame_b.r_0.2.|fixedRotation.frame_b.r_0.3.|fixedRotation.frame_b.f.1.|fixedRotation.frame_b.f.2.|fixedRotation.frame_b.f.3.|fixedRotation.frame_b.t.1.|fixedRotation.frame_b.t.2.|fixedRotation.frame_b.t.3.|fixedRotation1.frame_b.r_0.1.|fixedRotation1.frame_b.r_0.2.|fixedRotation1.frame_b.r_0.3.|fixedRotation1.frame_b.f.1.|fixedRotation1.frame_b.f.2.|fixedRotation1.frame_b.f.3.|fixedRotation1.frame_b.t.1.|fixedRotation1.frame_b.t.2.|fixedRotation1.frame_b.t.3.|fixedRotation2.frame_b.r_0.1.|fixedRotation2.frame_b.r_0.2.|fixedRotation2.frame_b.r_0.3.|fixedRotation2.frame_b.f.1.|fixedRotation2.frame_b.f.2.|fixedRotation2.frame_b.f.3.|fixedRotation2.frame_b.t.1.|fixedRotation2.frame_b.t.2.|fixedRotation2.frame_b.t.3.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 178.7 kB / 18.09 MB, free: 3.75 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.312/1.312, allocations: 223.3 MB / 242.1 MB, free: 9.934 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.0007938/0.0007937, allocations: 91.75 kB / 293.3 MB, free: 10.54 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.3339/0.3339, allocations: 44.14 MB / 388.5 MB, free: 38.47 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003756/0.0003757, allocations: 16 kB / 461.1 MB, free: 1.289 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3193, allocations: 61.88 MB / 0.5107 GB, free: 38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1217/0.4411, allocations: 97.65 MB / 0.6061 GB, free: 13.39 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/0.4414, allocations: 83.94 kB / 0.6062 GB, free: 13.32 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.551/0.9923, allocations: 139.6 MB / 0.7424 GB, free: 89.88 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.636e-06/0.9924, allocations: 0 / 0.7424 GB, free: 89.88 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001786/0.9926, allocations: 129.5 kB / 0.7426 GB, free: 89.87 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: 2817 * Number of variables: 2817 Notification: Performance of Generate backend data structure: time 0.01402/1.007, allocations: 6.029 MB / 0.7485 GB, free: 86.49 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/1.007, allocations: 7.281 kB / 0.7485 GB, free: 86.49 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02383/1.03, allocations: 6.54 MB / 0.7549 GB, free: 85.67 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0101/1.041, allocations: 4.339 MB / 0.7591 GB, free: 83.16 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004464/1.041, allocations: 0.5049 MB / 0.7596 GB, free: 82.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003602/1.045, allocations: 0.6562 MB / 0.7602 GB, free: 82.82 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03431/1.079, allocations: 18.07 MB / 0.7779 GB, free: 67.91 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002855/1.079, allocations: 39.81 kB / 0.7779 GB, free: 67.87 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002928/1.082, allocations: 320.5 kB / 0.7782 GB, free: 67.62 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002316/1.085, allocations: 2.152 MB / 0.7803 GB, free: 65.47 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02703/1.112, allocations: 17.35 MB / 0.7973 GB, free: 48.09 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07981/1.192, allocations: 61.75 MB / 0.8576 GB, free: 0.7617 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01545/1.207, allocations: 8.411 MB / 0.8658 GB, free: 7.91 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003688/1.211, allocations: 2.575 MB / 0.8683 GB, free: 5.32 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2662/1.477, allocations: 11.76 MB / 0.8798 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/1.477, allocations: 54.86 kB / 0.8798 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=321): time 6.171e-06/1.477, allocations: 0 / 0.8798 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=321): time 0.01486/1.492, allocations: 7.492 MB / 0.8871 GB, free: 113 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/1.492, allocations: 106.5 kB / 0.8872 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00809/1.5, allocations: 5.612 MB / 0.8927 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004149/1.501, allocations: 63.39 kB / 0.8928 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003159/1.504, allocations: 5.085 MB / 0.8977 GB, free: 110 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0016/1.505, allocations: 1.202 MB / 0.8989 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004638/1.506, allocations: 177.2 kB / 0.8991 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005216/1.506, allocations: 0.7175 MB / 0.8998 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00421/1.511, allocations: 3.09 MB / 0.9028 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006813/1.517, allocations: 8.491 MB / 0.9111 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01324/1.531, allocations: 12.63 MB / 0.9234 GB, free: 91.95 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002472/1.531, allocations: 54.06 kB / 0.9235 GB, free: 91.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.01631/1.547, allocations: 11.36 MB / 0.9346 GB, free: 87.71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001267/1.547, allocations: 84.56 kB / 0.9347 GB, free: 87.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002063/1.548, allocations: 189.5 kB / 0.9348 GB, free: 87.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002205/1.548, allocations: 252.9 kB / 0.9351 GB, free: 87.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00579/1.554, allocations: 2.07 MB / 0.9371 GB, free: 87.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002627/1.554, allocations: 379.3 kB / 0.9375 GB, free: 87.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006044/1.56, allocations: 1.296 MB / 0.9387 GB, free: 86.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001116/1.561, allocations: 0.5432 MB / 0.9393 GB, free: 86.48 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 863 * Number of states: 0 () * Number of discrete variables: 33 (frameT4.color_x[3],frameT4.color_x[2],frameT4.color_x[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],frameT3.color_x[3],frameT3.color_x[2],frameT3.color_x[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1135): * Single equations (assignments): 1123 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006593/1.568, allocations: 3.701 MB / 0.9429 GB, free: 84.91 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007492/1.568, allocations: 487.6 kB / 0.9433 GB, free: 84.64 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/1.57, allocations: 0.6578 MB / 0.944 GB, free: 84.27 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-05/1.57, allocations: 53.11 kB / 0.944 GB, free: 84.27 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.392e-05/1.57, allocations: 11.75 kB / 0.944 GB, free: 84.26 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.62e-05/1.57, allocations: 7.547 kB / 0.9441 GB, free: 84.26 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02018/1.59, allocations: 12.66 MB / 0.9564 GB, free: 79.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-05/1.59, allocations: 15.16 kB / 0.9564 GB, free: 79.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001545/1.592, allocations: 423.3 kB / 0.9568 GB, free: 79.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.842e-05/1.592, allocations: 22.22 kB / 0.9569 GB, free: 79.57 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001407/1.592, allocations: 61.61 kB / 0.9569 GB, free: 79.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.845e-05/1.592, allocations: 32.75 kB / 0.9569 GB, free: 79.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.928e-06/1.592, allocations: 26.97 kB / 0.957 GB, free: 79.52 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004783/1.597, allocations: 4.619 MB / 0.9615 GB, free: 77.33 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001397/1.598, allocations: 0.5896 MB / 0.9621 GB, free: 76.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005339/1.599, allocations: 60.47 kB / 0.9621 GB, free: 76.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001474/1.6, allocations: 124 kB / 0.9622 GB, free: 76.84 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002799/1.6, allocations: 183 kB / 0.9624 GB, free: 76.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001709/1.601, allocations: 92.14 kB / 0.9625 GB, free: 76.78 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005033/1.606, allocations: 3.46 MB / 0.9659 GB, free: 75.66 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.4e-07/1.606, allocations: 3.969 kB / 0.9659 GB, free: 75.66 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008458/1.614, allocations: 1.99 MB / 0.9678 GB, free: 73.78 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * Number of states: 0 () * 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 (225): * Single equations (assignments): 213 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006485/1.615, allocations: 201.1 kB / 0.968 GB, free: 73.59 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009528/1.624, allocations: 7.127 MB / 0.975 GB, free: 67.31 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.101e-05/1.624, allocations: 4.5 kB / 0.975 GB, free: 67.31 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002142/1.626, allocations: 2.002 MB / 0.9769 GB, free: 65.53 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01189/1.638, allocations: 0.6042 MB / 0.9775 GB, free: 65.01 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02362/1.662, allocations: 18.48 MB / 0.9956 GB, free: 47.73 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005543/1.668, allocations: 5.422 MB / 1.001 GB, free: 43.59 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007664/1.675, allocations: 3.657 MB / 1.004 GB, free: 41.32 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008901/1.676, allocations: 373 kB / 1.005 GB, free: 40.97 MB / 0.5105 GB Notification: Performance of SimCode: time 8.52e-07/1.676, allocations: 0 / 1.005 GB, free: 40.97 MB / 0.5105 GB Notification: Performance of Templates: time 0.07521/1.751, allocations: 43.25 MB / 1.047 GB, free: 4.52 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/FixedRotation/FixedRotation.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches