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.001203/0.001203, allocations: 119.8 kB / 18.41 MB, free: 4.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001322/0.001322, allocations: 203.5 kB / 19.36 MB, free: 3.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.4 MB / 247.5 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.227/0.227, allocations: 46.1 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 75.88 kB / 419 MB, free: 18.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.124, allocations: 62.45 MB / 481.5 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01149/0.1355, allocations: 11.38 MB / 492.8 MB, free: 9.07 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006271/0.1419, allocations: 2.842 MB / 495.7 MB, free: 6.219 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00118/0.1431, allocations: 55.88 kB / 495.7 MB, free: 6.164 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002342/0.1455, allocations: 1.335 MB / 497.1 MB, free: 4.824 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002294/0.1478, allocations: 1.233 MB / 498.3 MB, free: 3.586 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002585/0.1481, allocations: 67.86 kB / 498.4 MB, free: 3.52 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002717/0.1508, allocations: 2.764 MB / 0.4894 GB, free: 0.75 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001786/0.1526, allocations: 1.769 MB / 0.4911 GB, free: 14.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001199/0.1538, allocations: 1.058 MB / 0.4922 GB, free: 13.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001459/0.1553, allocations: 1.483 MB / 0.4936 GB, free: 12.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003068/0.1556, allocations: 208 kB / 0.4938 GB, free: 12.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008698/0.1565, allocations: 491.4 kB / 0.4943 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001065/0.1575, allocations: 1.426 MB / 0.4957 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001277/0.1588, allocations: 1.715 MB / 0.4973 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004401/0.1632, allocations: 5.491 MB / 0.5027 GB, free: 3.043 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1633, allocations: 0 / 0.5027 GB, free: 3.043 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1633, allocations: 0 / 0.5027 GB, free: 3.043 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001105/0.1634, allocations: 0 / 0.5027 GB, free: 3.043 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.283/0.4464, allocations: 3.634 MB / 0.5062 GB, free: 39.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/0.4464, allocations: 9.781 kB / 0.5063 GB, free: 39.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01093/0.4574, allocations: 2.976 MB / 0.5092 GB, free: 39.19 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004359/0.4618, allocations: 1.559 MB / 0.5107 GB, free: 38.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001983/0.462, allocations: 176.5 kB / 0.5109 GB, free: 38.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000677/0.4627, allocations: 221.5 kB / 0.5111 GB, free: 38.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01531/0.478, allocations: 9.698 MB / 0.5205 GB, free: 34.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.812e-05/0.4781, allocations: 22.16 kB / 0.5206 GB, free: 34.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000327/0.4784, allocations: 114.3 kB / 0.5207 GB, free: 34.06 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00351/0.482, allocations: 2.436 MB / 0.523 GB, free: 33.1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01382/0.4958, allocations: 8.816 MB / 0.5317 GB, free: 26.03 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03565/0.5315, allocations: 30.52 MB / 0.5615 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004887/0.5364, allocations: 3.269 MB / 0.5647 GB, free: 7.246 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001165/0.5376, allocations: 0.9258 MB / 0.5656 GB, free: 6.316 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.974e-05/0.5377, allocations: 16.98 kB / 0.5656 GB, free: 6.297 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.5377, allocations: 44.12 kB / 0.5656 GB, free: 6.246 MB / 398.1 MB Notification: Performance of pre-optimization done (n=148): time 3.477e-06/0.5377, allocations: 0 / 0.5656 GB, free: 6.246 MB / 398.1 MB Notification: Performance of matching and sorting (n=148): time 0.006831/0.5446, allocations: 3.377 MB / 0.5689 GB, free: 2.863 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.5446, allocations: 64.41 kB / 0.569 GB, free: 2.785 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004103/0.5487, allocations: 3.111 MB / 0.572 GB, free: 15.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.042e-05/0.5488, allocations: 44.89 kB / 0.5721 GB, free: 15.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001726/0.5506, allocations: 2.681 MB / 0.5747 GB, free: 12.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004806/0.5511, allocations: 0.567 MB / 0.5752 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001085/0.5521, allocations: 0.9759 MB / 0.5762 GB, free: 11.33 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.72e-05/0.5522, allocations: 305.1 kB / 0.5765 GB, free: 11.03 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001949/0.5542, allocations: 1.528 MB / 0.578 GB, free: 9.492 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003952/0.5582, allocations: 4.447 MB / 0.5823 GB, free: 3.586 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006746/0.5649, allocations: 6.541 MB / 0.5887 GB, free: 11.6 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.473e-05/0.565, allocations: 28 kB / 0.5887 GB, free: 11.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.009509/0.5745, allocations: 5.827 MB / 0.5944 GB, free: 5.734 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.876e-05/0.5746, allocations: 52 kB / 0.5945 GB, free: 5.684 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001176/0.5748, allocations: 104.9 kB / 0.5946 GB, free: 5.582 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001465/0.5749, allocations: 136 kB / 0.5947 GB, free: 5.449 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002895/0.5778, allocations: 1.061 MB / 0.5957 GB, free: 4.387 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001529/0.578, allocations: 200.2 kB / 0.5959 GB, free: 4.191 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00411/0.5821, allocations: 0.6723 MB / 0.5966 GB, free: 3.512 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007174/0.5828, allocations: 300 kB / 0.5969 GB, free: 3.219 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.004743/0.5876, allocations: 1.95 MB / 0.5988 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006215/0.5882, allocations: 264.5 kB / 0.599 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006284/0.5888, allocations: 327.8 kB / 0.5993 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.378e-05/0.5889, allocations: 20 kB / 0.5994 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.515e-05/0.5889, allocations: 0 / 0.5994 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.5889, allocations: 3.984 kB / 0.5994 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01038/0.5993, allocations: 6.874 MB / 0.6061 GB, free: 9.621 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/0.5994, allocations: 8 kB / 0.6061 GB, free: 9.613 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006805/0.6, allocations: 175.7 kB / 0.6062 GB, free: 9.441 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.261e-05/0.6001, allocations: 8 kB / 0.6063 GB, free: 9.434 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.098e-05/0.6001, allocations: 28 kB / 0.6063 GB, free: 9.406 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.28e-05/0.6002, allocations: 15.94 kB / 0.6063 GB, free: 9.391 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.413e-06/0.6002, allocations: 11.94 kB / 0.6063 GB, free: 9.379 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002529/0.6027, allocations: 2.256 MB / 0.6085 GB, free: 7.008 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006686/0.6034, allocations: 357.2 kB / 0.6088 GB, free: 6.637 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002446/0.6036, allocations: 27.98 kB / 0.6089 GB, free: 6.609 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006748/0.6043, allocations: 43.95 kB / 0.6089 GB, free: 6.566 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/0.6045, allocations: 82.17 kB / 0.609 GB, free: 6.488 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-05/0.6046, allocations: 55.97 kB / 0.609 GB, free: 6.434 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002675/0.6072, allocations: 1.971 MB / 0.611 GB, free: 4.461 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6073, allocations: 0 / 0.611 GB, free: 4.461 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003613/0.6109, allocations: 0.9935 MB / 0.6119 GB, free: 3.469 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.0003482/0.6112, allocations: 153.5 kB / 0.6121 GB, free: 3.309 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005186/0.6164, allocations: 3.577 MB / 0.6156 GB, free: 15.77 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.6164, allocations: 0 / 0.6156 GB, free: 15.77 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001069/0.6175, allocations: 0.9214 MB / 0.6165 GB, free: 14.84 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001544/0.6191, allocations: 327.5 kB / 0.6168 GB, free: 14.53 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01182/0.6309, allocations: 7.613 MB / 0.6242 GB, free: 6.812 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003153/0.6341, allocations: 3.027 MB / 0.6272 GB, free: 3.75 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003436/0.6376, allocations: 1.715 MB / 0.6289 GB, free: 2.027 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004508/0.638, allocations: 191.4 kB / 0.629 GB, free: 1.84 MB / 462.1 MB Notification: Performance of SimCode: time 7.92e-07/0.638, allocations: 0 / 0.629 GB, free: 1.84 MB / 462.1 MB Notification: Performance of Templates: time 0.04004/0.6781, allocations: 18.54 MB / 0.6471 GB, free: 15.38 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/FixedTranslation/FixedTranslation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches