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.00142/0.00142, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001649/0.001649, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 227.4 MB / 247.4 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2171/0.2171, allocations: 46.11 MB / 344.8 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 79.28 kB / 418.3 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1141, allocations: 62.45 MB / 480.7 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01673/0.1309, allocations: 16.92 MB / 497.6 MB, free: 4.293 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008696/0.1396, allocations: 3.947 MB / 0.4898 GB, free: 344 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002723/0.1424, allocations: 95.81 kB / 0.4899 GB, free: 248 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004841/0.1472, allocations: 2.195 MB / 0.492 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006457/0.1538, allocations: 2.498 MB / 0.4945 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.1551, allocations: 303.5 kB / 0.4948 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008945/0.164, allocations: 6.528 MB / 0.5012 GB, free: 4.695 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005071/0.1692, allocations: 3.338 MB / 0.5044 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2029/0.3721, allocations: 2.123 MB / 0.5065 GB, free: 14.37 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005123/0.3773, allocations: 2.775 MB / 0.5092 GB, free: 14.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001959/0.3793, allocations: 391.5 kB / 0.5096 GB, free: 14.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003337/0.3826, allocations: 0.799 MB / 0.5103 GB, free: 14.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00482/0.3875, allocations: 2.73 MB / 0.513 GB, free: 14.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006536/0.3941, allocations: 3.311 MB / 0.5162 GB, free: 12.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01598/0.4101, allocations: 10.05 MB / 0.5261 GB, free: 10.6 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.066e-05/0.4101, allocations: 1.375 kB / 0.5261 GB, free: 10.6 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4101, allocations: 0 / 0.5261 GB, free: 10.6 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005042/0.4107, allocations: 0.5625 kB / 0.5261 GB, free: 10.6 MB / 382.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.01846/0.4291, allocations: 6.972 MB / 0.5329 GB, free: 6.309 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.4292, allocations: 10.28 kB / 0.5329 GB, free: 6.309 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01956/0.4488, allocations: 5.858 MB / 0.5386 GB, free: 3.262 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007022/0.4558, allocations: 3.253 MB / 0.5418 GB, free: 1.488 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002565/0.4561, allocations: 321.9 kB / 0.5421 GB, free: 1.418 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002091/0.4582, allocations: 423.6 kB / 0.5425 GB, free: 1.355 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03936/0.4976, allocations: 18.88 MB / 0.5609 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001783/0.4978, allocations: 39.25 kB / 0.561 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001969/0.4998, allocations: 202 kB / 0.5612 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008241/0.5081, allocations: 4.746 MB / 0.5658 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0404/0.5485, allocations: 17.53 MB / 0.5829 GB, free: 9.957 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1087/0.6572, allocations: 61.23 MB / 0.6427 GB, free: 12.1 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01636/0.6736, allocations: 8.428 MB / 0.6509 GB, free: 3.242 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004415/0.6781, allocations: 2.575 MB / 0.6535 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02474/0.7029, allocations: 11.88 MB / 0.6651 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.692e-05/0.703, allocations: 64.55 kB / 0.6651 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=321): time 1.167e-05/0.703, allocations: 4 kB / 0.6651 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=321): time 0.02042/0.7235, allocations: 7.505 MB / 0.6725 GB, free: 12.71 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.133e-05/0.7236, allocations: 110.2 kB / 0.6726 GB, free: 12.59 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01247/0.736, allocations: 5.668 MB / 0.6781 GB, free: 6.941 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0005076/0.7366, allocations: 64.44 kB / 0.6782 GB, free: 6.875 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.004486/0.7411, allocations: 5.062 MB / 0.6831 GB, free: 1.816 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001923/0.743, allocations: 1.205 MB / 0.6843 GB, free: 0.6211 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005503/0.7486, allocations: 1.905 MB / 0.6861 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.7487, allocations: 313 kB / 0.6864 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006329/0.7551, allocations: 3.208 MB / 0.6896 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01137/0.7665, allocations: 8.653 MB / 0.698 GB, free: 15.95 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01571/0.7822, allocations: 12.9 MB / 0.7106 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002145/0.7825, allocations: 64 kB / 0.7107 GB, free: 0.875 MB / 0.545 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.2614/1.044, allocations: 11.64 MB / 0.722 GB, free: 184.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001391/1.044, allocations: 86.5 kB / 0.7221 GB, free: 184.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004681/1.045, allocations: 188.5 kB / 0.7223 GB, free: 184.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003942/1.045, allocations: 253.1 kB / 0.7226 GB, free: 184.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00717/1.052, allocations: 2.072 MB / 0.7246 GB, free: 184 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003494/1.052, allocations: 373.9 kB / 0.7249 GB, free: 183.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008005/1.06, allocations: 1.327 MB / 0.7262 GB, free: 183.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001953/1.062, allocations: 0.5517 MB / 0.7268 GB, free: 183.3 MB / 0.545 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.00866/1.071, allocations: 3.706 MB / 0.7304 GB, free: 181.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000847/1.072, allocations: 486.3 kB / 0.7308 GB, free: 181.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001644/1.074, allocations: 0.6487 MB / 0.7315 GB, free: 181.1 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.328e-05/1.074, allocations: 56.8 kB / 0.7315 GB, free: 181.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.881e-05/1.074, allocations: 0 / 0.7315 GB, free: 181.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.734e-05/1.074, allocations: 11.44 kB / 0.7315 GB, free: 181.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.026/1.1, allocations: 12.63 MB / 0.7439 GB, free: 176.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.927e-05/1.1, allocations: 16 kB / 0.7439 GB, free: 176.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001628/1.102, allocations: 424.2 kB / 0.7443 GB, free: 175.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-05/1.102, allocations: 28.06 kB / 0.7443 GB, free: 175.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001726/1.102, allocations: 59.83 kB / 0.7444 GB, free: 175.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.785e-05/1.102, allocations: 26.47 kB / 0.7444 GB, free: 175.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.081e-05/1.102, allocations: 24.66 kB / 0.7444 GB, free: 175.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004572/1.106, allocations: 4.635 MB / 0.749 GB, free: 171.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000988/1.107, allocations: 0.5596 MB / 0.7495 GB, free: 170.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005587/1.108, allocations: 56.86 kB / 0.7496 GB, free: 170.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001492/1.109, allocations: 130.7 kB / 0.7497 GB, free: 170.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003098/1.11, allocations: 179.2 kB / 0.7499 GB, free: 170.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001761/1.11, allocations: 97.94 kB / 0.7499 GB, free: 170.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005438/1.115, allocations: 3.488 MB / 0.7534 GB, free: 167.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.1e-07/1.115, allocations: 3.375 kB / 0.7534 GB, free: 167.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008674/1.124, allocations: 1.942 MB / 0.7553 GB, free: 165.6 MB / 0.545 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.000629/1.125, allocations: 210.1 kB / 0.7555 GB, free: 165.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01752/1.142, allocations: 12.64 MB / 0.7678 GB, free: 153.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-05/1.142, allocations: 4 kB / 0.7678 GB, free: 153.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002438/1.145, allocations: 2.003 MB / 0.7698 GB, free: 151.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003843/1.149, allocations: 0.6222 MB / 0.7704 GB, free: 151.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03233/1.181, allocations: 16.45 MB / 0.7864 GB, free: 136.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01275/1.194, allocations: 5.432 MB / 0.7917 GB, free: 131.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002258/1.196, allocations: 451.4 kB / 0.7922 GB, free: 130.7 MB / 0.545 GB Notification: Performance of SimCode: time 1.352e-06/1.196, allocations: 0 / 0.7922 GB, free: 130.7 MB / 0.545 GB Notification: Performance of Templates: time 0.1216/1.318, allocations: 92.18 MB / 0.8822 GB, free: 38.8 MB / 0.545 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