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.001053/0.001053, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001065/0.001066, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2086/0.2086, allocations: 46.11 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 77.05 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.107, allocations: 62.45 MB / 481.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01131/0.1183, allocations: 11.39 MB / 492.8 MB, free: 9.09 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00559/0.1239, allocations: 2.831 MB / 495.7 MB, free: 6.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001162/0.1251, allocations: 59.94 kB / 495.7 MB, free: 6.191 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002605/0.1278, allocations: 1.331 MB / 497.1 MB, free: 4.855 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002516/0.1303, allocations: 1.233 MB / 498.3 MB, free: 3.617 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003417/0.1306, allocations: 75.91 kB / 498.4 MB, free: 3.543 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003063/0.1337, allocations: 2.76 MB / 0.4894 GB, free: 0.7773 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001807/0.1355, allocations: 1.769 MB / 0.4911 GB, free: 14.97 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001194/0.1368, allocations: 1.062 MB / 0.4922 GB, free: 13.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001547/0.1383, allocations: 1.467 MB / 0.4936 GB, free: 12.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002816/0.1386, allocations: 215.9 kB / 0.4938 GB, free: 12.22 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008765/0.1395, allocations: 0.4915 MB / 0.4943 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001135/0.1406, allocations: 1.418 MB / 0.4957 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001446/0.1421, allocations: 1.719 MB / 0.4973 GB, free: 8.578 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005069/0.1472, allocations: 5.487 MB / 0.5027 GB, free: 3.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.1472, allocations: 4 kB / 0.5027 GB, free: 3.066 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1472, allocations: 0 / 0.5027 GB, free: 3.066 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.77e-05/0.1473, allocations: 0 / 0.5027 GB, free: 3.066 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.1912/0.3385, allocations: 3.624 MB / 0.5062 GB, free: 39.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.3385, allocations: 8.781 kB / 0.5062 GB, free: 39.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01001/0.3485, allocations: 2.98 MB / 0.5092 GB, free: 39.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003705/0.3523, allocations: 1.554 MB / 0.5107 GB, free: 38.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001277/0.3524, allocations: 178.4 kB / 0.5108 GB, free: 38.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005469/0.353, allocations: 216.9 kB / 0.5111 GB, free: 38.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01317/0.3662, allocations: 9.709 MB / 0.5205 GB, free: 34.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.065e-05/0.3662, allocations: 19.97 kB / 0.5206 GB, free: 34.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003236/0.3666, allocations: 113.8 kB / 0.5207 GB, free: 34.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003163/0.3698, allocations: 2.435 MB / 0.523 GB, free: 33.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01267/0.3824, allocations: 8.82 MB / 0.5317 GB, free: 26.1 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03484/0.4173, allocations: 30.52 MB / 0.5615 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005139/0.4225, allocations: 3.277 MB / 0.5647 GB, free: 7.305 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001207/0.4237, allocations: 0.925 MB / 0.5656 GB, free: 6.379 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.343e-05/0.4238, allocations: 20.92 kB / 0.5656 GB, free: 6.355 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.4238, allocations: 47.55 kB / 0.5656 GB, free: 6.301 MB / 398.1 MB Notification: Performance of pre-optimization done (n=148): time 3.897e-06/0.4239, allocations: 0 / 0.5656 GB, free: 6.301 MB / 398.1 MB Notification: Performance of matching and sorting (n=148): time 0.007009/0.4309, allocations: 3.37 MB / 0.5689 GB, free: 2.926 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.4309, allocations: 60.41 kB / 0.569 GB, free: 2.852 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004032/0.435, allocations: 3.111 MB / 0.572 GB, free: 15.72 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001044/0.4351, allocations: 45.7 kB / 0.572 GB, free: 15.67 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001628/0.4367, allocations: 2.677 MB / 0.5747 GB, free: 12.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004949/0.4372, allocations: 0.567 MB / 0.5752 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001113/0.4384, allocations: 0.9642 MB / 0.5762 GB, free: 11.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.4385, allocations: 305.1 kB / 0.5764 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002072/0.4405, allocations: 1.532 MB / 0.5779 GB, free: 9.566 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003914/0.4445, allocations: 4.455 MB / 0.5823 GB, free: 3.652 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006855/0.4513, allocations: 6.542 MB / 0.5887 GB, free: 11.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.435e-05/0.4514, allocations: 28 kB / 0.5887 GB, free: 11.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.009367/0.4608, allocations: 5.827 MB / 0.5944 GB, free: 5.805 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.213e-05/0.4609, allocations: 56.19 kB / 0.5945 GB, free: 5.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001125/0.461, allocations: 104 kB / 0.5946 GB, free: 5.648 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001325/0.4612, allocations: 136 kB / 0.5947 GB, free: 5.516 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002909/0.4641, allocations: 1.057 MB / 0.5957 GB, free: 4.457 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001641/0.4643, allocations: 208 kB / 0.5959 GB, free: 4.254 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003048/0.4673, allocations: 0.6763 MB / 0.5966 GB, free: 3.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003472/0.4677, allocations: 288 kB / 0.5968 GB, free: 3.289 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.002648/0.4703, allocations: 1.954 MB / 0.5988 GB, free: 1.32 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003781/0.4707, allocations: 256.5 kB / 0.599 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005423/0.4713, allocations: 331.8 kB / 0.5993 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-05/0.4713, allocations: 18.44 kB / 0.5993 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.4713, allocations: 0 / 0.5993 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.4713, allocations: 7.969 kB / 0.5993 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01009/0.4814, allocations: 6.87 MB / 0.6061 GB, free: 9.691 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/0.4815, allocations: 11.98 kB / 0.6061 GB, free: 9.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007283/0.4822, allocations: 175.7 kB / 0.6062 GB, free: 9.508 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.399e-05/0.4822, allocations: 12 kB / 0.6062 GB, free: 9.496 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-05/0.4823, allocations: 28 kB / 0.6063 GB, free: 9.469 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.511e-05/0.4823, allocations: 23.92 kB / 0.6063 GB, free: 9.445 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/0.4823, allocations: 8.5 kB / 0.6063 GB, free: 9.438 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002604/0.485, allocations: 2.256 MB / 0.6085 GB, free: 7.066 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006466/0.4856, allocations: 353.2 kB / 0.6088 GB, free: 6.699 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002502/0.4859, allocations: 27.98 kB / 0.6089 GB, free: 6.672 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007013/0.4866, allocations: 43.95 kB / 0.6089 GB, free: 6.629 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/0.4867, allocations: 84.39 kB / 0.609 GB, free: 6.547 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.726e-05/0.4868, allocations: 47.98 kB / 0.609 GB, free: 6.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002585/0.4894, allocations: 1.983 MB / 0.611 GB, free: 4.516 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4894, allocations: 0 / 0.611 GB, free: 4.516 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003256/0.4927, allocations: 0.9934 MB / 0.6119 GB, free: 3.523 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.000318/0.493, allocations: 153.6 kB / 0.6121 GB, free: 3.363 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004835/0.4979, allocations: 3.581 MB / 0.6156 GB, free: 15.82 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.4979, allocations: 0 / 0.6156 GB, free: 15.82 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.499, allocations: 0.9189 MB / 0.6165 GB, free: 14.89 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/0.5004, allocations: 321.5 kB / 0.6168 GB, free: 14.59 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/0.5116, allocations: 7.614 MB / 0.6242 GB, free: 6.867 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00302/0.5147, allocations: 3 MB / 0.6272 GB, free: 3.832 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003329/0.518, allocations: 1.726 MB / 0.6288 GB, free: 2.098 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004249/0.5184, allocations: 183.4 kB / 0.629 GB, free: 1.918 MB / 462.1 MB Notification: Performance of SimCode: time 7.92e-07/0.5184, allocations: 0 / 0.629 GB, free: 1.918 MB / 462.1 MB Notification: Performance of Templates: time 0.03973/0.5582, allocations: 18.55 MB / 0.6471 GB, free: 15.44 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 gbode -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