Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Parts.FixedRotation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001429/0.001429, allocations: 113 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001374/0.001374, allocations: 212.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2101/0.2101, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 71.88 kB / 482 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3452, allocations: 62.44 MB / 0.5316 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01755/0.3628, allocations: 16.93 MB / 0.5482 GB, free: 336 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009873/0.3727, allocations: 3.949 MB / 0.552 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003876/0.3767, allocations: 99.81 kB / 0.5521 GB, free: 12.7 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004936/0.3816, allocations: 2.179 MB / 0.5543 GB, free: 10.51 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00703/0.3887, allocations: 2.505 MB / 0.5567 GB, free: 7.996 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.3899, allocations: 299.5 kB / 0.557 GB, free: 7.703 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009281/0.3992, allocations: 6.532 MB / 0.5634 GB, free: 1.16 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005293/0.4045, allocations: 3.33 MB / 0.5666 GB, free: 13.79 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003953/0.4085, allocations: 2.113 MB / 0.5687 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00441/0.4129, allocations: 2.779 MB / 0.5714 GB, free: 8.875 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001554/0.4145, allocations: 388 kB / 0.5718 GB, free: 8.496 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002484/0.417, allocations: 0.8154 MB / 0.5726 GB, free: 7.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00309/0.4201, allocations: 2.742 MB / 0.5752 GB, free: 4.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00465/0.4248, allocations: 3.306 MB / 0.5785 GB, free: 1.602 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01192/0.4367, allocations: 10.6 MB / 0.5888 GB, free: 6.961 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.365e-06/0.4368, allocations: 0 / 0.5888 GB, free: 6.961 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.4368, allocations: 3.938 kB / 0.5888 GB, free: 6.957 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004492/0.4373, allocations: 8 kB / 0.5888 GB, free: 6.949 MB / 446.1 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.01551/0.4528, allocations: 6.979 MB / 0.5957 GB, free: 15.89 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.4529, allocations: 12.03 kB / 0.5957 GB, free: 15.88 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02015/0.473, allocations: 5.851 MB / 0.6014 GB, free: 10 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007112/0.4802, allocations: 3.292 MB / 0.6046 GB, free: 6.645 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003795/0.4806, allocations: 324.3 kB / 0.6049 GB, free: 6.324 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002046/0.4827, allocations: 423.6 kB / 0.6053 GB, free: 5.91 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03659/0.5193, allocations: 18.88 MB / 0.6237 GB, free: 2.285 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001679/0.5195, allocations: 39.69 kB / 0.6238 GB, free: 2.246 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002054/0.5216, allocations: 207.7 kB / 0.624 GB, free: 2.043 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008519/0.5301, allocations: 4.742 MB / 0.6286 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03541/0.5656, allocations: 17.54 MB / 0.6457 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0949/0.6605, allocations: 60.86 MB / 0.7052 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01573/0.6763, allocations: 8.407 MB / 0.7134 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004119/0.6804, allocations: 2.598 MB / 0.7159 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2995/0.98, allocations: 11.86 MB / 0.7275 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/0.9801, allocations: 63.62 kB / 0.7276 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=321): time 7.133e-06/0.9801, allocations: 0 / 0.7276 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=321): time 0.017/0.9971, allocations: 7.509 MB / 0.7349 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.857e-05/0.9972, allocations: 109.3 kB / 0.735 GB, free: 155 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008312/1.006, allocations: 5.661 MB / 0.7405 GB, free: 153 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004674/1.006, allocations: 61.23 kB / 0.7406 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002725/1.009, allocations: 5.069 MB / 0.7455 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001454/1.01, allocations: 1.199 MB / 0.7467 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003839/1.014, allocations: 1.903 MB / 0.7486 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.336e-05/1.014, allocations: 309 kB / 0.7489 GB, free: 147 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004627/1.019, allocations: 3.211 MB / 0.752 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007406/1.026, allocations: 8.649 MB / 0.7604 GB, free: 134 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01247/1.039, allocations: 12.92 MB / 0.7731 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002151/1.039, allocations: 56 kB / 0.7731 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01906/1.058, allocations: 11.63 MB / 0.7845 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002547/1.058, allocations: 88.62 kB / 0.7846 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003042/1.059, allocations: 188 kB / 0.7847 GB, free: 106.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002839/1.059, allocations: 260 kB / 0.785 GB, free: 106.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006619/1.066, allocations: 2.067 MB / 0.787 GB, free: 104.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003726/1.066, allocations: 386.5 kB / 0.7874 GB, free: 103.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007385/1.073, allocations: 1.321 MB / 0.7887 GB, free: 102.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001884/1.075, allocations: 0.562 MB / 0.7892 GB, free: 101.9 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 868 * 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 (1140): * Single equations (assignments): 1122 * Array equations: 18 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006729/1.082, allocations: 3.693 MB / 0.7928 GB, free: 98.16 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001003/1.083, allocations: 489.4 kB / 0.7933 GB, free: 97.68 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001863/1.085, allocations: 0.6488 MB / 0.7939 GB, free: 97.02 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001084/1.085, allocations: 59.58 kB / 0.794 GB, free: 96.97 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.352e-05/1.085, allocations: 7.875 kB / 0.794 GB, free: 96.96 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-05/1.085, allocations: 12.03 kB / 0.794 GB, free: 96.95 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02255/1.108, allocations: 12.63 MB / 0.8063 GB, free: 84.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.013e-05/1.108, allocations: 12 kB / 0.8063 GB, free: 84.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001801/1.11, allocations: 427.3 kB / 0.8067 GB, free: 83.67 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.864e-05/1.11, allocations: 20 kB / 0.8068 GB, free: 83.65 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002802/1.11, allocations: 63.44 kB / 0.8068 GB, free: 83.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-05/1.11, allocations: 38.83 kB / 0.8069 GB, free: 83.56 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-05/1.11, allocations: 20.38 kB / 0.8069 GB, free: 83.54 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005205/1.115, allocations: 4.63 MB / 0.8114 GB, free: 78.68 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001108/1.116, allocations: 0.5605 MB / 0.8119 GB, free: 78.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001004/1.117, allocations: 63.11 kB / 0.812 GB, free: 78.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002048/1.119, allocations: 127.8 kB / 0.8121 GB, free: 77.91 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003243/1.12, allocations: 180.6 kB / 0.8123 GB, free: 77.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001901/1.12, allocations: 95.98 kB / 0.8124 GB, free: 77.64 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005778/1.126, allocations: 3.489 MB / 0.8158 GB, free: 74.17 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.6e-07/1.126, allocations: 0 / 0.8158 GB, free: 74.17 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.008738/1.135, allocations: 1.947 MB / 0.8177 GB, free: 72.22 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008464/1.135, allocations: 203.7 kB / 0.8179 GB, free: 72.02 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01022/1.146, allocations: 7.335 MB / 0.8251 GB, free: 64.73 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-05/1.146, allocations: 0 / 0.8251 GB, free: 64.73 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002433/1.148, allocations: 2.014 MB / 0.827 GB, free: 62.72 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004229/1.152, allocations: 0.6147 MB / 0.8276 GB, free: 62.12 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02779/1.18, allocations: 16.25 MB / 0.8435 GB, free: 45.64 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008667/1.189, allocations: 5.431 MB / 0.8488 GB, free: 40.18 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001986/1.191, allocations: 455.4 kB / 0.8492 GB, free: 39.73 MB / 0.5606 GB Notification: Performance of SimCode: time 1.753e-06/1.191, allocations: 0 / 0.8492 GB, free: 39.73 MB / 0.5606 GB Notification: Performance of Templates: time 0.1403/1.331, allocations: 93.22 MB / 0.9403 GB, free: 10.8 MB / 0.6231 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches