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.0009786/0.0009786, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.00433/0.00433, allocations: 170 kB / 24.82 MB, free: 9.254 MB / 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 1.031/1.031, allocations: 177 MB / 205.1 MB, free: 5.496 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.2749/0.2749, allocations: 34.86 MB / 296.6 MB, free: 0.5 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.613e-06/1.613e-06, allocations: 0 / 379.2 MB, free: 1.867 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.503e-05, allocations: 2.312 kB / 379.2 MB, free: 1.863 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.023/0.02303, allocations: 10.68 MB / 389.9 MB, free: 7.129 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01256/0.03559, allocations: 2.776 MB / 392.7 MB, free: 4.344 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003859/0.03945, allocations: 67.81 kB / 392.7 MB, free: 4.277 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002791/0.04224, allocations: 1.393 MB / 394.1 MB, free: 2.879 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002819/0.04506, allocations: 1.334 MB / 395.5 MB, free: 1.539 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003651/0.04543, allocations: 75.84 kB / 395.5 MB, free: 1.465 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002656/0.04808, allocations: 2.825 MB / 398.4 MB, free: 14.64 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001712/0.04979, allocations: 1.682 MB / 400 MB, free: 12.92 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001789/0.05158, allocations: 1.57 MB / 401.6 MB, free: 11.35 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001446/0.05303, allocations: 1.551 MB / 403.2 MB, free: 9.793 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002678/0.0533, allocations: 204 kB / 403.4 MB, free: 9.594 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007265/0.05402, allocations: 475.3 kB / 403.8 MB, free: 9.129 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009413/0.05496, allocations: 1.511 MB / 405.3 MB, free: 7.613 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000837/0.0558, allocations: 0.8716 MB / 406.2 MB, free: 6.738 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002844/0.05864, allocations: 3.396 MB / 409.6 MB, free: 3.328 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.05865, allocations: 0 / 409.6 MB, free: 3.328 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.05865, allocations: 0 / 409.6 MB, free: 3.328 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.493e-05/0.05873, allocations: 0 / 409.6 MB, free: 3.328 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.004114/0.06284, allocations: 4.057 MB / 413.7 MB, free: 15.21 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.06289, allocations: 8.031 kB / 413.7 MB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003919/0.06681, allocations: 1.699 MB / 415.4 MB, free: 13.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001969/0.06878, allocations: 1.302 MB / 416.7 MB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-05/0.06887, allocations: 172.6 kB / 416.8 MB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002748/0.06915, allocations: 224.2 kB / 417.1 MB, free: 11.77 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005762/0.07491, allocations: 4.494 MB / 421.5 MB, free: 6.684 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.216e-05/0.07496, allocations: 31.73 kB / 421.6 MB, free: 6.652 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002118/0.07517, allocations: 115.8 kB / 421.7 MB, free: 6.539 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00193/0.07711, allocations: 2.135 MB / 423.8 MB, free: 4.398 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005217/0.08232, allocations: 2.289 MB / 426.1 MB, free: 2.09 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2104/0.2927, allocations: 30.88 MB / 457 MB, free: 71.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001955/0.2947, allocations: 1.034 MB / 458 MB, free: 71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002795/0.295, allocations: 229.9 kB / 458.2 MB, free: 70.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.785e-05/0.295, allocations: 22.88 kB / 458.3 MB, free: 70.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.295, allocations: 47.27 kB / 458.3 MB, free: 70.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=148): time 3.607e-06/0.295, allocations: 2.625 kB / 458.3 MB, free: 70.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=148): time 0.003071/0.2981, allocations: 1.676 MB / 460 MB, free: 70.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/0.2981, allocations: 68.41 kB / 460.1 MB, free: 70.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00185/0.3, allocations: 2.509 MB / 462.6 MB, free: 70.28 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.582e-05/0.3, allocations: 48.48 kB / 462.6 MB, free: 70.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001101/0.3011, allocations: 2.952 MB / 465.6 MB, free: 68.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003384/0.3015, allocations: 0.626 MB / 466.2 MB, free: 68.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008416/0.3023, allocations: 1.069 MB / 467.3 MB, free: 68.17 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.141e-05/0.3024, allocations: 0.5241 MB / 467.8 MB, free: 67.67 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004599/0.3029, allocations: 383.8 kB / 468.2 MB, free: 67.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001751/0.3046, allocations: 4.738 MB / 472.9 MB, free: 61.94 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00317/0.3078, allocations: 5.736 MB / 478.6 MB, free: 56.03 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.231e-05/0.3078, allocations: 32.28 kB / 478.7 MB, free: 56.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.003552/0.3114, allocations: 3.695 MB / 482.4 MB, free: 54.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.763e-05/0.3114, allocations: 52.7 kB / 482.4 MB, free: 54.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.485e-05/0.3115, allocations: 104.2 kB / 482.5 MB, free: 54.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.139e-05/0.3116, allocations: 137.1 kB / 482.7 MB, free: 54.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001472/0.3131, allocations: 1.031 MB / 483.7 MB, free: 54.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.508e-05/0.3131, allocations: 211.5 kB / 483.9 MB, free: 54.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/0.3146, allocations: 0.6206 MB / 484.5 MB, free: 54.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000212/0.3149, allocations: 262.7 kB / 484.8 MB, free: 54.25 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.0008532/0.3157, allocations: 0.5336 MB / 485.3 MB, free: 53.81 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001864/0.3159, allocations: 266.5 kB / 485.6 MB, free: 53.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001944/0.3161, allocations: 243.8 kB / 485.8 MB, free: 53.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-05/0.3161, allocations: 19.75 kB / 485.8 MB, free: 53.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.257e-05/0.3161, allocations: 6.875 kB / 485.8 MB, free: 53.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.3161, allocations: 6.703 kB / 485.8 MB, free: 53.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00362/0.3197, allocations: 3.23 MB / 489.1 MB, free: 51.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.026e-06/0.3198, allocations: 5.719 kB / 489.1 MB, free: 51.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003221/0.3201, allocations: 153 kB / 489.2 MB, free: 51.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.068e-05/0.3201, allocations: 11.88 kB / 489.2 MB, free: 51.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.019e-05/0.3201, allocations: 27.66 kB / 489.3 MB, free: 51.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.067e-06/0.3201, allocations: 19.33 kB / 489.3 MB, free: 51.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.3201, allocations: 10.38 kB / 489.3 MB, free: 51.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.3212, allocations: 1.232 MB / 490.5 MB, free: 50.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001861/0.3214, allocations: 230.2 kB / 490.7 MB, free: 50.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/0.3215, allocations: 27.14 kB / 490.8 MB, free: 50.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002973/0.3218, allocations: 21.78 kB / 490.8 MB, free: 50.76 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.3219, allocations: 87.8 kB / 490.9 MB, free: 50.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.37e-05/0.322, allocations: 49.55 kB / 490.9 MB, free: 50.72 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000906/0.3229, allocations: 0.9718 MB / 491.9 MB, free: 50.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3229, allocations: 0 / 491.9 MB, free: 50.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002462/0.3253, allocations: 1.057 MB / 493 MB, free: 50 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.0002625/0.3256, allocations: 157.1 kB / 493.1 MB, free: 49.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00218/0.3278, allocations: 1.929 MB / 495 MB, free: 49.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.3278, allocations: 1.406 kB / 495 MB, free: 49.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003735/0.3282, allocations: 337.8 kB / 495.4 MB, free: 49.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007111/0.3289, allocations: 203.3 kB / 495.6 MB, free: 49.06 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008591/0.3375, allocations: 6.433 MB / 0.4902 GB, free: 45.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009639/0.3384, allocations: 1.081 MB / 0.4913 GB, free: 45.37 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008016/0.3392, allocations: 357.1 kB / 0.4916 GB, free: 45.26 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005223/0.3397, allocations: 391.8 kB / 0.492 GB, free: 45.19 MB / 410.7 MB Notification: Performance of SimCode: time 1.152e-06/0.3397, allocations: 0 / 0.492 GB, free: 45.19 MB / 410.7 MB Notification: Performance of Templates: time 0.02768/0.3674, allocations: 15.53 MB / 0.5072 GB, free: 40.06 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: 4.012636692263186]