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.001137/0.001137, allocations: 111.6 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001274/0.001274, allocations: 207.9 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 227.4 MB / 247.6 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2336/0.2336, allocations: 46.11 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 79.88 kB / 482 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2988, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01606/0.3149, allocations: 16.93 MB / 0.5482 GB, free: 328 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00869/0.3236, allocations: 3.952 MB / 0.5521 GB, free: 12.77 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002807/0.3265, allocations: 95.81 kB / 0.5521 GB, free: 12.67 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004665/0.3312, allocations: 2.179 MB / 0.5543 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00713/0.3383, allocations: 2.498 MB / 0.5567 GB, free: 7.977 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00147/0.3398, allocations: 307.5 kB / 0.557 GB, free: 7.676 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009693/0.3496, allocations: 6.534 MB / 0.5634 GB, free: 1.133 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004721/0.3543, allocations: 3.33 MB / 0.5666 GB, free: 13.76 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003295/0.3576, allocations: 2.113 MB / 0.5687 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003843/0.3615, allocations: 2.779 MB / 0.5714 GB, free: 8.848 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001253/0.3628, allocations: 392 kB / 0.5718 GB, free: 8.465 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002296/0.3651, allocations: 0.8076 MB / 0.5726 GB, free: 7.656 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00302/0.3681, allocations: 2.75 MB / 0.5753 GB, free: 4.898 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004573/0.3727, allocations: 3.302 MB / 0.5785 GB, free: 1.574 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01138/0.3841, allocations: 10.61 MB / 0.5888 GB, free: 6.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.3842, allocations: 0 / 0.5888 GB, free: 6.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.3842, allocations: 7.875 kB / 0.5889 GB, free: 6.922 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003516/0.3845, allocations: 0 / 0.5889 GB, free: 6.922 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.01491/0.3994, allocations: 6.975 MB / 0.5957 GB, free: 15.86 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.3995, allocations: 8.031 kB / 0.5957 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01882/0.4183, allocations: 5.859 MB / 0.6014 GB, free: 9.977 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006887/0.4253, allocations: 3.292 MB / 0.6046 GB, free: 6.617 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000309/0.4256, allocations: 324.3 kB / 0.6049 GB, free: 6.297 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001715/0.4273, allocations: 419.6 kB / 0.6053 GB, free: 5.887 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03086/0.4582, allocations: 18.89 MB / 0.6238 GB, free: 2.254 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001342/0.4584, allocations: 35.62 kB / 0.6238 GB, free: 2.219 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00151/0.4599, allocations: 207.7 kB / 0.624 GB, free: 2.016 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00727/0.4672, allocations: 4.742 MB / 0.6286 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03208/0.4993, allocations: 17.53 MB / 0.6457 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08565/0.585, allocations: 60.86 MB / 0.7052 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01643/0.6014, allocations: 8.423 MB / 0.7134 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004235/0.6057, allocations: 2.586 MB / 0.7159 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2419/0.8477, allocations: 11.86 MB / 0.7275 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.8478, allocations: 60.03 kB / 0.7276 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=321): time 6.151e-06/0.8478, allocations: 0 / 0.7276 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=321): time 0.01431/0.8621, allocations: 7.506 MB / 0.7349 GB, free: 155 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.8622, allocations: 102.1 kB / 0.735 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005735/0.8679, allocations: 5.674 MB / 0.7405 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002032/0.8681, allocations: 61.14 kB / 0.7406 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001734/0.8699, allocations: 5.071 MB / 0.7455 GB, free: 149 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006771/0.8705, allocations: 1.202 MB / 0.7467 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001622/0.8722, allocations: 1.899 MB / 0.7486 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.532e-05/0.8722, allocations: 308.6 kB / 0.7489 GB, free: 147 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003263/0.8755, allocations: 3.207 MB / 0.752 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004502/0.88, allocations: 8.645 MB / 0.7604 GB, free: 134 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008502/0.8885, allocations: 12.92 MB / 0.7731 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-05/0.8886, allocations: 56 kB / 0.7731 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01239/0.901, allocations: 11.64 MB / 0.7845 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.294e-05/0.9011, allocations: 84.19 kB / 0.7846 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001241/0.9012, allocations: 199.9 kB / 0.7847 GB, free: 106.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001544/0.9014, allocations: 252 kB / 0.785 GB, free: 106.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004925/0.9063, allocations: 2.07 MB / 0.787 GB, free: 104.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000159/0.9065, allocations: 378.5 kB / 0.7874 GB, free: 103.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004596/0.9111, allocations: 1.322 MB / 0.7887 GB, free: 102.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005164/0.9116, allocations: 0.5537 MB / 0.7892 GB, free: 101.8 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.003626/0.9152, allocations: 3.716 MB / 0.7928 GB, free: 98.12 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004716/0.9157, allocations: 485.4 kB / 0.7933 GB, free: 97.64 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001078/0.9168, allocations: 0.641 MB / 0.7939 GB, free: 96.99 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/0.9168, allocations: 11.95 kB / 0.7939 GB, free: 96.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.9168, allocations: 3.938 kB / 0.7939 GB, free: 96.98 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005668/0.9174, allocations: 0.5409 MB / 0.7945 GB, free: 96.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004467/0.9178, allocations: 40 kB / 0.7945 GB, free: 96.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/0.9191, allocations: 123.3 kB / 0.7946 GB, free: 96.25 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002689/0.9193, allocations: 118 kB / 0.7947 GB, free: 96.14 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004301/0.9236, allocations: 4.078 MB / 0.7987 GB, free: 92.06 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003954/0.9276, allocations: 4.341 MB / 0.803 GB, free: 87.67 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001528/0.9292, allocations: 1.796 MB / 0.8047 GB, free: 85.87 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003745/0.9329, allocations: 3.493 MB / 0.8081 GB, free: 82.4 MB / 0.5606 GB Notification: Performance of Backend: time 3.91e-07/0.9329, allocations: 0 / 0.8081 GB, free: 82.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008271/0.9412, allocations: 5.832 MB / 0.8138 GB, free: 76.62 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01786/0.9591, allocations: 14.76 MB / 0.8282 GB, free: 61.82 MB / 0.5606 GB Notification: Performance of Templates: time 0.09167/1.051, allocations: 58.72 MB / 0.8856 GB, free: 3.438 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