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.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.001194/0.001194, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.00424/0.00424, allocations: 171.2 kB / 24.82 MB, free: 9.27 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 1.038/1.038, allocations: 177.1 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.317/0.317, allocations: 32.81 MB / 294.6 MB, free: 1.23 MB / 266.7 MB " [Timeout remaining time 180] 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.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.0.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.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 376.5 MB, free: 4.418 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.954e-05/3.104e-05, allocations: 2.312 kB / 376.5 MB, free: 4.414 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.00794/0.007971, allocations: 10.68 MB / 387.1 MB, free: 9.672 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004967/0.01294, allocations: 2.768 MB / 389.9 MB, free: 6.895 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001572/0.01451, allocations: 63.81 kB / 390 MB, free: 6.832 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00209/0.0166, allocations: 1.397 MB / 391.4 MB, free: 5.43 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002737/0.01934, allocations: 1.326 MB / 392.7 MB, free: 4.098 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002559/0.01959, allocations: 75.84 kB / 392.8 MB, free: 4.023 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002701/0.02229, allocations: 2.825 MB / 395.6 MB, free: 1.191 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00179/0.02408, allocations: 1.69 MB / 397.3 MB, free: 15.47 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0018/0.02588, allocations: 1.57 MB / 398.9 MB, free: 13.89 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001605/0.02749, allocations: 1.551 MB / 400.4 MB, free: 12.34 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003513/0.02784, allocations: 204 kB / 400.6 MB, free: 12.14 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007758/0.02862, allocations: 471.4 kB / 401.1 MB, free: 11.68 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009298/0.02955, allocations: 1.519 MB / 402.6 MB, free: 10.16 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007564/0.0303, allocations: 0.8638 MB / 403.5 MB, free: 9.289 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002766/0.03307, allocations: 3.4 MB / 406.9 MB, free: 5.875 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.03307, allocations: 0 / 406.9 MB, free: 5.875 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.03307, allocations: 0 / 406.9 MB, free: 5.875 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.635e-05/0.03314, allocations: 0 / 406.9 MB, free: 5.875 MB / 378.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.00363/0.03677, allocations: 4.049 MB / 410.9 MB, free: 1.762 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.03682, allocations: 12.03 kB / 410.9 MB, free: 1.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003827/0.04064, allocations: 1.699 MB / 412.6 MB, free: 48 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001676/0.04232, allocations: 1.302 MB / 413.9 MB, free: 14.71 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.608e-05/0.04241, allocations: 176.6 kB / 414.1 MB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002458/0.04265, allocations: 220.1 kB / 414.3 MB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005521/0.04817, allocations: 4.498 MB / 418.8 MB, free: 9.23 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.764e-05/0.04822, allocations: 31.73 kB / 418.8 MB, free: 9.199 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002163/0.04844, allocations: 111.8 kB / 418.9 MB, free: 9.09 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002316/0.05075, allocations: 2.131 MB / 421.1 MB, free: 6.953 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00559/0.05634, allocations: 2.292 MB / 423.4 MB, free: 4.641 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2212/0.2776, allocations: 30.88 MB / 454.2 MB, free: 62.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005615/0.2832, allocations: 1.031 MB / 455.3 MB, free: 62.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003589/0.2835, allocations: 230 kB / 455.5 MB, free: 62.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.78e-05/0.2836, allocations: 25.36 kB / 455.5 MB, free: 62.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.2836, allocations: 50.11 kB / 455.6 MB, free: 62.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=148): time 4.368e-06/0.2836, allocations: 3.594 kB / 455.6 MB, free: 62.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=148): time 0.01015/0.2938, allocations: 1.678 MB / 457.3 MB, free: 62.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.2938, allocations: 62.19 kB / 457.3 MB, free: 62.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005682/0.2995, allocations: 2.514 MB / 459.8 MB, free: 61.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001074/0.2996, allocations: 45.39 kB / 459.9 MB, free: 61.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001331/0.3009, allocations: 2.954 MB / 462.8 MB, free: 60.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004591/0.3014, allocations: 0.6214 MB / 463.4 MB, free: 59.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003715/0.3051, allocations: 1.069 MB / 464.5 MB, free: 59.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.3052, allocations: 0.5232 MB / 465 MB, free: 59.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006242/0.3058, allocations: 385.3 kB / 465.4 MB, free: 59.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00186/0.3077, allocations: 4.735 MB / 470.1 MB, free: 53.65 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00338/0.3111, allocations: 5.733 MB / 475.9 MB, free: 47.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.18e-05/0.3111, allocations: 32.38 kB / 475.9 MB, free: 47.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.004172/0.3153, allocations: 3.705 MB / 479.6 MB, free: 47.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.856e-05/0.3154, allocations: 49.25 kB / 479.7 MB, free: 47.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000103/0.3155, allocations: 103.3 kB / 479.8 MB, free: 47.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001235/0.3156, allocations: 139.7 kB / 479.9 MB, free: 47.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00173/0.3173, allocations: 1.035 MB / 480.9 MB, free: 47.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001188/0.3174, allocations: 202.7 kB / 481.1 MB, free: 47.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/0.3191, allocations: 0.6195 MB / 481.8 MB, free: 47.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002318/0.3194, allocations: 256.2 kB / 482 MB, free: 47.11 MB / 410.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.001221/0.3206, allocations: 0.541 MB / 482.5 MB, free: 46.78 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002552/0.3209, allocations: 269.1 kB / 482.8 MB, free: 46.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002239/0.3211, allocations: 244.4 kB / 483 MB, free: 46.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.737e-05/0.3211, allocations: 20.91 kB / 483.1 MB, free: 46.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.758e-05/0.3211, allocations: 3.125 kB / 483.1 MB, free: 46.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.3211, allocations: 6.656 kB / 483.1 MB, free: 46.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004313/0.3254, allocations: 3.221 MB / 486.3 MB, free: 45.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/0.3255, allocations: 6.5 kB / 486.3 MB, free: 45.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003741/0.3258, allocations: 160 kB / 486.5 MB, free: 45.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.65e-05/0.3258, allocations: 15.88 kB / 486.5 MB, free: 45.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.684e-05/0.3259, allocations: 35.84 kB / 486.5 MB, free: 45.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.087e-05/0.3259, allocations: 10.86 kB / 486.5 MB, free: 45.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.3259, allocations: 10.34 kB / 486.5 MB, free: 45.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.327, allocations: 1.23 MB / 487.8 MB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003103/0.3273, allocations: 228.9 kB / 488 MB, free: 44.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001667/0.3275, allocations: 27.53 kB / 488 MB, free: 44.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003152/0.3278, allocations: 28.64 kB / 488 MB, free: 44.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.677e-05/0.3279, allocations: 83.19 kB / 488.1 MB, free: 44.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.418e-05/0.328, allocations: 40.94 kB / 488.2 MB, free: 44.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008816/0.3288, allocations: 0.9715 MB / 489.1 MB, free: 44.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3288, allocations: 0 / 489.1 MB, free: 44.31 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002859/0.3317, allocations: 1.056 MB / 490.2 MB, free: 43.96 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.0002798/0.332, allocations: 161.8 kB / 490.3 MB, free: 43.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002581/0.3346, allocations: 1.928 MB / 492.3 MB, free: 43.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.3346, allocations: 1.312 kB / 492.3 MB, free: 43.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003892/0.335, allocations: 334.2 kB / 492.6 MB, free: 43.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000783/0.3357, allocations: 223.6 kB / 492.8 MB, free: 43.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/0.346, allocations: 6.425 MB / 499.2 MB, free: 39.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001054/0.347, allocations: 1.082 MB / 0.4886 GB, free: 39.44 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001048/0.3481, allocations: 359 kB / 0.4889 GB, free: 39.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004706/0.3485, allocations: 393.4 kB / 0.4893 GB, free: 39.25 MB / 410.7 MB Notification: Performance of SimCode: time 1.794e-06/0.3485, allocations: 0 / 0.4893 GB, free: 39.25 MB / 410.7 MB Notification: Performance of Templates: time 0.02948/0.378, allocations: 15.53 MB / 0.5045 GB, free: 36.41 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.052746292669326]