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.001656/0.001656, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001956/0.001956, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2224/0.2224, allocations: 46.11 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 79.95 kB / 417.6 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1448, allocations: 62.44 MB / 480 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01295/0.1577, allocations: 11.38 MB / 491.4 MB, free: 9.832 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008441/0.1663, allocations: 2.839 MB / 494.2 MB, free: 6.984 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00178/0.1681, allocations: 59.88 kB / 494.3 MB, free: 6.926 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002846/0.171, allocations: 1.339 MB / 495.6 MB, free: 5.582 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00311/0.1741, allocations: 1.226 MB / 496.9 MB, free: 4.352 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003153/0.1744, allocations: 79.84 kB / 496.9 MB, free: 4.273 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003262/0.1777, allocations: 2.764 MB / 499.7 MB, free: 1.508 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002047/0.1798, allocations: 1.769 MB / 0.4897 GB, free: 15.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001739/0.1815, allocations: 1.055 MB / 0.4907 GB, free: 14.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001922/0.1835, allocations: 1.483 MB / 0.4922 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004928/0.184, allocations: 208 kB / 0.4924 GB, free: 12.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001101/0.1851, allocations: 499.3 kB / 0.4929 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001286/0.1864, allocations: 1.418 MB / 0.4942 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001707/0.1881, allocations: 1.719 MB / 0.4959 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004937/0.1931, allocations: 5.202 MB / 0.501 GB, free: 4.094 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.707e-06/0.1931, allocations: 4 kB / 0.501 GB, free: 4.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1931, allocations: 0 / 0.501 GB, free: 4.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001186/0.1932, allocations: 0 / 0.501 GB, free: 4.09 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.005411/0.1986, allocations: 3.64 MB / 0.5046 GB, free: 392 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.1987, allocations: 8.031 kB / 0.5046 GB, free: 384 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3048/0.5036, allocations: 2.97 MB / 0.5075 GB, free: 39.65 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004319/0.5079, allocations: 1.546 MB / 0.509 GB, free: 39.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001868/0.5081, allocations: 179.4 kB / 0.5092 GB, free: 39.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008016/0.509, allocations: 222.3 kB / 0.5094 GB, free: 39.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01888/0.5278, allocations: 9.7 MB / 0.5188 GB, free: 35.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001385/0.528, allocations: 21.5 kB / 0.5189 GB, free: 35.06 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001179/0.5292, allocations: 116.2 kB / 0.519 GB, free: 34.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004559/0.5338, allocations: 2.437 MB / 0.5214 GB, free: 34.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01809/0.5519, allocations: 8.813 MB / 0.53 GB, free: 27.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05104/0.603, allocations: 30.67 MB / 0.5599 GB, free: 12.22 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006128/0.6092, allocations: 3.272 MB / 0.5631 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001456/0.6107, allocations: 0.9251 MB / 0.564 GB, free: 7.793 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.98e-05/0.6108, allocations: 20.97 kB / 0.564 GB, free: 7.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/0.6108, allocations: 43.56 kB / 0.5641 GB, free: 7.719 MB / 398.1 MB Notification: Performance of pre-optimization done (n=148): time 6.112e-06/0.6108, allocations: 0 / 0.5641 GB, free: 7.719 MB / 398.1 MB Notification: Performance of matching and sorting (n=148): time 0.007759/0.6186, allocations: 3.366 MB / 0.5674 GB, free: 4.348 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.964e-05/0.6187, allocations: 64.41 kB / 0.5674 GB, free: 4.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006418/0.6251, allocations: 3.115 MB / 0.5705 GB, free: 1.137 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000222/0.6254, allocations: 45.64 kB / 0.5705 GB, free: 1.086 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002612/0.628, allocations: 2.673 MB / 0.5731 GB, free: 14.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009432/0.629, allocations: 0.567 MB / 0.5737 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002267/0.6313, allocations: 0.9681 MB / 0.5746 GB, free: 12.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.6314, allocations: 309.1 kB / 0.5749 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002771/0.6342, allocations: 1.528 MB / 0.5764 GB, free: 10.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005067/0.6393, allocations: 4.447 MB / 0.5807 GB, free: 5.074 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008182/0.6475, allocations: 6.541 MB / 0.5871 GB, free: 13.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001669/0.6477, allocations: 28 kB / 0.5872 GB, free: 13.06 MB / 430.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.01222/0.6599, allocations: 5.832 MB / 0.5929 GB, free: 7.219 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001663/0.6601, allocations: 52 kB / 0.5929 GB, free: 7.168 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002356/0.6604, allocations: 100 kB / 0.593 GB, free: 7.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000201/0.6606, allocations: 143.9 kB / 0.5931 GB, free: 6.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003349/0.6639, allocations: 1.057 MB / 0.5942 GB, free: 5.871 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002483/0.6642, allocations: 203.2 kB / 0.5944 GB, free: 5.672 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003859/0.6681, allocations: 0.6762 MB / 0.595 GB, free: 4.988 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006342/0.6687, allocations: 292 kB / 0.5953 GB, free: 4.703 MB / 430.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.00496/0.6737, allocations: 1.946 MB / 0.5972 GB, free: 2.742 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007415/0.6745, allocations: 260.6 kB / 0.5974 GB, free: 2.484 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009068/0.6754, allocations: 327.8 kB / 0.5978 GB, free: 2.16 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-05/0.6754, allocations: 26.61 kB / 0.5978 GB, free: 2.137 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-05/0.6755, allocations: 0 / 0.5978 GB, free: 2.137 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.111e-05/0.6755, allocations: 7.969 kB / 0.5978 GB, free: 2.129 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01486/0.6904, allocations: 6.886 MB / 0.6045 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.908e-05/0.6904, allocations: 4 kB / 0.6045 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007881/0.6912, allocations: 175.8 kB / 0.6047 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.922e-05/0.6913, allocations: 12 kB / 0.6047 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.446e-05/0.6914, allocations: 31.98 kB / 0.6047 GB, free: 10.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.725e-05/0.6914, allocations: 19.56 kB / 0.6048 GB, free: 10.85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/0.6914, allocations: 7.938 kB / 0.6048 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003109/0.6945, allocations: 2.259 MB / 0.607 GB, free: 8.477 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008203/0.6953, allocations: 353.2 kB / 0.6073 GB, free: 8.109 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005602/0.6959, allocations: 24 kB / 0.6073 GB, free: 8.086 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/0.697, allocations: 51.95 kB / 0.6074 GB, free: 8.035 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001765/0.6972, allocations: 84.36 kB / 0.6075 GB, free: 7.953 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/0.6973, allocations: 48 kB / 0.6075 GB, free: 7.906 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004578/0.7019, allocations: 1.979 MB / 0.6094 GB, free: 5.926 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.7019, allocations: 0 / 0.6094 GB, free: 5.926 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005517/0.7074, allocations: 0.9857 MB / 0.6104 GB, free: 4.941 MB / 446.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.0005545/0.708, allocations: 157.6 kB / 0.6105 GB, free: 4.777 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008833/0.7169, allocations: 4.654 MB / 0.6151 GB, free: 172 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/0.7169, allocations: 0 / 0.6151 GB, free: 172 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001392/0.7183, allocations: 0.9263 MB / 0.616 GB, free: 15.24 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002428/0.7208, allocations: 321.4 kB / 0.6163 GB, free: 14.94 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01576/0.7365, allocations: 7.713 MB / 0.6238 GB, free: 7.105 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005167/0.7417, allocations: 3.012 MB / 0.6268 GB, free: 4.062 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004264/0.746, allocations: 1.718 MB / 0.6285 GB, free: 2.336 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006344/0.7467, allocations: 183.4 kB / 0.6286 GB, free: 2.156 MB / 462.1 MB Notification: Performance of SimCode: time 1.744e-06/0.7467, allocations: 4 kB / 0.6286 GB, free: 2.152 MB / 462.1 MB Notification: Performance of Templates: time 0.04941/0.7961, allocations: 22.8 MB / 0.6509 GB, free: 11.41 MB / 494.1 MB 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