Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001465/0.001465, allocations: 113.1 kB / 21.85 MB, free: 56 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001664/0.001664, allocations: 206 kB / 25.12 MB, free: 3.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 230.4 MB / 258.7 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2153/0.2153, allocations: 46.95 MB / 362.1 MB, free: 4.191 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.FixedTranslation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation") translateModel(ModelicaTest.MultiBody.Parts.FixedTranslation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002201/0.002201, allocations: 79.86 kB / 0.4978 GB, free: 7.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3477, allocations: 66.08 MB / 0.5623 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01293/0.3606, allocations: 11.33 MB / 0.5734 GB, free: 8.82 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006935/0.3676, allocations: 2.85 MB / 0.5762 GB, free: 5.965 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001535/0.3691, allocations: 59.81 kB / 0.5762 GB, free: 5.906 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002767/0.3719, allocations: 1.354 MB / 0.5776 GB, free: 4.547 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002974/0.3748, allocations: 1.284 MB / 0.5788 GB, free: 3.258 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003123/0.3752, allocations: 79.84 kB / 0.5789 GB, free: 3.18 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00363/0.3788, allocations: 2.764 MB / 0.5816 GB, free: 420 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002009/0.3808, allocations: 1.627 MB / 0.5832 GB, free: 14.74 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001578/0.3824, allocations: 1.078 MB / 0.5842 GB, free: 13.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002092/0.3845, allocations: 1.635 MB / 0.5858 GB, free: 12.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004958/0.385, allocations: 208 kB / 0.586 GB, free: 11.82 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.386, allocations: 407.3 kB / 0.5864 GB, free: 11.42 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001522/0.3875, allocations: 1.476 MB / 0.5878 GB, free: 9.941 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00198/0.3895, allocations: 1.719 MB / 0.5895 GB, free: 8.211 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006693/0.3962, allocations: 5.537 MB / 0.5949 GB, free: 2.652 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3962, allocations: 0 / 0.5949 GB, free: 2.652 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3962, allocations: 0 / 0.5949 GB, free: 2.652 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001167/0.3963, allocations: 0 / 0.5949 GB, free: 2.652 MB / 430.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.006502/0.4028, allocations: 3.656 MB / 0.5985 GB, free: 14.94 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.4029, allocations: 8.031 kB / 0.5985 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009311/0.4122, allocations: 3.005 MB / 0.6014 GB, free: 11.92 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003512/0.4157, allocations: 1.511 MB / 0.6029 GB, free: 10.38 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000154/0.4159, allocations: 172.7 kB / 0.6031 GB, free: 10.21 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004303/0.4163, allocations: 224 kB / 0.6033 GB, free: 9.992 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01513/0.4314, allocations: 9.698 MB / 0.6128 GB, free: 15.85 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.823e-05/0.4315, allocations: 23.75 kB / 0.6128 GB, free: 15.82 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003269/0.4318, allocations: 111.8 kB / 0.6129 GB, free: 15.71 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003764/0.4356, allocations: 2.439 MB / 0.6153 GB, free: 13.27 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01685/0.4524, allocations: 8.808 MB / 0.6239 GB, free: 4.445 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04495/0.4974, allocations: 30.38 MB / 0.6536 GB, free: 5.234 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004849/0.5022, allocations: 2.271 MB / 0.6558 GB, free: 2.953 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001277/0.5035, allocations: 0.8555 MB / 0.6566 GB, free: 2.094 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.536e-05/0.5036, allocations: 16.98 kB / 0.6566 GB, free: 2.078 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.5036, allocations: 43.56 kB / 0.6567 GB, free: 2.023 MB / 494.1 MB Notification: Performance of pre-optimization done (n=148): time 3.306e-06/0.5036, allocations: 0 / 0.6567 GB, free: 2.023 MB / 494.1 MB Notification: Performance of matching and sorting (n=148): time 0.007255/0.5109, allocations: 3.383 MB / 0.66 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.725e-05/0.5109, allocations: 68.28 kB / 0.66 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004852/0.5158, allocations: 3.127 MB / 0.6631 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001741/0.5159, allocations: 41.7 kB / 0.6631 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002292/0.5182, allocations: 2.794 MB / 0.6659 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007138/0.519, allocations: 0.5854 MB / 0.6664 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001246/0.5202, allocations: 0.9845 MB / 0.6674 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.5203, allocations: 305.1 kB / 0.6677 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002193/0.5225, allocations: 1.524 MB / 0.6692 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004455/0.527, allocations: 4.455 MB / 0.6735 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007838/0.5348, allocations: 6.543 MB / 0.6799 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.238e-05/0.5349, allocations: 28 kB / 0.6799 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of matching and sorting (n=636) (initialization): time 0.009976/0.5449, allocations: 5.838 MB / 0.6856 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.435e-05/0.5449, allocations: 58.41 kB / 0.6857 GB, free: 1.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001131/0.545, allocations: 100 kB / 0.6858 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001393/0.5452, allocations: 136 kB / 0.6859 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003204/0.5484, allocations: 1.064 MB / 0.687 GB, free: 0 / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001838/0.5486, allocations: 199.3 kB / 0.6871 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003183/0.5518, allocations: 0.6938 MB / 0.6878 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004529/0.5522, allocations: 300 kB / 0.6881 GB, free: 14.81 MB / 0.5294 GB 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.003063/0.5553, allocations: 1.942 MB / 0.69 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004699/0.5557, allocations: 270.1 kB / 0.6903 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006764/0.5564, allocations: 331.8 kB / 0.6906 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.008e-05/0.5565, allocations: 19.94 kB / 0.6906 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.5565, allocations: 4 kB / 0.6906 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.5565, allocations: 3.984 kB / 0.6906 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0111/0.5676, allocations: 6.857 MB / 0.6973 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/0.5676, allocations: 4 kB / 0.6973 GB, free: 5.227 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007289/0.5683, allocations: 179.7 kB / 0.6975 GB, free: 5.051 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.67e-05/0.5683, allocations: 12 kB / 0.6975 GB, free: 5.039 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.112e-05/0.5684, allocations: 27.94 kB / 0.6975 GB, free: 5.012 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.712e-05/0.5684, allocations: 16.48 kB / 0.6975 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.5684, allocations: 8 kB / 0.6975 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003082/0.5715, allocations: 2.277 MB / 0.6998 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006604/0.5722, allocations: 285.8 kB / 0.7 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000253/0.5724, allocations: 27.94 kB / 0.7001 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006499/0.5731, allocations: 47.95 kB / 0.7001 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/0.5732, allocations: 84.34 kB / 0.7002 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.619e-05/0.5733, allocations: 51.98 kB / 0.7002 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00296/0.5763, allocations: 1.979 MB / 0.7022 GB, free: 140 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5763, allocations: 4 kB / 0.7022 GB, free: 136 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003848/0.5801, allocations: 1.001 MB / 0.7032 GB, free: 15.12 MB / 0.545 GB 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.0004344/0.5806, allocations: 154.8 kB / 0.7033 GB, free: 14.97 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005483/0.5861, allocations: 3.434 MB / 0.7067 GB, free: 11.56 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.5861, allocations: 0 / 0.7067 GB, free: 11.56 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001167/0.5872, allocations: 0.8603 MB / 0.7075 GB, free: 10.69 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001557/0.5888, allocations: 332.6 kB / 0.7078 GB, free: 10.37 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01429/0.6031, allocations: 8.17 MB / 0.7158 GB, free: 2.066 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003536/0.6066, allocations: 3.031 MB / 0.7188 GB, free: 15 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000759/0.6074, allocations: 223.4 kB / 0.719 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of SimCode: time 1.273e-06/0.6074, allocations: 4 kB / 0.719 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of Templates: time 0.3142/0.9216, allocations: 46.73 MB / 0.7646 GB, free: 129.1 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/FixedTranslation/FixedTranslation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.162553346017376]