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.001026/0.001026, allocations: 197.7 kB / 16.79 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.281/1.281, allocations: 226.5 MB / 244.1 MB, free: 6.484 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007445/0.0007446, allocations: 100.5 kB / 296.1 MB, free: 6.707 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3066/0.3066, allocations: 44.82 MB / 393 MB, free: 35.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000301/0.0003014, allocations: 8 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3205, allocations: 62.95 MB / 0.5165 GB, free: 37.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.12/0.4406, allocations: 98.37 MB / 0.6125 GB, free: 7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001937/0.4409, allocations: 71.97 kB / 0.6126 GB, free: 6.93 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4262/0.8671, allocations: 70.61 MB / 0.6816 GB, free: 102.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.8672, allocations: 4 kB / 0.6816 GB, free: 102.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002251/0.8674, allocations: 63.78 kB / 0.6816 GB, free: 102.7 MB / 490.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.009351/0.8768, allocations: 3.145 MB / 0.6847 GB, free: 102 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.8768, allocations: 9.5 kB / 0.6847 GB, free: 102 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01267/0.8895, allocations: 3.336 MB / 0.688 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005483/0.895, allocations: 2.143 MB / 0.6901 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002813/0.8953, allocations: 282.9 kB / 0.6903 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001404/0.8967, allocations: 366.1 kB / 0.6907 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01932/0.916, allocations: 9.382 MB / 0.6998 GB, free: 100 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.892e-05/0.9162, allocations: 23.25 kB / 0.6999 GB, free: 100 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007661/0.917, allocations: 174.5 kB / 0.7 GB, free: 100 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001441/0.9184, allocations: 1.074 MB / 0.7011 GB, free: 99.99 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01775/0.9362, allocations: 8.756 MB / 0.7096 GB, free: 99.51 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04124/0.9775, allocations: 32.56 MB / 0.7414 GB, free: 78.35 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004668/0.9822, allocations: 3.262 MB / 0.7446 GB, free: 76.59 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001239/0.9834, allocations: 0.9199 MB / 0.7455 GB, free: 76.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.692e-05/0.9835, allocations: 15.62 kB / 0.7455 GB, free: 76.29 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.9836, allocations: 50.34 kB / 0.7456 GB, free: 76.25 MB / 490.7 MB Notification: Performance of pre-optimization done (n=148): time 6.933e-06/0.9836, allocations: 0 / 0.7456 GB, free: 76.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=148): time 0.006636/0.9902, allocations: 3.353 MB / 0.7488 GB, free: 75.35 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.9903, allocations: 63.41 kB / 0.7489 GB, free: 75.29 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004084/0.9944, allocations: 3.105 MB / 0.7519 GB, free: 74.14 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001908/0.9946, allocations: 45.52 kB / 0.752 GB, free: 74.09 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001297/0.9959, allocations: 2.675 MB / 0.7546 GB, free: 72.04 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005375/0.9965, allocations: 0.5611 MB / 0.7551 GB, free: 71.64 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001714/0.9967, allocations: 89.56 kB / 0.7552 GB, free: 71.57 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002174/0.9969, allocations: 0.5131 MB / 0.7557 GB, free: 71.18 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001885/0.9988, allocations: 1.511 MB / 0.7572 GB, free: 70.73 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002817/1.002, allocations: 4.434 MB / 0.7615 GB, free: 66.34 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005386/1.007, allocations: 6.499 MB / 0.7679 GB, free: 60.85 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.239e-05/1.007, allocations: 28.5 kB / 0.7679 GB, free: 60.85 MB / 490.7 MB Notification: Performance of matching and sorting (n=635) (initialization): time 0.008541/1.016, allocations: 5.79 MB / 0.7736 GB, free: 57.62 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.911e-05/1.016, allocations: 48 kB / 0.7736 GB, free: 57.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.27e-05/1.016, allocations: 100.1 kB / 0.7737 GB, free: 57.47 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-05/1.016, allocations: 143.9 kB / 0.7738 GB, free: 57.33 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002691/1.019, allocations: 1.054 MB / 0.7749 GB, free: 56.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001096/1.019, allocations: 202.2 kB / 0.7751 GB, free: 56.22 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003019/1.022, allocations: 0.6745 MB / 0.7757 GB, free: 55.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004094/1.022, allocations: 292 kB / 0.776 GB, free: 55.27 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 469 * 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 (587): * Single equations (assignments): 581 * 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.002776/1.025, allocations: 1.951 MB / 0.7779 GB, free: 53.58 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003757/1.025, allocations: 256.6 kB / 0.7781 GB, free: 53.32 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005916/1.026, allocations: 332.4 kB / 0.7785 GB, free: 53.03 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-05/1.026, allocations: 23.78 kB / 0.7785 GB, free: 53.01 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.845e-05/1.026, allocations: 0 / 0.7785 GB, free: 53.01 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.639e-06/1.026, allocations: 3.281 kB / 0.7785 GB, free: 53.01 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009013/1.035, allocations: 6.905 MB / 0.7852 GB, free: 47.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/1.035, allocations: 4 kB / 0.7852 GB, free: 47.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00063/1.036, allocations: 178 kB / 0.7854 GB, free: 46.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.121e-05/1.036, allocations: 12 kB / 0.7854 GB, free: 46.95 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.136e-05/1.036, allocations: 35.64 kB / 0.7854 GB, free: 46.92 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.095e-05/1.036, allocations: 19.94 kB / 0.7855 GB, free: 46.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/1.036, allocations: 5.719 kB / 0.7855 GB, free: 46.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00212/1.038, allocations: 2.252 MB / 0.7877 GB, free: 44.76 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006685/1.039, allocations: 362.7 kB / 0.788 GB, free: 44.39 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002415/1.039, allocations: 26.94 kB / 0.788 GB, free: 44.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006751/1.04, allocations: 45.83 kB / 0.7881 GB, free: 44.34 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/1.04, allocations: 87.09 kB / 0.7882 GB, free: 44.28 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.577e-05/1.04, allocations: 51.75 kB / 0.7882 GB, free: 44.23 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002638/1.043, allocations: 1.963 MB / 0.7901 GB, free: 42.62 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.043, allocations: 0 / 0.7901 GB, free: 42.62 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003859/1.046, allocations: 1.019 MB / 0.7911 GB, free: 41.6 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.0003438/1.047, allocations: 157.7 kB / 0.7913 GB, free: 41.45 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004402/1.051, allocations: 3.524 MB / 0.7947 GB, free: 38.36 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/1.051, allocations: 0 / 0.7947 GB, free: 38.36 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008859/1.052, allocations: 0.9178 MB / 0.7956 GB, free: 37.55 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003748/1.056, allocations: 317 kB / 0.7959 GB, free: 37.28 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01345/1.069, allocations: 9.6 MB / 0.8053 GB, free: 28.37 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00297/1.072, allocations: 3.026 MB / 0.8083 GB, free: 25.96 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007471/1.073, allocations: 226.1 kB / 0.8085 GB, free: 25.75 MB / 490.7 MB Notification: Performance of SimCode: time 9.32e-07/1.073, allocations: 4 kB / 0.8085 GB, free: 25.75 MB / 490.7 MB Notification: Performance of Templates: time 0.06551/1.139, allocations: 45.46 MB / 0.8529 GB, free: 12.73 MB / 0.5105 GB 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/jenkins1/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