Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.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.FixedTranslation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fixedTranslation.frame_b.r_0.1.|fixedTranslation.frame_b.r_0.2.|fixedTranslation.frame_b.r_0.3.|fixedTranslation.frame_b.f.1.|fixedTranslation.frame_b.f.2.|fixedTranslation.frame_b.f.3.|fixedTranslation.frame_b.t.1.|fixedTranslation.frame_b.t.2.|fixedTranslation.frame_b.t.3.|fixed1.frame_b.r_0.1.|fixed1.frame_b.r_0.2.|fixed1.frame_b.r_0.3.|fixed1.frame_b.f.1.|fixed1.frame_b.f.2.|fixed1.frame_b.f.3.|fixed1.frame_b.t.1.|fixed1.frame_b.t.2.|fixed1.frame_b.t.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation") translateModel(ModelicaTest.MultiBody.Parts.FixedTranslation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fixedTranslation.frame_b.r_0.1.|fixedTranslation.frame_b.r_0.2.|fixedTranslation.frame_b.r_0.3.|fixedTranslation.frame_b.f.1.|fixedTranslation.frame_b.f.2.|fixedTranslation.frame_b.f.3.|fixedTranslation.frame_b.t.1.|fixedTranslation.frame_b.t.2.|fixedTranslation.frame_b.t.3.|fixed1.frame_b.r_0.1.|fixed1.frame_b.r_0.2.|fixed1.frame_b.r_0.3.|fixed1.frame_b.f.1.|fixed1.frame_b.f.2.|fixed1.frame_b.f.3.|fixed1.frame_b.t.1.|fixed1.frame_b.t.2.|fixed1.frame_b.t.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001009/0.001008, allocations: 94.94 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001334/0.001334, allocations: 202.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.7 MB / 246.8 MB, free: 11.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2207/0.2207, allocations: 46.19 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003247/0.0003248, allocations: 8 kB / 419.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1457, allocations: 63.56 MB / 483.1 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.02714/0.1729, allocations: 27.74 MB / 0.4989 GB, free: 8.305 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01558/0.1885, allocations: 5.57 MB / 0.5043 GB, free: 2.719 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006198/0.1948, allocations: 115.8 kB / 0.5044 GB, free: 2.605 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001387/0.1962, allocations: 418.2 kB / 0.5048 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003031/0.1992, allocations: 1.176 MB / 0.506 GB, free: 1.016 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000289/0.1995, allocations: 67.92 kB / 0.506 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.3168/0.5164, allocations: 4.082 MB / 0.51 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00377/0.5202, allocations: 2.145 MB / 0.5121 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001822/0.522, allocations: 0.8614 MB / 0.5129 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002394/0.5244, allocations: 1.477 MB / 0.5144 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003963/0.5248, allocations: 121.9 kB / 0.5145 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001183/0.526, allocations: 427.4 kB / 0.5149 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001647/0.5277, allocations: 1.363 MB / 0.5162 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001689/0.5294, allocations: 1.653 MB / 0.5179 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006052/0.5355, allocations: 5.037 MB / 0.5228 GB, free: 8.492 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.5355, allocations: 4 kB / 0.5228 GB, free: 8.492 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.5355, allocations: 0 / 0.5228 GB, free: 8.492 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000158/0.5357, allocations: 0 / 0.5228 GB, free: 8.492 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: 1477 * Number of variables: 1477 Notification: Performance of Generate backend data structure: time 0.006636/0.5423, allocations: 2.954 MB / 0.5257 GB, free: 6.535 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.004e-05/0.5424, allocations: 9.844 kB / 0.5257 GB, free: 6.535 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01068/0.5531, allocations: 3.067 MB / 0.5287 GB, free: 5.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004306/0.5574, allocations: 1.549 MB / 0.5302 GB, free: 4.469 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000194/0.5576, allocations: 178.7 kB / 0.5303 GB, free: 4.461 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006615/0.5583, allocations: 223.7 kB / 0.5306 GB, free: 4.457 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0182/0.5765, allocations: 9.707 MB / 0.54 GB, free: 24 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001444/0.5767, allocations: 18.41 kB / 0.5401 GB, free: 24 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001115/0.5778, allocations: 110.2 kB / 0.5402 GB, free: 0 / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005431/0.5833, allocations: 2.445 MB / 0.5426 GB, free: 14.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01939/0.6027, allocations: 8.802 MB / 0.5511 GB, free: 5.477 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05469/0.6574, allocations: 30.71 MB / 0.5811 GB, free: 6.406 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006596/0.6641, allocations: 3.267 MB / 0.5843 GB, free: 2.914 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001616/0.6657, allocations: 0.9212 MB / 0.5852 GB, free: 1.992 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.843e-05/0.6659, allocations: 23.56 kB / 0.5852 GB, free: 1.977 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.6659, allocations: 44.64 kB / 0.5853 GB, free: 1.926 MB / 430.1 MB Notification: Performance of pre-optimization done (n=148): time 5.601e-06/0.6659, allocations: 3.938 kB / 0.5853 GB, free: 1.922 MB / 430.1 MB Notification: Performance of matching and sorting (n=148): time 0.008161/0.6741, allocations: 3.373 MB / 0.5886 GB, free: 14.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.6742, allocations: 60.41 kB / 0.5886 GB, free: 14.47 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006857/0.6811, allocations: 3.119 MB / 0.5917 GB, free: 11.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001447/0.6812, allocations: 45.69 kB / 0.5917 GB, free: 11.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002438/0.6837, allocations: 2.675 MB / 0.5943 GB, free: 8.613 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007996/0.6845, allocations: 0.5654 MB / 0.5949 GB, free: 8.055 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007856/0.6853, allocations: 428.5 kB / 0.5953 GB, free: 7.629 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.6854, allocations: 305.1 kB / 0.5956 GB, free: 7.328 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002744/0.6882, allocations: 1.528 MB / 0.5971 GB, free: 5.793 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005424/0.6936, allocations: 4.453 MB / 0.6014 GB, free: 15.93 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009194/0.7028, allocations: 6.534 MB / 0.6078 GB, free: 8.371 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001191/0.703, allocations: 36 kB / 0.6079 GB, free: 8.336 MB / 462.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.01259/0.7156, allocations: 5.827 MB / 0.6135 GB, free: 2.641 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001172/0.7158, allocations: 50.03 kB / 0.6136 GB, free: 2.594 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002209/0.716, allocations: 104 kB / 0.6137 GB, free: 2.492 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001699/0.7162, allocations: 136 kB / 0.6138 GB, free: 2.359 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003537/0.7197, allocations: 1.057 MB / 0.6149 GB, free: 1.301 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002254/0.72, allocations: 199.2 kB / 0.615 GB, free: 1.105 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004329/0.7243, allocations: 0.6904 MB / 0.6157 GB, free: 420 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008541/0.7252, allocations: 296 kB / 0.616 GB, free: 124 kB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 470 * Number of states: 0 () * Number of discrete variables: 29 (arrow.arrowLine.twoHeadedArrow,arrow.headAtOrigin,arrow.color[3],arrow.color[2],arrow.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],fixed1.color[3],fixed1.color[2],fixed1.color[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],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (588): * Single equations (assignments): 582 * Array equations: 6 * 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.00529/0.7305, allocations: 1.937 MB / 0.6179 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000669/0.7312, allocations: 260.6 kB / 0.6181 GB, free: 13.91 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00108/0.7323, allocations: 331.8 kB / 0.6185 GB, free: 13.58 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.73e-05/0.7323, allocations: 22.42 kB / 0.6185 GB, free: 13.56 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.655e-05/0.7323, allocations: 0 / 0.6185 GB, free: 13.56 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.689e-05/0.7324, allocations: 11.86 kB / 0.6185 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01609/0.7485, allocations: 6.881 MB / 0.6252 GB, free: 6.539 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-05/0.7485, allocations: 4 kB / 0.6252 GB, free: 6.535 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008161/0.7494, allocations: 175.7 kB / 0.6254 GB, free: 6.363 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.076e-05/0.7494, allocations: 11.94 kB / 0.6254 GB, free: 6.352 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001266/0.7495, allocations: 31.98 kB / 0.6254 GB, free: 6.32 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.309e-05/0.7496, allocations: 23.94 kB / 0.6254 GB, free: 6.297 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-05/0.7496, allocations: 11.94 kB / 0.6255 GB, free: 6.285 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003342/0.7529, allocations: 2.251 MB / 0.6277 GB, free: 3.93 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001064/0.754, allocations: 357.3 kB / 0.628 GB, free: 3.559 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007002/0.7547, allocations: 28 kB / 0.628 GB, free: 3.531 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/0.7559, allocations: 47.89 kB / 0.6281 GB, free: 3.484 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/0.7561, allocations: 82.89 kB / 0.6281 GB, free: 3.406 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001112/0.7562, allocations: 55.92 kB / 0.6282 GB, free: 3.352 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005155/0.7614, allocations: 1.971 MB / 0.6301 GB, free: 1.379 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.002e-06/0.7615, allocations: 0 / 0.6301 GB, free: 1.379 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.009227/0.7707, allocations: 0.9991 MB / 0.6311 GB, free: 388 kB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (100): * Single equations (assignments): 94 * Array equations: 6 * 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.000721/0.7715, allocations: 153.7 kB / 0.6312 GB, free: 224 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009143/0.7806, allocations: 3.543 MB / 0.6347 GB, free: 12.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-05/0.7807, allocations: 448 / 0.6347 GB, free: 12.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002042/0.7828, allocations: 0.9212 MB / 0.6356 GB, free: 11.78 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007156/0.7899, allocations: 317.3 kB / 0.6359 GB, free: 11.48 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03096/0.821, allocations: 9.553 MB / 0.6452 GB, free: 1.805 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008631/0.8296, allocations: 3.016 MB / 0.6482 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.009552/0.8392, allocations: 1.726 MB / 0.6499 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001167/0.8405, allocations: 187.4 kB / 0.65 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of SimCode: time 1.473e-06/0.8405, allocations: 0 / 0.65 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of Templates: time 0.09162/0.9321, allocations: 21.83 MB / 0.6714 GB, free: 7.168 MB / 0.5137 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/FixedTranslation/FixedTranslation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches