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.001143/0.001143, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.001015/0.001015, allocations: 161 kB / 24.56 MB, free: 8 kB / 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.9881/0.9881, allocations: 177.1 MB / 205 MB, free: 5.598 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.3214/0.3214, allocations: 32.8 MB / 294.3 MB, free: 1.25 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 6.412e-06/6.412e-06, allocations: 0 / 376 MB, free: 4.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.736e-05/3.377e-05, allocations: 6.312 kB / 376 MB, free: 4.664 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01288/0.01292, allocations: 10.96 MB / 387 MB, free: 9.648 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006392/0.01931, allocations: 2.803 MB / 389.8 MB, free: 6.836 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001216/0.02052, allocations: 59.81 kB / 389.8 MB, free: 6.777 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002797/0.02332, allocations: 1.409 MB / 391.2 MB, free: 5.363 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002525/0.02585, allocations: 1.326 MB / 392.6 MB, free: 4.031 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000302/0.02615, allocations: 83.78 kB / 392.6 MB, free: 3.949 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003268/0.02942, allocations: 2.817 MB / 395.5 MB, free: 1.125 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002243/0.03166, allocations: 1.686 MB / 397.1 MB, free: 15.41 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002349/0.03401, allocations: 1.566 MB / 398.7 MB, free: 13.84 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002204/0.03621, allocations: 1.554 MB / 400.3 MB, free: 12.28 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000466/0.03668, allocations: 208 kB / 400.5 MB, free: 12.07 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009618/0.03764, allocations: 467.4 kB / 400.9 MB, free: 11.62 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001381/0.03902, allocations: 1.519 MB / 402.4 MB, free: 10.09 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001063/0.04008, allocations: 0.8716 MB / 403.3 MB, free: 9.219 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004119/0.0442, allocations: 3.396 MB / 406.7 MB, free: 5.809 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.04421, allocations: 4 kB / 406.7 MB, free: 5.805 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.04421, allocations: 0 / 406.7 MB, free: 5.805 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.038e-05/0.0443, allocations: 0 / 406.7 MB, free: 5.805 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.00404/0.04834, allocations: 4.05 MB / 410.8 MB, free: 1.691 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.04838, allocations: 8.031 kB / 410.8 MB, free: 1.684 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005987/0.05437, allocations: 3.481 MB / 414.2 MB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001923/0.05629, allocations: 1.474 MB / 415.7 MB, free: 12.69 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.829e-05/0.05639, allocations: 176.6 kB / 415.9 MB, free: 12.51 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002853/0.05668, allocations: 224.1 kB / 416.1 MB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005424/0.0621, allocations: 4.893 MB / 421 MB, free: 6.809 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.545e-05/0.06215, allocations: 27.75 kB / 421 MB, free: 6.781 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002171/0.06236, allocations: 107.8 kB / 421.1 MB, free: 6.676 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002146/0.06451, allocations: 2.435 MB / 423.6 MB, free: 4.234 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005342/0.06985, allocations: 2.835 MB / 426.4 MB, free: 1.387 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2407/0.3105, allocations: 31.21 MB / 457.6 MB, free: 71.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002439/0.313, allocations: 1.115 MB / 458.7 MB, free: 71.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003922/0.3134, allocations: 261.3 kB / 459 MB, free: 71.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.66e-05/0.3134, allocations: 26.41 kB / 459 MB, free: 71.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.3134, allocations: 50.48 kB / 459.1 MB, free: 71.06 MB / 410.7 MB Notification: Performance of pre-optimization done (n=148): time 5.4e-06/0.3135, allocations: 0 / 459.1 MB, free: 71.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=148): time 0.003577/0.317, allocations: 1.77 MB / 460.8 MB, free: 70.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.3171, allocations: 66.03 kB / 460.9 MB, free: 70.85 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002641/0.3197, allocations: 2.543 MB / 463.4 MB, free: 70.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.537e-05/0.3198, allocations: 43.39 kB / 463.5 MB, free: 70.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001314/0.3211, allocations: 2.949 MB / 466.4 MB, free: 68.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004122/0.3215, allocations: 0.6166 MB / 467.1 MB, free: 68.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008627/0.3224, allocations: 1.06 MB / 468.1 MB, free: 68.42 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.588e-05/0.3224, allocations: 0.5159 MB / 468.6 MB, free: 67.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008166/0.3233, allocations: 492.2 kB / 469.1 MB, free: 67.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00212/0.3254, allocations: 4.82 MB / 473.9 MB, free: 62.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004211/0.3296, allocations: 5.849 MB / 479.8 MB, free: 55.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001041/0.3297, allocations: 32.28 kB / 479.8 MB, free: 55.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.005602/0.3353, allocations: 3.98 MB / 483.8 MB, free: 54.37 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.132e-05/0.3354, allocations: 50 kB / 483.8 MB, free: 54.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001183/0.3355, allocations: 102.8 kB / 483.9 MB, free: 54.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001218/0.3356, allocations: 139.7 kB / 484.1 MB, free: 54.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001822/0.3374, allocations: 1.061 MB / 485.1 MB, free: 54.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001113/0.3375, allocations: 204.2 kB / 485.3 MB, free: 54.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002042/0.3396, allocations: 0.6364 MB / 486 MB, free: 53.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002957/0.3399, allocations: 300.8 kB / 486.3 MB, free: 53.74 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.001354/0.3412, allocations: 0.5398 MB / 486.8 MB, free: 53.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002818/0.3415, allocations: 264.1 kB / 487.1 MB, free: 53.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002289/0.3417, allocations: 245.7 kB / 487.3 MB, free: 52.99 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.341e-05/0.3418, allocations: 17.78 kB / 487.3 MB, free: 52.99 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.021e-05/0.3418, allocations: 3.938 kB / 487.3 MB, free: 52.99 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.3418, allocations: 6.422 kB / 487.3 MB, free: 52.99 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006233/0.348, allocations: 4.341 MB / 491.7 MB, free: 50.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/0.348, allocations: 6.531 kB / 491.7 MB, free: 50.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004917/0.3485, allocations: 181.1 kB / 491.9 MB, free: 50.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.92e-05/0.3485, allocations: 10.5 kB / 491.9 MB, free: 50.92 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.746e-05/0.3486, allocations: 33.16 kB / 491.9 MB, free: 50.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.811e-05/0.3486, allocations: 22.69 kB / 491.9 MB, free: 50.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-06/0.3486, allocations: 10.56 kB / 491.9 MB, free: 50.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001491/0.3501, allocations: 1.281 MB / 493.2 MB, free: 50.03 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003489/0.3505, allocations: 232 kB / 493.4 MB, free: 49.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/0.3506, allocations: 28.14 kB / 493.5 MB, free: 49.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003453/0.351, allocations: 50.77 kB / 493.5 MB, free: 49.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/0.3511, allocations: 85.94 kB / 493.6 MB, free: 49.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.706e-05/0.3512, allocations: 50.95 kB / 493.7 MB, free: 49.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001321/0.3525, allocations: 1.049 MB / 494.7 MB, free: 49.42 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3525, allocations: 0 / 494.7 MB, free: 49.42 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003597/0.3561, allocations: 1.058 MB / 495.8 MB, free: 49.07 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.0003744/0.3565, allocations: 164 kB / 495.9 MB, free: 48.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003745/0.3602, allocations: 2.057 MB / 498 MB, free: 48.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.268e-06/0.3602, allocations: 1.281 kB / 498 MB, free: 48.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005425/0.3608, allocations: 366.2 kB / 498.3 MB, free: 48.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.3618, allocations: 207.8 kB / 498.5 MB, free: 48.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009561/0.3714, allocations: 6.441 MB / 0.4931 GB, free: 44.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008837/0.3722, allocations: 1.079 MB / 0.4942 GB, free: 44.39 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001869/0.3741, allocations: 1.416 MB / 0.4956 GB, free: 44.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003228/0.3744, allocations: 161.5 kB / 0.4957 GB, free: 44.26 MB / 410.7 MB Notification: Performance of SimCode: time 2.334e-06/0.3744, allocations: 0 / 0.4957 GB, free: 44.26 MB / 410.7 MB Notification: Performance of Templates: time 0.02914/0.4036, allocations: 14.18 MB / 0.5096 GB, free: 38.92 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.047963791992515]