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.001527/0.001526, allocations: 108.3 kB / 18.4 MB, free: 4.699 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.001696/0.001696, allocations: 191 kB / 19.34 MB, free: 3.766 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.386/1.386, allocations: 222.9 MB / 243 MB, free: 15.15 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.2196/0.2196, allocations: 44.18 MB / 337.4 MB, free: 2.727 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 69.95 kB / 409.9 MB, free: 26.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1257, allocations: 60.82 MB / 470.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01262/0.1383, allocations: 11.43 MB / 482.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007226/0.1456, allocations: 2.8 MB / 484.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001693/0.1473, allocations: 55.88 kB / 485 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002696/0.1501, allocations: 1.312 MB / 486.3 MB, free: 14.01 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002953/0.1531, allocations: 1.249 MB / 487.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003217/0.1534, allocations: 79.83 kB / 487.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003274/0.1567, allocations: 2.801 MB / 490.4 MB, free: 9.871 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002252/0.159, allocations: 1.784 MB / 492.2 MB, free: 8.051 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001743/0.1607, allocations: 1.062 MB / 493.3 MB, free: 6.984 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002149/0.1629, allocations: 1.487 MB / 494.8 MB, free: 5.492 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000538/0.1635, allocations: 204 kB / 495 MB, free: 5.293 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001113/0.1646, allocations: 499.3 kB / 495.5 MB, free: 4.805 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001366/0.166, allocations: 1.445 MB / 496.9 MB, free: 3.355 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00172/0.1677, allocations: 1.739 MB / 498.6 MB, free: 1.605 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005382/0.1731, allocations: 5.545 MB / 0.4924 GB, free: 12.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.984e-06/0.1731, allocations: 3.938 kB / 0.4924 GB, free: 12.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1731, allocations: 0 / 0.4924 GB, free: 12.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001447/0.1733, allocations: 4 kB / 0.4924 GB, free: 12.03 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.005411/0.1787, allocations: 3.671 MB / 0.496 GB, free: 8.293 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.1788, allocations: 16.03 kB / 0.496 GB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009327/0.1881, allocations: 2.971 MB / 0.4989 GB, free: 5.297 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004403/0.1926, allocations: 1.553 MB / 0.5004 GB, free: 3.695 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001435/0.1927, allocations: 176.7 kB / 0.5006 GB, free: 3.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005788/0.1933, allocations: 231.9 kB / 0.5008 GB, free: 3.293 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.235/0.4283, allocations: 9.695 MB / 0.5102 GB, free: 43.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-05/0.4284, allocations: 19.81 kB / 0.5103 GB, free: 43.58 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000361/0.4288, allocations: 115.2 kB / 0.5104 GB, free: 43.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004114/0.4329, allocations: 2.431 MB / 0.5128 GB, free: 43.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01645/0.4494, allocations: 8.82 MB / 0.5214 GB, free: 40.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03829/0.4877, allocations: 30.53 MB / 0.5512 GB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004076/0.4918, allocations: 3.266 MB / 0.5544 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009175/0.4928, allocations: 0.9227 MB / 0.5553 GB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.768e-05/0.4928, allocations: 16.97 kB / 0.5553 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.4928, allocations: 43.56 kB / 0.5553 GB, free: 6.887 MB / 382.1 MB Notification: Performance of pre-optimization done (n=148): time 3.146e-06/0.4929, allocations: 0 / 0.5553 GB, free: 6.887 MB / 382.1 MB Notification: Performance of matching and sorting (n=148): time 0.005958/0.4988, allocations: 3.366 MB / 0.5586 GB, free: 3.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.4989, allocations: 72.34 kB / 0.5587 GB, free: 3.434 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003516/0.5024, allocations: 3.127 MB / 0.5617 GB, free: 296 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001084/0.5025, allocations: 41.7 kB / 0.5618 GB, free: 248 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00225/0.5048, allocations: 2.673 MB / 0.5644 GB, free: 13.53 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006531/0.5055, allocations: 0.567 MB / 0.5649 GB, free: 12.96 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001227/0.5067, allocations: 0.972 MB / 0.5659 GB, free: 11.97 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.5068, allocations: 305.1 kB / 0.5662 GB, free: 11.67 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002007/0.5088, allocations: 1.532 MB / 0.5677 GB, free: 10.13 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003917/0.5128, allocations: 4.451 MB / 0.572 GB, free: 4.223 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007276/0.52, allocations: 6.539 MB / 0.5784 GB, free: 12.24 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.419e-05/0.5201, allocations: 32 kB / 0.5784 GB, free: 12.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.009341/0.5295, allocations: 5.832 MB / 0.5841 GB, free: 6.367 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.936e-05/0.5296, allocations: 48 kB / 0.5842 GB, free: 6.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001087/0.5297, allocations: 104 kB / 0.5843 GB, free: 6.219 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001276/0.5298, allocations: 136 kB / 0.5844 GB, free: 6.086 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003277/0.5331, allocations: 1.06 MB / 0.5854 GB, free: 5.023 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001966/0.5334, allocations: 203.2 kB / 0.5856 GB, free: 4.824 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004271/0.5376, allocations: 0.6731 MB / 0.5863 GB, free: 4.145 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006425/0.5383, allocations: 296 kB / 0.5866 GB, free: 3.855 MB / 414.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.003453/0.5418, allocations: 1.946 MB / 0.5885 GB, free: 1.898 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004769/0.5422, allocations: 260.5 kB / 0.5887 GB, free: 1.641 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000591/0.5428, allocations: 331.8 kB / 0.589 GB, free: 1.312 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.508e-05/0.5429, allocations: 23.88 kB / 0.5891 GB, free: 1.289 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.381e-05/0.5429, allocations: 0 / 0.5891 GB, free: 1.289 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.5429, allocations: 3.984 kB / 0.5891 GB, free: 1.285 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01099/0.5539, allocations: 6.869 MB / 0.5958 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.554, allocations: 8 kB / 0.5958 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007044/0.5547, allocations: 179.7 kB / 0.596 GB, free: 10.08 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.699e-05/0.5547, allocations: 12.75 kB / 0.596 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.619e-05/0.5548, allocations: 39.86 kB / 0.596 GB, free: 10.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.571e-05/0.5548, allocations: 19.92 kB / 0.596 GB, free: 10.01 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.301e-06/0.5548, allocations: 8 kB / 0.596 GB, free: 10 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002778/0.5576, allocations: 2.244 MB / 0.5982 GB, free: 7.641 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007043/0.5583, allocations: 349.3 kB / 0.5986 GB, free: 7.277 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002587/0.5586, allocations: 31.92 kB / 0.5986 GB, free: 7.246 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006827/0.5593, allocations: 51.94 kB / 0.5986 GB, free: 7.195 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/0.5594, allocations: 80.39 kB / 0.5987 GB, free: 7.117 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/0.5595, allocations: 51.98 kB / 0.5988 GB, free: 7.066 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002661/0.5622, allocations: 1.979 MB / 0.6007 GB, free: 5.086 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5622, allocations: 0 / 0.6007 GB, free: 5.086 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003625/0.5659, allocations: 1.017 MB / 0.6017 GB, free: 4.07 MB / 430.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.0003475/0.5662, allocations: 157.5 kB / 0.6018 GB, free: 3.91 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005019/0.5712, allocations: 3.579 MB / 0.6053 GB, free: 368 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.5713, allocations: 0 / 0.6053 GB, free: 368 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001091/0.5724, allocations: 0.9236 MB / 0.6062 GB, free: 15.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001686/0.5741, allocations: 327.5 kB / 0.6066 GB, free: 15.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01221/0.5863, allocations: 7.616 MB / 0.614 GB, free: 7.398 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003276/0.5896, allocations: 3.009 MB / 0.6169 GB, free: 4.355 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003497/0.5931, allocations: 1.722 MB / 0.6186 GB, free: 2.629 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004548/0.5936, allocations: 187.4 kB / 0.6188 GB, free: 2.449 MB / 446.1 MB Notification: Performance of SimCode: time 7.11e-07/0.5936, allocations: 0 / 0.6188 GB, free: 2.449 MB / 446.1 MB Notification: Performance of Templates: time 0.04194/0.6355, allocations: 18.67 MB / 0.637 GB, free: 15.87 MB / 478.1 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 -s gbode -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","/var/lib/jenkins1/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