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.001562/0.001562, allocations: 118.3 kB / 18.46 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001925/0.001925, allocations: 202.7 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1978/0.1978, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 75.88 kB / 482 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.274, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01613/0.2902, allocations: 16.94 MB / 0.5482 GB, free: 344 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00754/0.2977, allocations: 3.948 MB / 0.5521 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002239/0.3, allocations: 99.81 kB / 0.5521 GB, free: 12.69 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003773/0.3038, allocations: 2.179 MB / 0.5543 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005072/0.3089, allocations: 2.584 MB / 0.5568 GB, free: 7.91 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007714/0.3097, allocations: 307.5 kB / 0.5571 GB, free: 7.609 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007195/0.3169, allocations: 6.536 MB / 0.5635 GB, free: 1.062 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003807/0.3207, allocations: 3.327 MB / 0.5667 GB, free: 13.69 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002784/0.3235, allocations: 2.113 MB / 0.5688 GB, free: 11.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003343/0.3269, allocations: 2.787 MB / 0.5715 GB, free: 8.773 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008617/0.3278, allocations: 392 kB / 0.5719 GB, free: 8.391 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001538/0.3293, allocations: 0.8037 MB / 0.5727 GB, free: 7.586 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001928/0.3312, allocations: 2.746 MB / 0.5753 GB, free: 4.832 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002426/0.3337, allocations: 3.31 MB / 0.5786 GB, free: 1.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008459/0.3421, allocations: 10.64 MB / 0.589 GB, free: 6.809 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.381e-06/0.3422, allocations: 11.94 kB / 0.589 GB, free: 6.797 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3422, allocations: 0 / 0.589 GB, free: 6.797 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002256/0.3424, allocations: 0 / 0.589 GB, free: 6.797 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.009769/0.3522, allocations: 7.176 MB / 0.596 GB, free: 15.53 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.3522, allocations: 8.031 kB / 0.596 GB, free: 15.52 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01734/0.3696, allocations: 5.911 MB / 0.6018 GB, free: 9.59 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005127/0.3747, allocations: 3.301 MB / 0.605 GB, free: 6.223 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001805/0.3749, allocations: 324.3 kB / 0.6053 GB, free: 5.902 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007192/0.3756, allocations: 419.6 kB / 0.6057 GB, free: 5.492 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02215/0.3978, allocations: 18.88 MB / 0.6241 GB, free: 1.863 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-05/0.3979, allocations: 39.62 kB / 0.6242 GB, free: 1.824 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005499/0.3985, allocations: 203.7 kB / 0.6244 GB, free: 1.625 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006031/0.4045, allocations: 4.738 MB / 0.629 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02489/0.4294, allocations: 17.54 MB / 0.6461 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06296/0.4924, allocations: 60.99 MB / 0.7057 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01204/0.5044, allocations: 8.423 MB / 0.7139 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002949/0.5074, allocations: 2.586 MB / 0.7164 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2031/0.7105, allocations: 11.89 MB / 0.7281 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.7106, allocations: 55.97 kB / 0.7281 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=321): time 5.982e-06/0.7106, allocations: 0 / 0.7281 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=321): time 0.0129/0.7235, allocations: 7.544 MB / 0.7355 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.7235, allocations: 98.8 kB / 0.7356 GB, free: 154.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004733/0.7283, allocations: 5.685 MB / 0.7411 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001156/0.7284, allocations: 61.42 kB / 0.7412 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001546/0.73, allocations: 5.291 MB / 0.7464 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005171/0.7305, allocations: 1.25 MB / 0.7476 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001476/0.732, allocations: 1.924 MB / 0.7494 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.042e-05/0.732, allocations: 305 kB / 0.7497 GB, free: 147 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003038/0.735, allocations: 3.211 MB / 0.7529 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004302/0.7394, allocations: 8.641 MB / 0.7613 GB, free: 133.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007747/0.7471, allocations: 12.91 MB / 0.7739 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.195e-05/0.7472, allocations: 56 kB / 0.774 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01097/0.7581, allocations: 11.67 MB / 0.7854 GB, free: 106.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.747e-05/0.7582, allocations: 84 kB / 0.7855 GB, free: 106.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-05/0.7583, allocations: 199.9 kB / 0.7856 GB, free: 106.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001419/0.7585, allocations: 252 kB / 0.7859 GB, free: 106 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004507/0.763, allocations: 2.078 MB / 0.7879 GB, free: 103.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001518/0.7631, allocations: 374.5 kB / 0.7883 GB, free: 103.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004426/0.7676, allocations: 1.361 MB / 0.7896 GB, free: 102.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004477/0.768, allocations: 0.5501 MB / 0.7901 GB, free: 101.6 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.003327/0.7714, allocations: 3.71 MB / 0.7938 GB, free: 97.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003607/0.7717, allocations: 0.5004 MB / 0.7943 GB, free: 97.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008534/0.7726, allocations: 0.6449 MB / 0.7949 GB, free: 96.75 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/0.7726, allocations: 15.95 kB / 0.7949 GB, free: 96.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.7726, allocations: 0 / 0.7949 GB, free: 96.73 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004271/0.7731, allocations: 0.5633 MB / 0.7954 GB, free: 96.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004004/0.7735, allocations: 39.42 kB / 0.7955 GB, free: 96.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/0.7746, allocations: 111.9 kB / 0.7956 GB, free: 96 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002574/0.7748, allocations: 133.2 kB / 0.7957 GB, free: 95.88 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00406/0.7789, allocations: 4.073 MB / 0.7997 GB, free: 91.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003562/0.7825, allocations: 4.363 MB / 0.804 GB, free: 87.39 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001455/0.7839, allocations: 1.808 MB / 0.8057 GB, free: 85.58 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003104/0.787, allocations: 3.486 MB / 0.8091 GB, free: 82.12 MB / 0.5606 GB Notification: Performance of Backend: time 3.81e-07/0.7871, allocations: 0 / 0.8091 GB, free: 82.12 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005886/0.7929, allocations: 5.829 MB / 0.8148 GB, free: 76.34 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01411/0.8071, allocations: 15.02 MB / 0.8295 GB, free: 61.27 MB / 0.5606 GB Notification: Performance of Templates: time 0.2517/1.059, allocations: 59.05 MB / 0.8871 GB, free: 2.508 MB / 0.5606 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