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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 106.2 kB / 17.21 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 194 kB / 18.12 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 222.9 MB / 241.8 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2096/0.2096, allocations: 44.17 MB / 336.1 MB, free: 3.004 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 67.14 kB / 407.7 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1474, allocations: 60.82 MB / 468.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.02924/0.1767, allocations: 28.84 MB / 497.4 MB, free: 1.895 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01293/0.1897, allocations: 5.644 MB / 0.4912 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005371/0.1951, allocations: 115.8 kB / 0.4913 GB, free: 12.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003577/0.1987, allocations: 1.27 MB / 0.4926 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004157/0.203, allocations: 1.187 MB / 0.4937 GB, free: 9.652 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000739/0.2037, allocations: 67.92 kB / 0.4938 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00567/0.2094, allocations: 4.124 MB / 0.4978 GB, free: 5.457 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004259/0.2137, allocations: 1.757 MB / 0.4995 GB, free: 3.668 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00268/0.2164, allocations: 0.9336 MB / 0.5004 GB, free: 2.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003101/0.2196, allocations: 1.569 MB / 0.502 GB, free: 1.156 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001056/0.2206, allocations: 148 kB / 0.5021 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001733/0.2224, allocations: 459.2 kB / 0.5025 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2534/0.4758, allocations: 1.4 MB / 0.5039 GB, free: 14.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002348/0.4782, allocations: 1.699 MB / 0.5056 GB, free: 13.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007063/0.4853, allocations: 5.21 MB / 0.5107 GB, free: 13.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.4853, allocations: 0 / 0.5107 GB, free: 13.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4853, allocations: 0 / 0.5107 GB, free: 13.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002484/0.4856, allocations: 1.969 kB / 0.5107 GB, free: 13.06 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.01161/0.4972, allocations: 3.678 MB / 0.5143 GB, free: 11.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.4972, allocations: 10.38 kB / 0.5143 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01075/0.508, allocations: 2.975 MB / 0.5172 GB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003982/0.512, allocations: 1.548 MB / 0.5187 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001691/0.5122, allocations: 180.3 kB / 0.5189 GB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008321/0.5131, allocations: 223 kB / 0.5191 GB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01813/0.5312, allocations: 9.708 MB / 0.5285 GB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-05/0.5313, allocations: 18.34 kB / 0.5286 GB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003926/0.5317, allocations: 113.6 kB / 0.5287 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003689/0.5354, allocations: 2.436 MB / 0.5311 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01663/0.5521, allocations: 8.815 MB / 0.5397 GB, free: 2.777 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04781/0.5999, allocations: 30.67 MB / 0.5696 GB, free: 3.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005389/0.6053, allocations: 3.274 MB / 0.5728 GB, free: 284 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001219/0.6066, allocations: 0.9188 MB / 0.5737 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.669e-05/0.6067, allocations: 17.17 kB / 0.5737 GB, free: 15.35 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.001e-05/0.6067, allocations: 48.25 kB / 0.5738 GB, free: 15.29 MB / 430.1 MB Notification: Performance of pre-optimization done (n=148): time 4.298e-06/0.6067, allocations: 0 / 0.5738 GB, free: 15.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=148): time 0.007117/0.6139, allocations: 3.374 MB / 0.5771 GB, free: 11.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.6139, allocations: 63.5 kB / 0.5771 GB, free: 11.84 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004501/0.6184, allocations: 3.127 MB / 0.5802 GB, free: 8.695 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.6e-05/0.6185, allocations: 45.06 kB / 0.5802 GB, free: 8.648 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001706/0.6203, allocations: 2.674 MB / 0.5828 GB, free: 5.973 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005238/0.6208, allocations: 0.5665 MB / 0.5834 GB, free: 5.41 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001241/0.622, allocations: 0.9704 MB / 0.5843 GB, free: 4.43 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.6222, allocations: 305.1 kB / 0.5846 GB, free: 4.129 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002096/0.6243, allocations: 1.528 MB / 0.5861 GB, free: 2.594 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003979/0.6283, allocations: 4.451 MB / 0.5905 GB, free: 12.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007555/0.6358, allocations: 6.539 MB / 0.5968 GB, free: 5.172 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.099e-05/0.6359, allocations: 28 kB / 0.5969 GB, free: 5.145 MB / 446.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.00961/0.6456, allocations: 5.825 MB / 0.6026 GB, free: 15.93 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.113e-05/0.6457, allocations: 48 kB / 0.6026 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001025/0.6458, allocations: 104 kB / 0.6027 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001377/0.6459, allocations: 144.1 kB / 0.6028 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002811/0.6487, allocations: 1.061 MB / 0.6039 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001421/0.6489, allocations: 207.8 kB / 0.6041 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003081/0.652, allocations: 0.68 MB / 0.6047 GB, free: 13.83 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003698/0.6524, allocations: 294.2 kB / 0.605 GB, free: 13.55 MB / 462.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.003798/0.6562, allocations: 1.95 MB / 0.6069 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005448/0.6567, allocations: 252.6 kB / 0.6072 GB, free: 11.43 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006284/0.6574, allocations: 335.8 kB / 0.6075 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.732e-05/0.6574, allocations: 16 kB / 0.6075 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.927e-05/0.6574, allocations: 3.656 kB / 0.6075 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/0.6574, allocations: 11.92 kB / 0.6075 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01047/0.6679, allocations: 6.88 MB / 0.6142 GB, free: 4.109 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.779e-06/0.6679, allocations: 4 kB / 0.6142 GB, free: 4.105 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006782/0.6686, allocations: 178.8 kB / 0.6144 GB, free: 3.941 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.529e-05/0.6687, allocations: 12 kB / 0.6144 GB, free: 3.93 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.547e-05/0.6687, allocations: 28 kB / 0.6144 GB, free: 3.902 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.666e-05/0.6688, allocations: 22.55 kB / 0.6145 GB, free: 3.883 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/0.6688, allocations: 8.938 kB / 0.6145 GB, free: 3.879 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002782/0.6716, allocations: 2.253 MB / 0.6167 GB, free: 1.527 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006569/0.6722, allocations: 345.4 kB / 0.617 GB, free: 1.168 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000306/0.6726, allocations: 30.5 kB / 0.617 GB, free: 1.141 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007037/0.6733, allocations: 47.89 kB / 0.6171 GB, free: 1.094 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001561/0.6734, allocations: 77.86 kB / 0.6172 GB, free: 1.023 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.763e-05/0.6735, allocations: 55.34 kB / 0.6172 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002885/0.6764, allocations: 1.984 MB / 0.6191 GB, free: 14.99 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.6764, allocations: 0 / 0.6191 GB, free: 14.99 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003759/0.6802, allocations: 1.012 MB / 0.6201 GB, free: 13.97 MB / 478.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.0003497/0.6806, allocations: 159.3 kB / 0.6203 GB, free: 13.82 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005105/0.6857, allocations: 3.553 MB / 0.6238 GB, free: 10.31 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.6857, allocations: 0 / 0.6238 GB, free: 10.31 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001092/0.6868, allocations: 0.9189 MB / 0.6247 GB, free: 9.391 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001706/0.6885, allocations: 319.2 kB / 0.625 GB, free: 9.082 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01408/0.7026, allocations: 9.544 MB / 0.6343 GB, free: 15.42 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003196/0.7058, allocations: 3.012 MB / 0.6372 GB, free: 12.38 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003897/0.7097, allocations: 1.718 MB / 0.6389 GB, free: 10.65 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004568/0.7102, allocations: 183.4 kB / 0.6391 GB, free: 10.47 MB / 494.1 MB Notification: Performance of SimCode: time 6.21e-07/0.7102, allocations: 0 / 0.6391 GB, free: 10.47 MB / 494.1 MB Notification: Performance of Templates: time 0.04552/0.7557, allocations: 22.17 MB / 0.6607 GB, free: 4.465 MB / 0.4981 GB 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/FixedTranslation/FixedTranslation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches