Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 109.9 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 190 kB / 19.39 MB, free: 3.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 222.9 MB / 243.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2071/0.2071, allocations: 44.18 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 67.91 kB / 471.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3494, allocations: 60.82 MB / 0.5196 GB, free: 3.875 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01743/0.3668, allocations: 17.01 MB / 0.5362 GB, free: 7.418 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009838/0.3767, allocations: 3.927 MB / 0.54 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002927/0.3797, allocations: 99.19 kB / 0.5401 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004727/0.3844, allocations: 2.172 MB / 0.5422 GB, free: 2.859 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006773/0.3913, allocations: 2.598 MB / 0.5448 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.3924, allocations: 294.1 kB / 0.545 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00909/0.4015, allocations: 6.547 MB / 0.5514 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00512/0.4067, allocations: 3.339 MB / 0.5547 GB, free: 8.137 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004072/0.4108, allocations: 2.129 MB / 0.5568 GB, free: 6 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004313/0.4151, allocations: 2.791 MB / 0.5595 GB, free: 3.199 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001425/0.4165, allocations: 392 kB / 0.5599 GB, free: 2.816 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002787/0.4193, allocations: 0.8076 MB / 0.5607 GB, free: 2.008 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003627/0.423, allocations: 2.789 MB / 0.5634 GB, free: 15.21 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005397/0.4284, allocations: 3.349 MB / 0.5667 GB, free: 11.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0133/0.4417, allocations: 10.75 MB / 0.5772 GB, free: 1.039 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.4418, allocations: 0 / 0.5772 GB, free: 1.039 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.4418, allocations: 0 / 0.5772 GB, free: 1.039 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003201/0.4421, allocations: 4 kB / 0.5772 GB, free: 1.035 MB / 430.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.01342/0.4555, allocations: 7.25 MB / 0.5842 GB, free: 9.688 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.4556, allocations: 8.031 kB / 0.5843 GB, free: 9.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01895/0.4746, allocations: 5.911 MB / 0.59 GB, free: 3.754 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006995/0.4816, allocations: 3.309 MB / 0.5933 GB, free: 388 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003278/0.482, allocations: 324.3 kB / 0.5936 GB, free: 60 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001983/0.484, allocations: 415.7 kB / 0.594 GB, free: 15.64 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0358/0.5198, allocations: 18.88 MB / 0.6124 GB, free: 12.02 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001993/0.52, allocations: 39.67 kB / 0.6124 GB, free: 11.98 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001776/0.5218, allocations: 203.7 kB / 0.6126 GB, free: 11.78 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007263/0.5291, allocations: 4.746 MB / 0.6173 GB, free: 7.027 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03421/0.5633, allocations: 17.54 MB / 0.6344 GB, free: 5.457 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09634/0.6597, allocations: 60.99 MB / 0.694 GB, free: 6.934 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0175/0.6772, allocations: 8.43 MB / 0.7022 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004507/0.6818, allocations: 2.579 MB / 0.7047 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3196/1.001, allocations: 11.88 MB / 0.7163 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.389e-05/1.002, allocations: 59.39 kB / 0.7164 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=321): time 1.007e-05/1.002, allocations: 0 / 0.7164 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=321): time 0.01785/1.019, allocations: 7.536 MB / 0.7237 GB, free: 164 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/1.02, allocations: 101.8 kB / 0.7238 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008717/1.028, allocations: 5.7 MB / 0.7294 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000425/1.029, allocations: 66.58 kB / 0.7294 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003051/1.032, allocations: 5.283 MB / 0.7346 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001213/1.033, allocations: 1.257 MB / 0.7358 GB, free: 158 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00207/1.035, allocations: 1.917 MB / 0.7377 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.941e-05/1.035, allocations: 301.7 kB / 0.738 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003942/1.039, allocations: 3.209 MB / 0.7411 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005846/1.045, allocations: 8.643 MB / 0.7496 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01111/1.056, allocations: 12.93 MB / 0.7622 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000224/1.056, allocations: 52 kB / 0.7622 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01859/1.075, allocations: 11.68 MB / 0.7737 GB, free: 126 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001117/1.075, allocations: 88 kB / 0.7737 GB, free: 125.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002254/1.075, allocations: 188 kB / 0.7739 GB, free: 125.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002032/1.076, allocations: 254.2 kB / 0.7742 GB, free: 125.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005845/1.081, allocations: 2.074 MB / 0.7762 GB, free: 123.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002102/1.082, allocations: 371.7 kB / 0.7765 GB, free: 123.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006482/1.088, allocations: 1.369 MB / 0.7779 GB, free: 121.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001422/1.09, allocations: 0.5506 MB / 0.7784 GB, free: 121.2 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.006227/1.096, allocations: 3.701 MB / 0.782 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001085/1.097, allocations: 0.5044 MB / 0.7825 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001476/1.098, allocations: 0.6479 MB / 0.7832 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-05/1.098, allocations: 7.969 kB / 0.7832 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/1.098, allocations: 0 / 0.7832 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/1.1, allocations: 0.5711 MB / 0.7837 GB, free: 115.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001133/1.101, allocations: 43.77 kB / 0.7838 GB, free: 115.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001948/1.103, allocations: 115.8 kB / 0.7839 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004545/1.103, allocations: 129.7 kB / 0.784 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005018/1.108, allocations: 4.077 MB / 0.788 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004072/1.112, allocations: 4.359 MB / 0.7922 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001594/1.114, allocations: 1.8 MB / 0.794 GB, free: 105.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004177/1.118, allocations: 3.494 MB / 0.7974 GB, free: 101.6 MB / 0.5606 GB Notification: Performance of Backend: time 7.02e-07/1.118, allocations: 0 / 0.7974 GB, free: 101.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008841/1.127, allocations: 5.836 MB / 0.8031 GB, free: 95.86 MB / 0.5606 GB Notification: Performance of SimCode: time 0.02101/1.148, allocations: 15.03 MB / 0.8178 GB, free: 80.78 MB / 0.5606 GB Notification: Performance of Templates: time 0.09743/1.245, allocations: 59.26 MB / 0.8756 GB, free: 21.83 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches