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.001047/0.001047, allocations: 96.17 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0012/0.0012, allocations: 207.9 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2294/0.2294, allocations: 45.92 MB / 344 MB, free: 12.14 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002923/0.0002924, allocations: 8 kB / 417.9 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1383, allocations: 63.46 MB / 481.4 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.03383/0.1722, allocations: 35.34 MB / 0.5046 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3106/0.4828, allocations: 7.897 MB / 0.5123 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008563/0.4914, allocations: 183.7 kB / 0.5125 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008402/0.4998, allocations: 1.88 MB / 0.5143 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02218/0.522, allocations: 5.315 MB / 0.5195 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002358/0.5244, allocations: 241.6 kB / 0.5198 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.03715/0.5616, allocations: 26.21 MB / 0.5454 GB, free: 1.188 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007099/0.5687, allocations: 3.888 MB / 0.5492 GB, free: 14.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004705/0.5735, allocations: 1.553 MB / 0.5507 GB, free: 13 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003899/0.5774, allocations: 1.931 MB / 0.5526 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001597/0.5791, allocations: 232 kB / 0.5528 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002503/0.5816, allocations: 0.5715 MB / 0.5533 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004301/0.5859, allocations: 2.384 MB / 0.5557 GB, free: 8.789 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003642/0.5896, allocations: 1.336 MB / 0.557 GB, free: 8.113 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01394/0.6035, allocations: 8.13 MB / 0.5649 GB, free: 1.035 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.6036, allocations: 0 / 0.5649 GB, free: 1.035 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.6036, allocations: 0 / 0.5649 GB, free: 1.035 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004782/0.6041, allocations: 0 / 0.5649 GB, free: 1.035 MB / 398.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.01579/0.6199, allocations: 5.953 MB / 0.5707 GB, free: 11.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.62, allocations: 12.03 kB / 0.5707 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02257/0.6426, allocations: 7.128 MB / 0.5777 GB, free: 3.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008831/0.6515, allocations: 3.221 MB / 0.5808 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003383/0.6518, allocations: 319 kB / 0.5811 GB, free: 464 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002319/0.6542, allocations: 416.8 kB / 0.5815 GB, free: 136 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03925/0.6934, allocations: 18.98 MB / 0.6001 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001932/0.6937, allocations: 31.69 kB / 0.6001 GB, free: 12.62 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002185/0.6959, allocations: 206.4 kB / 0.6003 GB, free: 12.51 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007983/0.7039, allocations: 4.752 MB / 0.6049 GB, free: 7.781 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03857/0.7425, allocations: 17.59 MB / 0.6221 GB, free: 6.156 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1132/0.8557, allocations: 61.35 MB / 0.682 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01614/0.8719, allocations: 8.435 MB / 0.6903 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02439/0.8964, allocations: 11.93 MB / 0.7019 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.597e-05/0.8965, allocations: 65.16 kB / 0.702 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=321): time 7.244e-06/0.8965, allocations: 0 / 0.702 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of matching and sorting (n=321): time 0.01847/0.915, allocations: 8.544 MB / 0.7103 GB, free: 9.184 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.657e-05/0.9151, allocations: 103.1 kB / 0.7104 GB, free: 9.066 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008863/0.924, allocations: 5.645 MB / 0.7159 GB, free: 3.441 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0005455/0.9245, allocations: 61.7 kB / 0.716 GB, free: 3.375 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.2661/1.191, allocations: 5.073 MB / 0.721 GB, free: 188.1 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00163/1.192, allocations: 1.201 MB / 0.7221 GB, free: 187.4 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007193/1.193, allocations: 178.1 kB / 0.7223 GB, free: 187.4 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0007883/1.194, allocations: 0.7236 MB / 0.723 GB, free: 187.1 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005501/1.199, allocations: 3.176 MB / 0.7261 GB, free: 187.1 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00774/1.207, allocations: 8.583 MB / 0.7345 GB, free: 179.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008437/1.216, allocations: 5.281 MB / 0.7396 GB, free: 177.1 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002043/1.216, allocations: 55.33 kB / 0.7397 GB, free: 177.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.02008/1.236, allocations: 11.56 MB / 0.751 GB, free: 172.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001426/1.236, allocations: 91.36 kB / 0.7511 GB, free: 172.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002289/1.236, allocations: 194.4 kB / 0.7513 GB, free: 172.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002613/1.237, allocations: 278.9 kB / 0.7515 GB, free: 172.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00629/1.243, allocations: 2.078 MB / 0.7535 GB, free: 172.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002102/1.243, allocations: 375.4 kB / 0.7539 GB, free: 172.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006772/1.25, allocations: 1.32 MB / 0.7552 GB, free: 171.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001096/1.251, allocations: 0.5503 MB / 0.7557 GB, free: 171.6 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005695/1.257, allocations: 3.709 MB / 0.7594 GB, free: 170 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008177/1.258, allocations: 486.3 kB / 0.7598 GB, free: 169.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001464/1.259, allocations: 0.6465 MB / 0.7604 GB, free: 169.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.544e-05/1.259, allocations: 58.88 kB / 0.7605 GB, free: 169.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.695e-05/1.259, allocations: 0 / 0.7605 GB, free: 169.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.543e-05/1.259, allocations: 11.95 kB / 0.7605 GB, free: 169.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02252/1.282, allocations: 12.61 MB / 0.7728 GB, free: 160.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-05/1.282, allocations: 16 kB / 0.7729 GB, free: 160.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001746/1.284, allocations: 420 kB / 0.7733 GB, free: 160.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.293e-05/1.284, allocations: 27.95 kB / 0.7733 GB, free: 160.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002619/1.284, allocations: 62.27 kB / 0.7733 GB, free: 160.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.299e-05/1.284, allocations: 35.53 kB / 0.7734 GB, free: 160.3 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.004e-05/1.284, allocations: 19.94 kB / 0.7734 GB, free: 160.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005379/1.289, allocations: 6.585 MB / 0.7798 GB, free: 153.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00133/1.291, allocations: 0.5863 MB / 0.7804 GB, free: 153 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009912/1.292, allocations: 57.7 kB / 0.7804 GB, free: 153 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002052/1.294, allocations: 131.1 kB / 0.7806 GB, free: 152.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002782/1.294, allocations: 177.1 kB / 0.7807 GB, free: 152.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001891/1.294, allocations: 99.19 kB / 0.7808 GB, free: 152.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005583/1.3, allocations: 3.463 MB / 0.7842 GB, free: 149.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/1.3, allocations: 0 / 0.7842 GB, free: 149.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008391/1.308, allocations: 1.984 MB / 0.7862 GB, free: 147.9 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007107/1.309, allocations: 198.6 kB / 0.7863 GB, free: 147.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01065/1.32, allocations: 7.243 MB / 0.7934 GB, free: 141 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.435e-05/1.32, allocations: 4 kB / 0.7934 GB, free: 141 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002489/1.322, allocations: 1.996 MB / 0.7954 GB, free: 139 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002974/1.325, allocations: 0.5618 MB / 0.7959 GB, free: 138.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03092/1.356, allocations: 18.47 MB / 0.814 GB, free: 119.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008258/1.364, allocations: 5.576 MB / 0.8194 GB, free: 114.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.009886/1.374, allocations: 3.551 MB / 0.8229 GB, free: 110.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001523/1.376, allocations: 371.4 kB / 0.8232 GB, free: 110.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.593e-06/1.376, allocations: 8 kB / 0.8232 GB, free: 110.2 MB / 0.545 GB Notification: Performance of Templates: time 0.08769/1.464, allocations: 42.85 MB / 0.8651 GB, free: 67.64 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/FixedRotation/FixedRotation.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches