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.001193/0.001193, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.001025/0.001025, allocations: 166.4 kB / 24.82 MB, free: 9.266 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.061/1.061, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2713/0.2713, allocations: 34.27 MB / 296.1 MB, free: 0.7148 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 1.643e-06/1.643e-06, allocations: 0 / 378.5 MB, free: 2.406 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.403e-05/1.567e-05, allocations: 6.25 kB / 378.5 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.00765/0.007665, allocations: 10.67 MB / 389.2 MB, free: 7.676 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003812/0.01148, allocations: 2.78 MB / 391.9 MB, free: 4.887 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00056/0.01204, allocations: 63.81 kB / 392 MB, free: 4.824 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002081/0.01412, allocations: 1.393 MB / 393.4 MB, free: 3.426 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0017/0.01582, allocations: 1.334 MB / 394.7 MB, free: 2.086 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001936/0.01601, allocations: 79.78 kB / 394.8 MB, free: 2.008 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002069/0.01808, allocations: 2.822 MB / 397.6 MB, free: 15.18 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001299/0.01938, allocations: 1.686 MB / 399.3 MB, free: 13.46 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001622/0.021, allocations: 1.566 MB / 400.9 MB, free: 11.89 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001424/0.02242, allocations: 1.554 MB / 402.4 MB, free: 10.33 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002392/0.02266, allocations: 204 kB / 402.6 MB, free: 10.13 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006452/0.02331, allocations: 471.4 kB / 403.1 MB, free: 9.672 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009652/0.02427, allocations: 1.519 MB / 404.6 MB, free: 8.148 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006874/0.02496, allocations: 0.8716 MB / 405.5 MB, free: 7.273 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002988/0.02795, allocations: 3.392 MB / 408.9 MB, free: 3.867 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.02795, allocations: 0 / 408.9 MB, free: 3.867 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.02795, allocations: 0 / 408.9 MB, free: 3.867 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.541e-05/0.02798, allocations: 0 / 408.9 MB, free: 3.867 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.003893/0.03187, allocations: 4.053 MB / 412.9 MB, free: 15.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.03191, allocations: 12.03 kB / 412.9 MB, free: 15.74 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00521/0.03712, allocations: 1.695 MB / 414.6 MB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00158/0.0387, allocations: 1.31 MB / 415.9 MB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/0.03881, allocations: 172.6 kB / 416.1 MB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003303/0.03914, allocations: 220.2 kB / 416.3 MB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004993/0.04413, allocations: 4.498 MB / 420.8 MB, free: 7.219 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.636e-05/0.04418, allocations: 23.75 kB / 420.8 MB, free: 7.195 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000532/0.04471, allocations: 111.8 kB / 421 MB, free: 7.086 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002399/0.04711, allocations: 2.135 MB / 423.1 MB, free: 4.945 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003931/0.05104, allocations: 2.3 MB / 425.4 MB, free: 2.629 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2251/0.2761, allocations: 30.87 MB / 456.3 MB, free: 71.49 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001817/0.278, allocations: 1.029 MB / 457.3 MB, free: 71.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002515/0.2782, allocations: 231.6 kB / 457.5 MB, free: 71.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.23e-05/0.2783, allocations: 19.16 kB / 457.5 MB, free: 71.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.2783, allocations: 47.77 kB / 457.6 MB, free: 71.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=148): time 3.396e-06/0.2783, allocations: 4.516 kB / 457.6 MB, free: 71.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=148): time 0.002799/0.2811, allocations: 1.681 MB / 459.3 MB, free: 71.26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.398e-05/0.2811, allocations: 63.41 kB / 459.3 MB, free: 71.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001702/0.2828, allocations: 2.518 MB / 461.9 MB, free: 70.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.31e-05/0.2828, allocations: 41.83 kB / 461.9 MB, free: 70.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001101/0.2839, allocations: 2.956 MB / 464.8 MB, free: 69.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003051/0.2843, allocations: 0.6178 MB / 465.5 MB, free: 68.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007841/0.285, allocations: 1.076 MB / 466.5 MB, free: 68.65 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.501e-05/0.2851, allocations: 0.5272 MB / 467.1 MB, free: 68.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00043/0.2856, allocations: 379.4 kB / 467.4 MB, free: 68.13 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001531/0.2871, allocations: 4.736 MB / 472.2 MB, free: 62.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002916/0.29, allocations: 5.732 MB / 477.9 MB, free: 56.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-05/0.29, allocations: 28.75 kB / 477.9 MB, free: 56.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.003317/0.2934, allocations: 3.713 MB / 481.6 MB, free: 55.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.287e-05/0.2934, allocations: 52.69 kB / 481.7 MB, free: 55.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-05/0.2935, allocations: 105.2 kB / 481.8 MB, free: 55.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.303e-05/0.2936, allocations: 134.1 kB / 481.9 MB, free: 55.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/0.295, allocations: 1.035 MB / 483 MB, free: 55.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.338e-05/0.2951, allocations: 203.3 kB / 483.2 MB, free: 55.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/0.2965, allocations: 0.6214 MB / 483.8 MB, free: 54.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002216/0.2968, allocations: 257.5 kB / 484 MB, free: 54.77 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.0006563/0.2974, allocations: 0.5438 MB / 484.6 MB, free: 54.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001799/0.2976, allocations: 261.5 kB / 484.8 MB, free: 54.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002055/0.2978, allocations: 245.2 kB / 485.1 MB, free: 54.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.75e-05/0.2978, allocations: 18.38 kB / 485.1 MB, free: 54.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.387e-06/0.2978, allocations: 0 / 485.1 MB, free: 54.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.2978, allocations: 6.469 kB / 485.1 MB, free: 54.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003248/0.3011, allocations: 3.224 MB / 488.3 MB, free: 52.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.3011, allocations: 6.375 kB / 488.3 MB, free: 52.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003089/0.3014, allocations: 158.7 kB / 488.5 MB, free: 52.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.3014, allocations: 13.62 kB / 488.5 MB, free: 52.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.741e-05/0.3014, allocations: 35.62 kB / 488.5 MB, free: 52.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/0.3014, allocations: 10.84 kB / 488.5 MB, free: 52.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.3014, allocations: 10.53 kB / 488.6 MB, free: 52.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009373/0.3024, allocations: 1.233 MB / 489.8 MB, free: 51.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001674/0.3026, allocations: 225.4 kB / 490 MB, free: 51.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/0.3027, allocations: 32.61 kB / 490 MB, free: 51.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002809/0.303, allocations: 21.56 kB / 490.1 MB, free: 51.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.64e-05/0.303, allocations: 83.36 kB / 490.1 MB, free: 51.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.648e-05/0.3031, allocations: 40.66 kB / 490.2 MB, free: 51.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008354/0.3039, allocations: 0.9734 MB / 491.2 MB, free: 50.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3039, allocations: 3.938 kB / 491.2 MB, free: 50.87 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002355/0.3063, allocations: 1.063 MB / 492.2 MB, free: 50.52 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.0002424/0.3065, allocations: 157.6 kB / 492.4 MB, free: 50.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001985/0.3085, allocations: 1.921 MB / 494.3 MB, free: 49.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.3085, allocations: 2.188 kB / 494.3 MB, free: 49.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003674/0.3089, allocations: 337.6 kB / 494.6 MB, free: 49.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006822/0.3096, allocations: 219.1 kB / 494.8 MB, free: 49.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007512/0.3171, allocations: 6.417 MB / 0.4895 GB, free: 46.26 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008917/0.318, allocations: 1.084 MB / 0.4906 GB, free: 45.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007491/0.3187, allocations: 358.9 kB / 0.4909 GB, free: 45.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005557/0.3193, allocations: 394 kB / 0.4913 GB, free: 45.71 MB / 410.7 MB Notification: Performance of SimCode: time 9.42e-07/0.3193, allocations: 0 / 0.4913 GB, free: 45.71 MB / 410.7 MB Notification: Performance of Templates: time 0.02902/0.3483, allocations: 15.54 MB / 0.5065 GB, free: 40.58 MB / 410.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 -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: 4.030584303662181]