Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.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.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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009589/0.0009588, allocations: 177.6 kB / 8.004 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.518/1.518, allocations: 205.3 MB / 213.7 MB, free: 1.66 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.0008396/0.0008394, allocations: 90.62 kB / 261.8 MB, free: 1.609 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.1975/0.1975, allocations: 43.48 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.85e-05/1.85e-05, allocations: 0 / 418.2 MB, free: 28.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1165, allocations: 58.87 MB / 477.1 MB, free: 1.625 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3812/0.4977, allocations: 95.39 MB / 0.5591 GB, free: 196 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002223/0.498, allocations: 75.66 kB / 0.5592 GB, free: 160 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3246/0.8226, allocations: 136.5 MB / 0.6924 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.362e-06/0.8226, allocations: 0 / 0.6924 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002358/0.8229, allocations: 116 kB / 0.6926 GB, free: 14.99 MB / 0.4948 GB 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.01894/0.8418, allocations: 6.063 MB / 0.6985 GB, free: 8.859 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.8419, allocations: 8.031 kB / 0.6985 GB, free: 8.852 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02813/0.87, allocations: 6.545 MB / 0.7049 GB, free: 2.285 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2809/1.151, allocations: 4.276 MB / 0.7091 GB, free: 109.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004142/1.151, allocations: 219.4 kB / 0.7093 GB, free: 109.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003739/1.155, allocations: 383 kB / 0.7096 GB, free: 109.1 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02179/1.177, allocations: 12.75 MB / 0.7221 GB, free: 109 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0331/1.21, allocations: 16.89 MB / 0.7386 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002017/1.21, allocations: 32.56 kB / 0.7386 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002525/1.213, allocations: 24.59 kB / 0.7386 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00234/1.215, allocations: 2.167 MB / 0.7408 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07577/1.291, allocations: 59.28 MB / 0.7986 GB, free: 74.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00553/1.297, allocations: 6.132 MB / 0.8046 GB, free: 70.84 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002114/1.299, allocations: 2.048 MB / 0.8066 GB, free: 70.18 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00136/1.3, allocations: 2.282 MB / 0.8089 GB, free: 68.12 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/1.3, allocations: 67.19 kB / 0.8089 GB, free: 68.06 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=341): time 5.29e-06/1.3, allocations: 0 / 0.8089 GB, free: 68.06 MB / 0.4948 GB Notification: Performance of matching and sorting (n=341): time 0.008848/1.309, allocations: 5.074 MB / 0.8139 GB, free: 66.68 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/1.309, allocations: 107.2 kB / 0.814 GB, free: 66.59 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005492/1.315, allocations: 4.497 MB / 0.8184 GB, free: 62.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002418/1.315, allocations: 25.7 kB / 0.8184 GB, free: 62.95 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002068/1.317, allocations: 5.275 MB / 0.8235 GB, free: 58.79 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009091/1.318, allocations: 1.248 MB / 0.8248 GB, free: 57.67 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003032/1.318, allocations: 0 / 0.8248 GB, free: 57.67 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000386/1.319, allocations: 0.7552 MB / 0.8255 GB, free: 57.04 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003168/1.322, allocations: 3.104 MB / 0.8285 GB, free: 54.27 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004822/1.327, allocations: 8.939 MB / 0.8373 GB, free: 43.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005528/1.332, allocations: 5.417 MB / 0.8426 GB, free: 38.83 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-05/1.332, allocations: 60.56 kB / 0.8426 GB, free: 38.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1345) (initialization): time 0.01466/1.347, allocations: 10.85 MB / 0.8532 GB, free: 29.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.923e-05/1.347, allocations: 92 kB / 0.8533 GB, free: 29.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001744/1.347, allocations: 208 kB / 0.8535 GB, free: 28.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000214/1.347, allocations: 308 kB / 0.8538 GB, free: 28.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005905/1.353, allocations: 2.285 MB / 0.856 GB, free: 26.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001776/1.354, allocations: 409.2 kB / 0.8564 GB, free: 26.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00554/1.359, allocations: 1.142 MB / 0.8575 GB, free: 25.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007605/1.36, allocations: 0.5929 MB / 0.8581 GB, free: 24.54 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 949 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1249): * Single equations (assignments): 1237 * 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.0008571/1.361, allocations: 0.6037 MB / 0.8587 GB, free: 23.93 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004737/1.361, allocations: 469.7 kB / 0.8591 GB, free: 23.46 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001124/1.362, allocations: 0.6255 MB / 0.8597 GB, free: 22.89 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.525e-05/1.362, allocations: 63.41 kB / 0.8598 GB, free: 22.83 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.05e-05/1.362, allocations: 4 kB / 0.8598 GB, free: 22.83 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.886e-05/1.362, allocations: 10.22 kB / 0.8598 GB, free: 22.83 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01604/1.379, allocations: 12.62 MB / 0.8722 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-05/1.379, allocations: 18.53 kB / 0.8722 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001716/1.38, allocations: 457.2 kB / 0.8726 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.301e-05/1.38, allocations: 24 kB / 0.8726 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001418/1.38, allocations: 27.66 kB / 0.8727 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.614e-05/1.381, allocations: 35.31 kB / 0.8727 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.357e-06/1.381, allocations: 19.88 kB / 0.8727 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005092/1.386, allocations: 6.529 MB / 0.8791 GB, free: 4.934 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008369/1.386, allocations: 0.5513 MB / 0.8796 GB, free: 4.367 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004526/1.387, allocations: 23.61 kB / 0.8796 GB, free: 4.348 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001454/1.388, allocations: 93.91 kB / 0.8797 GB, free: 4.297 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002325/1.389, allocations: 174 kB / 0.8799 GB, free: 4.176 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001792/1.389, allocations: 114.3 kB / 0.88 GB, free: 4.074 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004008/1.393, allocations: 2.933 MB / 0.8829 GB, free: 1.562 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/1.393, allocations: 0 / 0.8829 GB, free: 1.562 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007137/1.4, allocations: 1.841 MB / 0.8847 GB, free: 15.72 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (245): * Single equations (assignments): 233 * 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.0005093/1.401, allocations: 171.7 kB / 0.8848 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0107/1.411, allocations: 7.171 MB / 0.8918 GB, free: 9.07 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.239e-05/1.411, allocations: 5.75 kB / 0.8918 GB, free: 9.066 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002788/1.414, allocations: 2.121 MB / 0.8939 GB, free: 7.152 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002367/1.416, allocations: 367.9 kB / 0.8943 GB, free: 6.824 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2779/1.694, allocations: 13.24 MB / 0.9072 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007878/1.702, allocations: 5.573 MB / 0.9126 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01101/1.713, allocations: 3.96 MB / 0.9165 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001347/1.715, allocations: 368.3 kB / 0.9169 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of SimCode: time 1.292e-06/1.715, allocations: 0 / 0.9169 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of Templates: time 0.06954/1.784, allocations: 36.5 MB / 0.9525 GB, free: 102.1 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/FixedRotation/FixedRotation.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches