Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 169.1 kB / 24.91 MB, free: 9.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9342/0.9342, allocations: 177.1 MB / 205.3 MB, free: 5.441 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2766/0.2766, allocations: 34.26 MB / 296.1 MB, free: 0.6602 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.FixedTranslation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|fixedTranslation.frame_b.r_0.[0-9,]+.|fixedTranslation.frame_b.f.[0-9,]+.|fixedTranslation.frame_b.t.[0-9,]+.|fixed1.frame_b.r_0.[0-9,]+.|fixed1.frame_b.f.[0-9,]+.|fixed1.frame_b.t.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation") translateModel(ModelicaTest.MultiBody.Parts.FixedTranslation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|fixedTranslation.frame_b.r_0.[0-9,]+.|fixedTranslation.frame_b.f.[0-9,]+.|fixedTranslation.frame_b.t.[0-9,]+.|fixed1.frame_b.r_0.[0-9,]+.|fixed1.frame_b.f.[0-9,]+.|fixed1.frame_b.t.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 325.3 MB, free: 7.613 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.295e-05/3.515e-05, allocations: 5.188 kB / 325.3 MB, free: 7.609 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01221/0.01224, allocations: 10.71 MB / 336 MB, free: 12.84 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007713/0.01995, allocations: 2.908 MB / 338.9 MB, free: 9.926 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001974/0.02193, allocations: 59.81 kB / 339 MB, free: 9.867 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0022/0.02413, allocations: 1.401 MB / 340.4 MB, free: 8.461 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00288/0.02701, allocations: 1.31 MB / 341.7 MB, free: 7.145 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003065/0.02731, allocations: 83.77 kB / 341.8 MB, free: 7.062 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003099/0.03041, allocations: 2.825 MB / 344.6 MB, free: 4.23 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001997/0.03241, allocations: 1.745 MB / 346.3 MB, free: 2.438 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001929/0.03434, allocations: 1.57 MB / 347.9 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001866/0.03621, allocations: 1.465 MB / 349.4 MB, free: 15.39 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000352/0.03656, allocations: 204 kB / 349.6 MB, free: 15.2 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008072/0.03736, allocations: 487.3 kB / 350 MB, free: 14.72 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000943/0.03831, allocations: 1.511 MB / 351.5 MB, free: 13.2 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008013/0.03911, allocations: 0.8716 MB / 352.4 MB, free: 12.33 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003071/0.04218, allocations: 3.396 MB / 355.8 MB, free: 8.918 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.04219, allocations: 0 / 355.8 MB, free: 8.918 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.04219, allocations: 4 kB / 355.8 MB, free: 8.914 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001033/0.04229, allocations: 0 / 355.8 MB, free: 8.914 MB / 330.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.003544/0.04583, allocations: 3.459 MB / 359.3 MB, free: 5.406 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.04587, allocations: 12.03 kB / 359.3 MB, free: 5.395 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003369/0.04924, allocations: 1.315 MB / 360.6 MB, free: 4.078 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001536/0.05077, allocations: 1.16 MB / 361.8 MB, free: 2.887 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.302e-05/0.05086, allocations: 176.6 kB / 361.9 MB, free: 2.711 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002803/0.05114, allocations: 224.2 kB / 362.2 MB, free: 2.492 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005435/0.05657, allocations: 4.158 MB / 366.3 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.483e-05/0.05662, allocations: 23.75 kB / 366.3 MB, free: 13.87 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002102/0.05683, allocations: 115.8 kB / 366.4 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001815/0.05864, allocations: 2.135 MB / 368.6 MB, free: 11.62 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00507/0.06371, allocations: 2.318 MB / 370.9 MB, free: 9.277 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0232/0.08692, allocations: 23.01 MB / 393.9 MB, free: 1.457 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002055/0.08897, allocations: 1.09 MB / 395 MB, free: 360 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002772/0.08925, allocations: 191.7 kB / 395.2 MB, free: 164 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.357e-05/0.08929, allocations: 25 kB / 395.2 MB, free: 140 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.08932, allocations: 43.56 kB / 395.3 MB, free: 88 kB / 362.7 MB Notification: Performance of pre-optimization done (n=148): time 2.796e-06/0.08932, allocations: 0 / 395.3 MB, free: 88 kB / 362.7 MB Notification: Performance of matching and sorting (n=148): time 0.002929/0.09225, allocations: 1.37 MB / 396.6 MB, free: 14.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.09228, allocations: 60.41 kB / 396.7 MB, free: 14.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001681/0.09396, allocations: 2.01 MB / 398.7 MB, free: 12.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.422e-05/0.09402, allocations: 41.7 kB / 398.7 MB, free: 12.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00141/0.09542, allocations: 2.725 MB / 401.5 MB, free: 9.797 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003348/0.09576, allocations: 0.5775 MB / 402 MB, free: 9.215 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007082/0.09647, allocations: 0.9098 MB / 402.9 MB, free: 8.293 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.481e-05/0.09656, allocations: 353.8 kB / 403.3 MB, free: 7.941 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005457/0.09711, allocations: 0.5042 MB / 403.8 MB, free: 7.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002009/0.09912, allocations: 3.291 MB / 407.1 MB, free: 2.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003342/0.1025, allocations: 4.409 MB / 411.5 MB, free: 12.81 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-05/0.1025, allocations: 28 kB / 411.5 MB, free: 12.78 MB / 394.7 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.003545/0.1061, allocations: 3.174 MB / 414.7 MB, free: 9.59 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.19e-05/0.1061, allocations: 48 kB / 414.7 MB, free: 9.543 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.152e-05/0.1062, allocations: 104 kB / 414.8 MB, free: 9.441 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.3e-05/0.1063, allocations: 136 kB / 415 MB, free: 9.309 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001702/0.108, allocations: 1.072 MB / 416 MB, free: 8.234 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001081/0.1081, allocations: 203.2 kB / 416.2 MB, free: 8.035 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001921/0.11, allocations: 0.6207 MB / 416.9 MB, free: 7.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002467/0.1102, allocations: 264 kB / 417.1 MB, free: 7.152 MB / 394.7 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.001128/0.1114, allocations: 0.4967 MB / 417.6 MB, free: 6.641 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002084/0.1116, allocations: 139.8 kB / 417.8 MB, free: 6.504 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002304/0.1118, allocations: 247.6 kB / 418 MB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.942e-05/0.1118, allocations: 19.98 kB / 418 MB, free: 6.238 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.1118, allocations: 0 / 418 MB, free: 6.238 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.577e-06/0.1118, allocations: 7.969 kB / 418 MB, free: 6.23 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004327/0.1162, allocations: 3.058 MB / 421.1 MB, free: 3.012 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/0.1162, allocations: 8 kB / 421.1 MB, free: 3.004 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003779/0.1166, allocations: 155.8 kB / 421.2 MB, free: 2.852 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.497e-06/0.1166, allocations: 15.98 kB / 421.3 MB, free: 2.836 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.124e-05/0.1166, allocations: 24 kB / 421.3 MB, free: 2.812 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.916e-06/0.1166, allocations: 15.94 kB / 421.3 MB, free: 2.797 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.1166, allocations: 11.94 kB / 421.3 MB, free: 2.785 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008423/0.1175, allocations: 0.9878 MB / 422.3 MB, free: 1.664 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002669/0.1177, allocations: 230.1 kB / 422.5 MB, free: 1.438 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/0.1179, allocations: 27.98 kB / 422.6 MB, free: 1.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002998/0.1182, allocations: 20 kB / 422.6 MB, free: 1.391 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.1183, allocations: 84.3 kB / 422.7 MB, free: 1.305 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.849e-05/0.1183, allocations: 47.97 kB / 422.7 MB, free: 1.258 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006283/0.119, allocations: 0.7626 MB / 423.5 MB, free: 488 kB / 394.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.119, allocations: 0 / 423.5 MB, free: 488 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.002446/0.1214, allocations: 1.055 MB / 424.5 MB, free: 15.41 MB / 410.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 (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.0002542/0.1217, allocations: 136 kB / 424.7 MB, free: 15.28 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002294/0.1239, allocations: 1.749 MB / 426.4 MB, free: 13.54 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.632e-05/0.124, allocations: 60.44 kB / 426.5 MB, free: 13.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002969/0.1243, allocations: 281.5 kB / 426.7 MB, free: 13.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006688/0.125, allocations: 218.6 kB / 426.9 MB, free: 12.99 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008159/0.1332, allocations: 6.646 MB / 433.6 MB, free: 6.172 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009401/0.1341, allocations: 1.065 MB / 434.7 MB, free: 5.082 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008613/0.135, allocations: 358.4 kB / 435 MB, free: 4.727 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000463/0.1354, allocations: 363.3 kB / 435.4 MB, free: 4.371 MB / 410.7 MB Notification: Performance of SimCode: time 2.184e-06/0.1354, allocations: 0 / 435.4 MB, free: 4.371 MB / 410.7 MB Notification: Performance of Templates: time 0.02935/0.1648, allocations: 15.5 MB / 450.9 MB, free: 5.07 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/FixedTranslation/FixedTranslation.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.61865924205631]