Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009843/0.0009842, allocations: 187 kB / 18.09 MB, free: 3.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 223.3 MB / 242.1 MB, free: 11.61 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000783/0.0007831, allocations: 95.14 kB / 293.3 MB, free: 10.76 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4148/0.4148, allocations: 44.14 MB / 388.5 MB, free: 38.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000394/0.000394, allocations: 12 kB / 461.1 MB, free: 1.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3429, allocations: 61.87 MB / 0.5107 GB, free: 38.31 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1268/0.4697, allocations: 97.45 MB / 0.6059 GB, free: 13.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/0.47, allocations: 79.95 kB / 0.606 GB, free: 13.52 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.17/0.64, allocations: 70.57 MB / 0.6749 GB, free: 6.293 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.276e-06/0.6401, allocations: 0 / 0.6749 GB, free: 6.293 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001656/0.6403, allocations: 64 kB / 0.6749 GB, free: 6.23 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.009748/0.6501, allocations: 3.147 MB / 0.678 GB, free: 3.016 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.6501, allocations: 11.97 kB / 0.678 GB, free: 3.004 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.294/0.9441, allocations: 3.333 MB / 0.6813 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006015/0.9502, allocations: 2.142 MB / 0.6834 GB, free: 100.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002547/0.9505, allocations: 281.6 kB / 0.6836 GB, free: 100.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001343/0.9518, allocations: 365.8 kB / 0.684 GB, free: 100.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01394/0.9658, allocations: 9.38 MB / 0.6932 GB, free: 99.43 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.414e-05/0.9659, allocations: 24.58 kB / 0.6932 GB, free: 99.43 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005162/0.9664, allocations: 175.7 kB / 0.6933 GB, free: 99.43 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001133/0.9676, allocations: 1.074 MB / 0.6944 GB, free: 99.42 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01362/0.9812, allocations: 8.755 MB / 0.7029 GB, free: 99.08 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0411/1.022, allocations: 32.55 MB / 0.7347 GB, free: 78.16 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004198/1.027, allocations: 3.266 MB / 0.7379 GB, free: 76.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009647/1.028, allocations: 0.9196 MB / 0.7388 GB, free: 76.11 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.984e-05/1.028, allocations: 16.03 kB / 0.7388 GB, free: 76.11 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/1.028, allocations: 42.81 kB / 0.7389 GB, free: 76.06 MB / 490.7 MB Notification: Performance of pre-optimization done (n=148): time 2.896e-06/1.028, allocations: 2.875 kB / 0.7389 GB, free: 76.06 MB / 490.7 MB Notification: Performance of matching and sorting (n=148): time 0.005935/1.034, allocations: 3.358 MB / 0.7422 GB, free: 75.16 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/1.034, allocations: 63.91 kB / 0.7422 GB, free: 75.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003651/1.037, allocations: 3.093 MB / 0.7452 GB, free: 74.03 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.713e-05/1.037, allocations: 41.39 kB / 0.7453 GB, free: 73.98 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001301/1.039, allocations: 2.682 MB / 0.7479 GB, free: 71.95 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003417/1.039, allocations: 0.5686 MB / 0.7485 GB, free: 71.55 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/1.039, allocations: 93.62 kB / 0.7485 GB, free: 71.48 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002228/1.039, allocations: 0.5111 MB / 0.749 GB, free: 71.08 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001679/1.041, allocations: 1.505 MB / 0.7505 GB, free: 70.64 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002979/1.044, allocations: 4.428 MB / 0.7548 GB, free: 66.25 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005022/1.049, allocations: 6.507 MB / 0.7612 GB, free: 60.79 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.879e-05/1.049, allocations: 28 kB / 0.7612 GB, free: 60.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=635) (initialization): time 0.007193/1.056, allocations: 5.786 MB / 0.7669 GB, free: 58.61 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.751e-05/1.056, allocations: 53.16 kB / 0.7669 GB, free: 58.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.77e-05/1.057, allocations: 100.1 kB / 0.767 GB, free: 58.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001222/1.057, allocations: 137.8 kB / 0.7671 GB, free: 58.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002501/1.059, allocations: 1.057 MB / 0.7682 GB, free: 58.47 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001143/1.059, allocations: 201.4 kB / 0.7684 GB, free: 58.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002531/1.062, allocations: 0.6708 MB / 0.769 GB, free: 57.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002991/1.062, allocations: 304.3 kB / 0.7693 GB, free: 57.95 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.002513/1.065, allocations: 1.953 MB / 0.7712 GB, free: 57.07 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002658/1.065, allocations: 255.1 kB / 0.7715 GB, free: 56.93 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004507/1.065, allocations: 326.6 kB / 0.7718 GB, free: 56.76 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.338e-05/1.065, allocations: 14.69 kB / 0.7718 GB, free: 56.76 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.544e-05/1.065, allocations: 7.812 kB / 0.7718 GB, free: 56.76 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/1.065, allocations: 3.938 kB / 0.7718 GB, free: 56.76 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009272/1.075, allocations: 6.902 MB / 0.7785 GB, free: 52.74 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/1.075, allocations: 8 kB / 0.7786 GB, free: 52.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006095/1.075, allocations: 176.7 kB / 0.7787 GB, free: 52.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.146e-05/1.075, allocations: 12 kB / 0.7787 GB, free: 52.57 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.456e-05/1.075, allocations: 28 kB / 0.7788 GB, free: 52.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.006e-05/1.075, allocations: 14.62 kB / 0.7788 GB, free: 52.54 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/1.075, allocations: 11.94 kB / 0.7788 GB, free: 52.53 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001984/1.077, allocations: 2.252 MB / 0.781 GB, free: 50.39 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004489/1.078, allocations: 372.8 kB / 0.7813 GB, free: 50.02 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002322/1.078, allocations: 24 kB / 0.7814 GB, free: 50 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006511/1.079, allocations: 42.31 kB / 0.7814 GB, free: 49.97 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/1.079, allocations: 87.92 kB / 0.7815 GB, free: 49.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.626e-05/1.079, allocations: 44 kB / 0.7815 GB, free: 49.87 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002009/1.081, allocations: 1.968 MB / 0.7834 GB, free: 48.25 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.081, allocations: 0 / 0.7834 GB, free: 48.25 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003063/1.084, allocations: 1.012 MB / 0.7844 GB, free: 47.24 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.0002896/1.084, allocations: 164.2 kB / 0.7846 GB, free: 47.08 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003959/1.088, allocations: 3.528 MB / 0.788 GB, free: 43.99 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/1.088, allocations: 0 / 0.788 GB, free: 43.99 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008159/1.089, allocations: 0.9216 MB / 0.7889 GB, free: 43.18 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003523/1.093, allocations: 312.9 kB / 0.7892 GB, free: 42.91 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01362/1.106, allocations: 9.172 MB / 0.7982 GB, free: 34.36 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002992/1.109, allocations: 3.016 MB / 0.8011 GB, free: 31.96 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004041/1.114, allocations: 1.721 MB / 0.8028 GB, free: 30.88 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004517/1.114, allocations: 182.8 kB / 0.803 GB, free: 30.7 MB / 490.7 MB Notification: Performance of SimCode: time 9.92e-07/1.114, allocations: 4 kB / 0.803 GB, free: 30.7 MB / 490.7 MB Notification: Performance of Templates: time 0.04295/1.157, allocations: 21.77 MB / 0.8243 GB, free: 12.89 MB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches