Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001417/0.001417, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 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.001669/0.001669, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 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 0.9768/0.9768, allocations: 177 MB / 204.8 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.267/0.267, allocations: 34.86 MB / 296.3 MB, free: 0.5391 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.[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_trunk_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_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 378.8 MB, free: 2.105 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.884e-05/2.038e-05, allocations: 2.312 kB / 378.8 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01915/0.01917, allocations: 10.95 MB / 389.7 MB, free: 7.098 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005831/0.025, allocations: 2.807 MB / 392.5 MB, free: 4.281 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005787/0.02558, allocations: 67.81 kB / 392.6 MB, free: 4.215 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00155/0.02713, allocations: 1.405 MB / 394 MB, free: 2.805 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001457/0.02858, allocations: 1.33 MB / 395.3 MB, free: 1.469 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002503/0.02883, allocations: 83.77 kB / 395.4 MB, free: 1.387 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002825/0.03166, allocations: 2.821 MB / 398.2 MB, free: 14.55 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002061/0.03372, allocations: 1.682 MB / 399.9 MB, free: 12.84 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001979/0.0357, allocations: 1.566 MB / 401.5 MB, free: 11.27 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002211/0.03791, allocations: 1.551 MB / 403 MB, free: 9.715 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006913/0.0386, allocations: 204 kB / 403.2 MB, free: 9.516 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008474/0.03945, allocations: 475.3 kB / 403.7 MB, free: 9.051 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001272/0.04072, allocations: 1.511 MB / 405.2 MB, free: 7.535 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001034/0.04176, allocations: 0.8754 MB / 406.1 MB, free: 6.656 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00348/0.04524, allocations: 3.4 MB / 409.5 MB, free: 3.242 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.04524, allocations: 3.938 kB / 409.5 MB, free: 3.238 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.04524, allocations: 0 / 409.5 MB, free: 3.238 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.778e-05/0.04532, allocations: 0 / 409.5 MB, free: 3.238 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.005113/0.05043, allocations: 4.046 MB / 413.5 MB, free: 15.13 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.05048, allocations: 8.031 kB / 413.5 MB, free: 15.12 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008401/0.05888, allocations: 3.485 MB / 417 MB, free: 11.63 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002423/0.0613, allocations: 1.466 MB / 418.5 MB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001236/0.06142, allocations: 172.7 kB / 418.6 MB, free: 9.953 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003737/0.0618, allocations: 220.2 kB / 418.9 MB, free: 9.738 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007175/0.06897, allocations: 4.905 MB / 423.8 MB, free: 4.246 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.584e-05/0.06903, allocations: 23.75 kB / 423.8 MB, free: 4.223 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003018/0.06933, allocations: 115.8 kB / 423.9 MB, free: 4.109 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003371/0.0727, allocations: 2.432 MB / 426.3 MB, free: 1.672 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007404/0.0801, allocations: 2.845 MB / 429.2 MB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1772/0.2573, allocations: 31.21 MB / 460.4 MB, free: 69.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002097/0.2594, allocations: 1.108 MB / 461.5 MB, free: 69.26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003408/0.2598, allocations: 269.2 kB / 461.8 MB, free: 69.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.489e-05/0.2598, allocations: 23.06 kB / 461.8 MB, free: 69.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.2598, allocations: 45.36 kB / 461.8 MB, free: 69.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=148): time 3.166e-06/0.2598, allocations: 0.9375 kB / 461.8 MB, free: 69.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=148): time 0.003152/0.263, allocations: 1.774 MB / 463.6 MB, free: 69.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/0.263, allocations: 71.44 kB / 463.7 MB, free: 68.94 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001898/0.2649, allocations: 2.537 MB / 466.2 MB, free: 68.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.842e-05/0.2649, allocations: 40.36 kB / 466.2 MB, free: 68.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009531/0.2659, allocations: 2.947 MB / 469.2 MB, free: 66.97 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000294/0.2662, allocations: 0.6147 MB / 469.8 MB, free: 66.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007201/0.2669, allocations: 1.062 MB / 470.9 MB, free: 66.17 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.687e-05/0.267, allocations: 0.5177 MB / 471.4 MB, free: 65.67 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006854/0.2677, allocations: 493.4 kB / 471.9 MB, free: 65.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001611/0.2693, allocations: 4.813 MB / 476.7 MB, free: 59.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002973/0.2723, allocations: 5.857 MB / 482.5 MB, free: 53.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.877e-05/0.2723, allocations: 33 kB / 482.6 MB, free: 53.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.003987/0.2763, allocations: 3.987 MB / 486.6 MB, free: 51.83 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.781e-05/0.2763, allocations: 47.84 kB / 486.6 MB, free: 51.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.573e-05/0.2764, allocations: 104.6 kB / 486.7 MB, free: 51.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.884e-05/0.2765, allocations: 135.7 kB / 486.8 MB, free: 51.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001599/0.2781, allocations: 1.055 MB / 487.9 MB, free: 51.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001018/0.2782, allocations: 203.2 kB / 488.1 MB, free: 51.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/0.2797, allocations: 0.6441 MB / 488.7 MB, free: 51.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002325/0.28, allocations: 295.7 kB / 489 MB, free: 51.2 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.0007633/0.2807, allocations: 0.5401 MB / 489.6 MB, free: 50.76 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001775/0.2809, allocations: 265.1 kB / 489.8 MB, free: 50.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001991/0.2811, allocations: 248.3 kB / 490.1 MB, free: 50.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.758e-05/0.2811, allocations: 17.3 kB / 490.1 MB, free: 50.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.404e-05/0.2811, allocations: 6.812 kB / 490.1 MB, free: 50.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.2811, allocations: 10.02 kB / 490.1 MB, free: 50.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004752/0.2859, allocations: 4.333 MB / 494.4 MB, free: 48.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.784e-06/0.2859, allocations: 9.719 kB / 494.4 MB, free: 48.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003979/0.2863, allocations: 179.3 kB / 494.6 MB, free: 48.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.244e-05/0.2863, allocations: 11.5 kB / 494.6 MB, free: 48.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.071e-05/0.2864, allocations: 27.41 kB / 494.7 MB, free: 48.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.191e-05/0.2864, allocations: 15.09 kB / 494.7 MB, free: 48.37 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.396e-06/0.2864, allocations: 11.19 kB / 494.7 MB, free: 48.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.2876, allocations: 1.298 MB / 496 MB, free: 47.49 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001659/0.2877, allocations: 236.4 kB / 496.2 MB, free: 47.33 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001381/0.2879, allocations: 30.12 kB / 496.2 MB, free: 47.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003249/0.2882, allocations: 42.56 kB / 496.3 MB, free: 47.31 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.2883, allocations: 84.16 kB / 496.4 MB, free: 47.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.286e-05/0.2884, allocations: 52.75 kB / 496.4 MB, free: 47.28 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001042/0.2894, allocations: 1.049 MB / 497.5 MB, free: 46.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2894, allocations: 0 / 497.5 MB, free: 46.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002319/0.2917, allocations: 1.052 MB / 498.5 MB, free: 46.54 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.0003237/0.2921, allocations: 161.3 kB / 498.7 MB, free: 46.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002344/0.2944, allocations: 2.063 MB / 0.489 GB, free: 45.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.2944, allocations: 1.375 kB / 0.489 GB, free: 45.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003929/0.2948, allocations: 362 kB / 0.4893 GB, free: 45.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006861/0.2955, allocations: 215.3 kB / 0.4895 GB, free: 45.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006305/0.3018, allocations: 6.432 MB / 0.4958 GB, free: 42.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000756/0.3025, allocations: 1.085 MB / 0.4969 GB, free: 41.85 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001615/0.3042, allocations: 1.411 MB / 0.4983 GB, free: 41.74 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002644/0.3044, allocations: 165.3 kB / 0.4984 GB, free: 41.72 MB / 410.7 MB Notification: Performance of SimCode: time 1.172e-06/0.3044, allocations: 0 / 0.4984 GB, free: 41.72 MB / 410.7 MB Notification: Performance of Templates: time 0.02426/0.3287, allocations: 14.15 MB / 0.5122 GB, free: 35.84 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.825511887203902]