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.001032/0.001033, allocations: 98.92 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.001065/0.001065, allocations: 206.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.457/1.457, allocations: 227.2 MB / 245.9 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.251/0.251, allocations: 45.92 MB / 344 MB, free: 12.14 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002947/0.0002948, allocations: 4 kB / 417.9 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1415, allocations: 63.46 MB / 481.4 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.02451/0.166, allocations: 24.66 MB / 0.4942 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01342/0.1795, allocations: 5.643 MB / 0.4997 GB, free: 7.027 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006463/0.186, allocations: 115.8 kB / 0.4998 GB, free: 6.914 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004581/0.1906, allocations: 1.268 MB / 0.501 GB, free: 5.641 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01218/0.2028, allocations: 3.647 MB / 0.5046 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001366/0.2042, allocations: 79.92 kB / 0.5047 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003591/0.2078, allocations: 1.531 MB / 0.5062 GB, free: 388 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2848/0.4927, allocations: 1.964 MB / 0.5081 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001747/0.4945, allocations: 0.7656 MB / 0.5088 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001728/0.4962, allocations: 1.029 MB / 0.5098 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005278/0.4967, allocations: 120.4 kB / 0.51 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001205/0.4979, allocations: 389.4 kB / 0.5103 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001602/0.4996, allocations: 1.233 MB / 0.5115 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009131/0.5005, allocations: 0.6967 MB / 0.5122 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006326/0.5068, allocations: 4.207 MB / 0.5163 GB, free: 10.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.5069, allocations: 0 / 0.5163 GB, free: 10.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.5069, allocations: 4 kB / 0.5163 GB, free: 10.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000221/0.5071, allocations: 1.531 kB / 0.5163 GB, free: 10.82 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.008642/0.5157, allocations: 3.03 MB / 0.5193 GB, free: 9.199 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.5158, allocations: 9.562 kB / 0.5193 GB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01216/0.528, allocations: 3.624 MB / 0.5228 GB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005802/0.5338, allocations: 1.543 MB / 0.5243 GB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003096/0.5342, allocations: 175.1 kB / 0.5245 GB, free: 7.953 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001781/0.5359, allocations: 221.2 kB / 0.5247 GB, free: 7.953 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01903/0.555, allocations: 9.725 MB / 0.5342 GB, free: 5.461 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.292e-05/0.5551, allocations: 19.56 kB / 0.5342 GB, free: 5.461 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004037/0.5555, allocations: 109.7 kB / 0.5343 GB, free: 5.461 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003642/0.5592, allocations: 2.436 MB / 0.5367 GB, free: 4.918 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01953/0.5787, allocations: 8.836 MB / 0.5454 GB, free: 372 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05308/0.6319, allocations: 30.73 MB / 0.5754 GB, free: 3.871 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005536/0.6375, allocations: 3.271 MB / 0.5786 GB, free: 388 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.512e-05/0.6376, allocations: 16.36 kB / 0.5786 GB, free: 376 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.6376, allocations: 47.03 kB / 0.5786 GB, free: 324 kB / 414.1 MB Notification: Performance of pre-optimization done (n=148): time 6.482e-06/0.6376, allocations: 0 / 0.5786 GB, free: 324 kB / 414.1 MB Notification: Performance of matching and sorting (n=148): time 0.008015/0.6456, allocations: 3.885 MB / 0.5824 GB, free: 12.31 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.237e-05/0.6457, allocations: 60.41 kB / 0.5825 GB, free: 12.24 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005016/0.6508, allocations: 3.1 MB / 0.5855 GB, free: 9.129 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001448/0.6509, allocations: 45.45 kB / 0.5855 GB, free: 9.082 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00234/0.6533, allocations: 2.685 MB / 0.5882 GB, free: 6.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008142/0.6541, allocations: 0.5629 MB / 0.5887 GB, free: 5.852 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001881/0.6543, allocations: 92 kB / 0.5888 GB, free: 5.762 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003873/0.6547, allocations: 0.5125 MB / 0.5893 GB, free: 5.242 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00247/0.6572, allocations: 1.516 MB / 0.5908 GB, free: 3.719 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006188/0.6634, allocations: 4.417 MB / 0.5951 GB, free: 13.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004734/0.6681, allocations: 2.601 MB / 0.5976 GB, free: 11.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.013e-05/0.6682, allocations: 32 kB / 0.5977 GB, free: 11.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.01172/0.6799, allocations: 5.791 MB / 0.6033 GB, free: 5.605 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.76e-05/0.6801, allocations: 48 kB / 0.6034 GB, free: 5.559 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001324/0.6802, allocations: 104 kB / 0.6035 GB, free: 5.457 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001524/0.6804, allocations: 152 kB / 0.6036 GB, free: 5.309 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003522/0.6839, allocations: 1.061 MB / 0.6046 GB, free: 4.246 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001607/0.6841, allocations: 203.1 kB / 0.6048 GB, free: 4.051 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00379/0.6879, allocations: 0.6754 MB / 0.6055 GB, free: 3.375 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005633/0.6884, allocations: 299.6 kB / 0.6058 GB, free: 3.086 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004524/0.693, allocations: 1.947 MB / 0.6077 GB, free: 1.125 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005262/0.6935, allocations: 260.5 kB / 0.6079 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006632/0.6942, allocations: 331.8 kB / 0.6083 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.169e-05/0.6942, allocations: 16 kB / 0.6083 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.75e-05/0.6942, allocations: 4.062 kB / 0.6083 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.6943, allocations: 3.984 kB / 0.6083 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01297/0.7072, allocations: 6.881 MB / 0.615 GB, free: 9.496 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.289e-05/0.7073, allocations: 8.156 kB / 0.615 GB, free: 9.488 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000745/0.7081, allocations: 179.7 kB / 0.6152 GB, free: 9.312 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.867e-05/0.7081, allocations: 9.75 kB / 0.6152 GB, free: 9.305 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.838e-05/0.7082, allocations: 28 kB / 0.6152 GB, free: 9.277 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.807e-05/0.7082, allocations: 15.98 kB / 0.6152 GB, free: 9.262 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.719e-06/0.7082, allocations: 11.94 kB / 0.6152 GB, free: 9.25 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003353/0.7116, allocations: 2.895 MB / 0.6181 GB, free: 5.969 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009363/0.7125, allocations: 361.2 kB / 0.6184 GB, free: 5.594 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002738/0.7128, allocations: 24 kB / 0.6184 GB, free: 5.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007342/0.7135, allocations: 47.95 kB / 0.6185 GB, free: 5.523 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/0.7137, allocations: 84.45 kB / 0.6186 GB, free: 5.441 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/0.7138, allocations: 47.28 kB / 0.6186 GB, free: 5.398 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003722/0.7175, allocations: 1.96 MB / 0.6205 GB, free: 3.438 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.7176, allocations: 4 kB / 0.6205 GB, free: 3.434 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005103/0.7227, allocations: 1.013 MB / 0.6215 GB, free: 2.422 MB / 462.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 (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.0006366/0.7233, allocations: 163.2 kB / 0.6217 GB, free: 2.258 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007978/0.7313, allocations: 3.527 MB / 0.6251 GB, free: 14.75 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-05/0.7314, allocations: 0 / 0.6251 GB, free: 14.75 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001398/0.7328, allocations: 0.9192 MB / 0.626 GB, free: 13.84 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00212/0.7349, allocations: 303.8 kB / 0.6263 GB, free: 13.55 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01806/0.753, allocations: 9.147 MB / 0.6352 GB, free: 4.285 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004221/0.7572, allocations: 3.084 MB / 0.6382 GB, free: 1.172 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004254/0.7615, allocations: 1.724 MB / 0.6399 GB, free: 15.44 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005446/0.7621, allocations: 183.4 kB / 0.6401 GB, free: 15.26 MB / 494.1 MB Notification: Performance of SimCode: time 1.824e-06/0.7621, allocations: 0 / 0.6401 GB, free: 15.26 MB / 494.1 MB Notification: Performance of Templates: time 0.04852/0.8106, allocations: 21.52 MB / 0.6611 GB, free: 9.91 MB / 0.4981 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","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches