Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_cpp_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_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00107/0.00107, allocations: 199.3 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 226.5 MB / 243.4 MB, free: 8.168 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008755/0.0008756, allocations: 95.11 kB / 295.5 MB, free: 6.871 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3146/0.3146, allocations: 44.82 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002767/0.0002768, allocations: 11.98 kB / 465.3 MB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3165, allocations: 62.95 MB / 0.5159 GB, free: 37.1 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01698/0.3336, allocations: 26.03 MB / 0.5413 GB, free: 18.52 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01141/0.345, allocations: 5.39 MB / 0.5466 GB, free: 14.87 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005196/0.3502, allocations: 117.5 kB / 0.5467 GB, free: 14.86 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00362/0.3539, allocations: 1.263 MB / 0.5479 GB, free: 14.42 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009876/0.3638, allocations: 3.564 MB / 0.5514 GB, free: 12.94 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.365, allocations: 79.34 kB / 0.5515 GB, free: 12.9 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004616/0.3696, allocations: 3.2 MB / 0.5546 GB, free: 11.76 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003532/0.3732, allocations: 2.1 MB / 0.5566 GB, free: 10.86 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001831/0.375, allocations: 0.927 MB / 0.5575 GB, free: 10.55 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002093/0.3772, allocations: 1.45 MB / 0.559 GB, free: 10.11 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000403/0.3776, allocations: 119.9 kB / 0.5591 GB, free: 10.11 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001141/0.3787, allocations: 429.2 kB / 0.5595 GB, free: 9.992 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001248/0.38, allocations: 1.328 MB / 0.5608 GB, free: 9.289 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001365/0.3814, allocations: 1.569 MB / 0.5623 GB, free: 8.094 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003791/0.3852, allocations: 4.207 MB / 0.5664 GB, free: 5.273 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.3852, allocations: 0 / 0.5664 GB, free: 5.273 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3852, allocations: 0 / 0.5664 GB, free: 5.273 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001517/0.3854, allocations: 1.094 kB / 0.5664 GB, free: 5.273 MB / 378.7 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.004624/0.39, allocations: 2.987 MB / 0.5693 GB, free: 2.453 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.39, allocations: 12.02 kB / 0.5693 GB, free: 2.441 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008856/0.3989, allocations: 3.064 MB / 0.5723 GB, free: 15.37 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003464/0.4024, allocations: 1.553 MB / 0.5739 GB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001361/0.4026, allocations: 176.6 kB / 0.574 GB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006366/0.4032, allocations: 228 kB / 0.5742 GB, free: 13.37 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01508/0.4183, allocations: 9.686 MB / 0.5837 GB, free: 3.246 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.235e-05/0.4184, allocations: 19.81 kB / 0.5837 GB, free: 3.227 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003323/0.4187, allocations: 103.8 kB / 0.5838 GB, free: 3.125 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003548/0.4223, allocations: 2.447 MB / 0.5862 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0159/0.4382, allocations: 8.761 MB / 0.5948 GB, free: 7.902 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04286/0.4811, allocations: 30.7 MB / 0.6248 GB, free: 8.371 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005391/0.4866, allocations: 3.261 MB / 0.6279 GB, free: 4.887 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00138/0.488, allocations: 0.9196 MB / 0.6288 GB, free: 3.965 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.724e-05/0.4881, allocations: 20.98 kB / 0.6289 GB, free: 3.945 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.4881, allocations: 43.56 kB / 0.6289 GB, free: 3.895 MB / 442.7 MB Notification: Performance of pre-optimization done (n=148): time 3.617e-06/0.4881, allocations: 0 / 0.6289 GB, free: 3.895 MB / 442.7 MB Notification: Performance of matching and sorting (n=148): time 0.00751/0.4957, allocations: 3.366 MB / 0.6322 GB, free: 0.5234 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.4957, allocations: 64.34 kB / 0.6322 GB, free: 460 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00588/0.5016, allocations: 3.1 MB / 0.6353 GB, free: 13.32 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002399/0.5019, allocations: 45.61 kB / 0.6353 GB, free: 13.28 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002173/0.5041, allocations: 2.681 MB / 0.6379 GB, free: 10.56 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007987/0.5049, allocations: 0.5631 MB / 0.6385 GB, free: 9.988 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004306/0.5053, allocations: 95.98 kB / 0.6386 GB, free: 9.895 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004674/0.5058, allocations: 0.5086 MB / 0.6391 GB, free: 9.379 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002583/0.5084, allocations: 1.516 MB / 0.6406 GB, free: 7.855 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004437/0.5129, allocations: 4.432 MB / 0.6449 GB, free: 1.965 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008574/0.5215, allocations: 6.508 MB / 0.6512 GB, free: 10 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001209/0.5216, allocations: 35.94 kB / 0.6513 GB, free: 9.969 MB / 474.7 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.01149/0.5331, allocations: 5.789 MB / 0.6569 GB, free: 4.176 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001018/0.5333, allocations: 48 kB / 0.657 GB, free: 4.129 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001453/0.5334, allocations: 104 kB / 0.6571 GB, free: 4.027 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001501/0.5336, allocations: 136 kB / 0.6572 GB, free: 3.895 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003477/0.5371, allocations: 1.06 MB / 0.6582 GB, free: 2.832 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001911/0.5373, allocations: 203.2 kB / 0.6584 GB, free: 2.633 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00448/0.5418, allocations: 0.6764 MB / 0.6591 GB, free: 1.949 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009563/0.5428, allocations: 303.9 kB / 0.6594 GB, free: 1.656 MB / 474.7 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.004775/0.5475, allocations: 1.943 MB / 0.6613 GB, free: 15.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004989/0.5481, allocations: 252.6 kB / 0.6615 GB, free: 15.45 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008862/0.549, allocations: 331.8 kB / 0.6618 GB, free: 15.11 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.356e-05/0.549, allocations: 16 kB / 0.6618 GB, free: 15.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-05/0.549, allocations: 3.938 kB / 0.6619 GB, free: 15.09 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.505e-05/0.5491, allocations: 7.984 kB / 0.6619 GB, free: 15.09 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01366/0.5627, allocations: 6.888 MB / 0.6686 GB, free: 8.043 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.321e-05/0.5628, allocations: 8 kB / 0.6686 GB, free: 8.035 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008167/0.5636, allocations: 175.7 kB / 0.6688 GB, free: 7.863 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.111e-05/0.5637, allocations: 12 kB / 0.6688 GB, free: 7.852 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001336/0.5638, allocations: 27.94 kB / 0.6688 GB, free: 7.824 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.788e-05/0.5638, allocations: 19.92 kB / 0.6688 GB, free: 7.805 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.241e-05/0.5638, allocations: 11.94 kB / 0.6688 GB, free: 7.793 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003139/0.567, allocations: 2.228 MB / 0.671 GB, free: 5.457 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/0.568, allocations: 377.1 kB / 0.6714 GB, free: 5.066 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006588/0.5687, allocations: 31.92 kB / 0.6714 GB, free: 5.035 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/0.5699, allocations: 39.97 kB / 0.6714 GB, free: 4.996 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001923/0.5701, allocations: 84.42 kB / 0.6715 GB, free: 4.914 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001209/0.5703, allocations: 51.98 kB / 0.6716 GB, free: 4.863 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004044/0.5743, allocations: 1.964 MB / 0.6735 GB, free: 2.898 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5743, allocations: 0 / 0.6735 GB, free: 2.898 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005187/0.5795, allocations: 1.012 MB / 0.6745 GB, free: 1.883 MB / 490.7 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.0006275/0.5802, allocations: 155 kB / 0.6746 GB, free: 1.723 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.2536/0.8338, allocations: 3.521 MB / 0.6781 GB, free: 131.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.41e-05/0.8338, allocations: 1.062 kB / 0.6781 GB, free: 131.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001248/0.8351, allocations: 0.917 MB / 0.679 GB, free: 131.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00426/0.8394, allocations: 325.3 kB / 0.6793 GB, free: 131.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01511/0.8545, allocations: 9.608 MB / 0.6886 GB, free: 126.6 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003095/0.8576, allocations: 3.024 MB / 0.6916 GB, free: 125.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008409/0.8585, allocations: 232.3 kB / 0.6918 GB, free: 125.4 MB / 490.7 MB Notification: Performance of SimCode: time 7.92e-07/0.8585, allocations: 0 / 0.6918 GB, free: 125.4 MB / 490.7 MB Notification: Performance of Templates: time 0.07276/0.9313, allocations: 45.45 MB / 0.7362 GB, free: 98 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches